/proc/cmdline bug

Ludwig Schwardt schwardt at dsp.sun.ac.za
Sun Apr 20 02:16:36 CEST 2003


It seems that /proc/cmdline is broken in kernel 2.4.20. A kernel patch is
available at http://www.ussg.iu.edu/hypermail/linux/kernel/0301.2/0873.html.

The negative effect on FAI is that very long kernel command lines get trashed
in the eval_cmdline routine in subroutines-linux (e.g. when you send static ip=
parameters).

The problem goes away when the expansion $(< /proc/cmdline) is replaced by
$(cat /proc/cmdline) in line 28 of subroutines-linux.

Ludwig Schwardt
DSP Lab, E & E Engineering Department
University of Stellenbosch
South Africa



More information about the linux-fai mailing list