2.5.5x COMMAND_LINE_SIZE cmdline problem

Jeff Chua (jchua@fedex.com)
Fri, 27 Dec 2002 15:06:01 +0800 (SGT)


When booting the kernel with a long command line arguments, the kernel
will hang under 2.5.52, 2.5.53. Short command line is ok. 2.5.51 is ok.

# cat /proc/cmdline
root=/dev/hda2 ro reboot=hard hostname=boston.corp.fedex.com master=hda
network=none nssdns=0 apm=1 gpm=1 pccards=2 dma=1 lvm=1 reiser=1
modules="dm-mod ide-disk ide-probe-mod" /d /k autoexec BOOT_IMAGE=bzc1

I've tried both loadlin and linld with the same result.

It seems that COMMAND_LINE_SIZE is defined at several places with
different values ...

./arch/sh/kernel/setup.c
./arch/um/kernel/user_util.c
./arch/i386/kernel/setup.c
./include/asm-i386/setup.h

Thanks,
Jeff.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/