When booting, the content of /proc/cmdline is truncated to 256 chars. Although this is the vanilla kernel default, for LiveCD's a longer /proc/cmdline would be helpful. Reproducible: Always Steps to Reproduce: 1. boot via syslinux >=3.09 and enter kernel boot options that take up more than 256 chars 2. after booting, execute 'cat /proc/cmdline | wc -c' and see that only 256 chars are left over Actual Results: only 256 chars are transported via /proc/cmdline Expected Results: It would be nice if more characters could be used. A patch for 512 chars is here: http://syslinux.zytor.com/archives/2005-June/005313.html The fix could easily included in genpatches. I will attach a patch for it.
Created attachment 69999 [details, diff] Kernel patch suitable for genkernel Kernel patch for /proc/cmdline with size limit of 512 bytes. Found at http://syslinux.zytor.com/archives/2005-June/005313.html
Personally, I would prefer this to be resubmitted to LKML and applied to mainline. This bug has come up a few times in the past, and although there is no particular reason to not allocate more space, I would prefer to not have it as a burden. Thoughts?
Please get this accepted upstream first
Do you submit it on LKML or do I have to?
Please do so yourself. Make sure you read /usr/src/linux/Documentation/SubmittingPatches first :)