public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] kexec: lengthen the kernel command line image
@ 2013-02-04 19:53 Cliff Wickman
  2013-03-05  1:51 ` Simon Horman
  0 siblings, 1 reply; 6+ messages in thread
From: Cliff Wickman @ 2013-02-04 19:53 UTC (permalink / raw)
  To: kexec

From: Cliff Wickman <cpw@sgi.com>

The crash kernel's boot command line is not long enough to contain the
necessary memmap= options for a large memory.

The fix is simple, as long as the boot loader's command line is also long enough.
I'm not sure about boot loader or kernel restrictions to this length.

Signed-off-by: Cliff Wickman <cpw@sgi.com>

---
 include/x86/x86-linux.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: kexec-tools-2.0.2/include/x86/x86-linux.h
===================================================================
--- kexec-tools-2.0.2.orig/include/x86/x86-linux.h
+++ kexec-tools-2.0.2/include/x86/x86-linux.h
@@ -180,7 +180,7 @@ struct x86_linux_param_header {
 	uint8_t _pad8[48];			/* 0xcd0 */
 	struct 	edd_info eddbuf[EDDMAXNR];	/* 0xd00 */
 						/* 0xeec */
-#define COMMAND_LINE_SIZE 2048
+#define COMMAND_LINE_SIZE (64*1024)
 };
 
 struct x86_linux_faked_param_header {

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-27 12:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-04 19:53 [PATCH] kexec: lengthen the kernel command line image Cliff Wickman
2013-03-05  1:51 ` Simon Horman
2013-03-25  7:42   ` Zhang Yanfei
2013-03-25 12:39     ` Cliff Wickman
2013-03-25 15:01       ` Zhang Yanfei
2013-03-27 12:24         ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox