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

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Wed Dec 26 16:26:36 PST 2007


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 the assignee for the bug, or are watching the assignee.


More information about the Bugme-janitors mailing list