[OpenBIOS] [Qemu-devel] OpenBios in Sparc can't handle long kernel command lines.

Tarl Neustaedter tarl-b2 at tarl.net
Sat Mar 30 18:29:49 CET 2013


On 2013-Mar-28 15:20 , Mark Cave-Ayland wrote:
> [ command line limited to 80 bytes ]
> Would increasing it to 256 bytes be enough? I can't say I've ever come 
> across command lines in a normal environment with more than about 80 
> characters, but I don't see an issue with increasing it.

In openboot, we run into long command lines primarily when we do network 
boot - the arguments to network devices (particularly for things like 
iSCSI) can get absurdly long.

E.g.

ok boot 
/pci at 340/pci at 1/pci at 0/network at 5:iscsi-target-ip=179.182.226.103,iscsi-target-name=iqn.1986-03.com.sun:02:boot,host-ip=182.179.226.205,iscsi-port=3260,iscsi-lun=1,iscsi-partition=a,router-ip=182.179.226.254,subnet-mask=255.255.255.0

The above has an unusually short iscsi-target-name. Many iqn strings go 
over 80 bytes by themselves.



More information about the OpenBIOS mailing list