kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #54673
[Bug 1306677] Re: [PPC64EL] kernel command line gets truncated at 512
It looks like the size is set to 2048 under x86:
arch/x86/include/asm/setup.h: #define COMMAND_LINE_SIZE 2048
I'll built a powerpc test kernel with the COMMAND_LINE_SIZE increased to
2048 and post a link to it.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1306677
Title:
[PPC64EL] kernel command line gets truncated at 512
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
Booting the PPC64EL kernel the command line get truncated at 512
characters. This looks to be a hard limit defined in
arch/powerpc/boot/opts.h.
The MaaS project, needs to be able to provide a command line longer
than 512 characters, as iscsi targets and cloud-init parameters are
passed through the kernel command line.
Command line passed to kernel through grub:
nomodeset iscsi_target_name=iqn.2004-05.com.ubuntu:maas:ephemeral-ppc64el-generic-trusty-daily iscsi_target_ip=10.245.71.1 iscsi_target_port=3260 iscsi_initiator=maas-enlist ip=::::maas-enlist:BOOTIF ro root=/dev/disk/by-path/ip-10.245.71.1:3260-iscsi-iqn.2004-05.com.ubuntu:maas:ephemeral-ppc64el-generic-trusty-daily-lun-1 overlayroot=tmpfs cloud-config-url=http://10.245.71.1/MAAS/metadata/latest/enlist-preseed/?op=get_enlist_preseed log_host=10.245.71.1 log_port=514 -- console=hvc0,19200n8 console=hvc1,19200n8 console=ttyS1,19200n8 BOOTIF=01-4a:03:3e:b8:37:66
Command line truncated by the kernel:
BOOT_IMAGE=ppc64el/generic/trusty/daily/boot-kernel nomodeset iscsi_target_name=iqn.2004-05.com.ubuntu:maas:ephemeral-amd64-generic-trusty-daily iscsi_target_ip=10.245.71.1 iscsi_target_port=3260 iscsi_initiator=maas-enlist ip=::::maas-enlist:BOOTIF ro root=/dev/disk/by-path/ip-10.245.71.1:3260-iscsi-iqn.2004-05.com.ubuntu:maas:ephemeral-amd64-generic-trusty-daily-lun-1 overlayroot=tmpfs cloud-config-url=http://10.245.71.1/MAAS/metadata/latest/enlist-preseed/?op=get_enlist_preseed log_host=10.245.71.1 log_
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1306677/+subscriptions
References