Discussion:
[Fastboot] Fw: [Bugme-new] [Bug 9641] New: kexec userspace utilities cannot handle a kernel command line longer than 256 chars
Andrew Morton
2007-12-27 17:03:50 UTC
Permalink
Begin forwarded message:

Date: Wed, 26 Dec 2007 16:26:36 -0800 (PST)
From: bugme-***@bugzilla.kernel.org
To: bugme-***@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: ***@kernel-bugs.osdl.org
ReportedBy: ***@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.
Loading...