Andrew Lambe wrote:
>I'm building pxe-booted kiosk systems using pxelinux 3.09 and linux
>kernel 2.6.14. I noticed a discussion on this list that 3.09 supports a
>511 character command line but that the kernel would need to be patched
>to access it beyond 255. How can I patch the kernel to do so?
>
>Andrew Lambe
>Systems Programmer
>Information Technology
>Oral Roberts University
>Tulsa, Oklahoma
>
>
this worked for me a while back. havent tried lately
more patch-i386-1024-11
diff -ru linux-2.6.11/include/asm-i386/param.h
linux-2.6.11-mod/include/asm-i386/param.h
--- linux-2.6.11/include/asm-i386/param.h 2005-03-02
00:37:49.000000000 -0700
+++ linux-2.6.11-mod/include/asm-i386/param.h 2005-06-11
06:37:47.000000000 -0600
@@ -18,6 +18,6 @@
#endif
#define MAXHOSTNAMELEN 64 /* max length of hostname */
-#define COMMAND_LINE_SIZE 256
+#define COMMAND_LINE_SIZE 1024
#endif
Only in linux-2.6.11-mod/include/asm-i386: param.h.orig
diff -ru linux-2.6.11/include/asm-i386/setup.h
linux-2.6.11-mod/include/asm-i386/setup.h
--- linux-2.6.11/include/asm-i386/setup.h 2005-03-02
00:38:13.000000000 -0700
+++ linux-2.6.11-mod/include/asm-i386/setup.h 2005-06-11
06:41:15.000000000 -0600
@@ -17,7 +17,7 @@
#define MAX_NONPAE_PFN (1 << 20)
#define PARAM_SIZE 2048
-#define COMMAND_LINE_SIZE 256
+#define COMMAND_LINE_SIZE 1024
#define OLD_CL_MAGIC_ADDR 0x90020
#define OLD_CL_MAGIC 0xA33F
Only in linux-2.6.11-mod/include/asm-i386: setup.h~
[jimc at harpo lxbuild]$