Fw: [Bugme-new] [Bug 9641] New: kexec userspace utilities cannot handle a kernel command line longer than 256 chars

Randy Dunlap rdunlap at xenotime.net
Wed Dec 26 21:15:41 EST 2007


Begin forwarded message:

Date: Wed, 26 Dec 2007 16:26:36 -0800 (PST)
From: bugme-daemon at bugzilla.kernel.org
To: bugme-new at lists.osdl.org
Subject: [Bugme-new] [Bug 9641] New: kexec userspace utilities cannot handle a kernel command line longer than 256 chars


http://bugzilla.kernel.org/show_bug.cgi?id=9641

           Summary: kexec userspace utilities cannot handle a kernel command
                    line longer than 256 chars
           Product: Other
           Version: 2.5
     KernelVersion: 2.6.23
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: other_other at kernel-bugs.osdl.org
        ReportedBy: bluebird at mnet-online.de


This doesn't affect the kernel but the userspace utilities from
http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/

Since 2.6.21 the maximum length of the kernel command line is 2048 for x86 and
x86_64 but the kexec-tools still assume it's 256 therefore a command line
longer than 256 chars is truncated upon kexec-reboot.

Steps to reproduce:
- Boot kernel with a command line longer than 256 chars
- cat /proc/cmdline | wc -c
- kexec-reboot
- cat /proc/cmdline | wc -c


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the kexec mailing list