lkml.org 
[lkml]   [2005]   [Oct]   [10]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateMon, 10 Oct 2005 14:44:16 +0200
FromGeorg Lippold <>
Subject[PATCH] Re: THE LINUX/I386 BOOT PROTOCOL - Breaking the 256 limit
Hello Peter,

my first post didn't get any attention, maybe it was too short.
Here's a longer version:

hpa@zytor.com wrote on Sept. 6th, 2005:

[ wrt. COMMAND_LINE_SIZE=256 in linux/include/asm-i386/setup.h and 
linux/include/asm-i386/param.h ]

>> I would like to push forward the idea to extend the command-line size...
> [...]
> Already pushed to Andrew.  I will follow it up with a patch to extend 
> the command line, at least to 512.

I would like to know the status of this. In linux-2.6.14-rc3 the 
COMMAND_LINE_SIZE is still 256 chars long.

Here's a patch to fix that to 1024.

Signed-off-by: Georg Lippold <lippold@uni-bremen.de>

--- linux/include/asm-i386/param.h~ 2005-09-21 23:32:23.000000000 +0200
+++ linux/include/asm-i386/param.h  2005-10-10 14:39:34.000000000 +0200
@@ -18,6 +18,6 @@
  #endif

  #define MAXHOSTNAMELEN 64      /* max length of hostname */
-#define COMMAND_LINE_SIZE 256
+#define COMMAND_LINE_SIZE 1024

  #endif
--- linux/include/asm-i386/setup.h~ 2005-10-10 14:39:18.000000000 +0200
+++ linux/include/asm-i386/setup.h  2005-10-10 14:39:45.000000000 +0200
@@ -17,7 +17,7 @@
  #define MAX_NONPAE_PFN (1 << 20)

  #define PARAM_SIZE 4096
-#define COMMAND_LINE_SIZE 256
+#define COMMAND_LINE_SIZE 1024

  #define OLD_CL_MAGIC_ADDR      0x90020
  #define OLD_CL_MAGIC           0xA33F
-
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/
\
 
 \ /
  Last update: 2005-10-10 10:46    [W:0.740 / U:0.230 seconds]
©2003-2008 Jasper Spaans