← Back to team overview

kernel-packages team mailing list archive

[Bug 1306677] [NEW] [PPC64EL] kernel command line gets truncated at 512

 

Public bug reported:

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_

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ppc64el

** Summary changed:

- [PPC] kernel command line gets truncated at 512 
+ [PPC64EL] kernel command line gets truncated at 512

-- 
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:
  New

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


Follow ups

References