On Sat, Jan 20, 2007 at 10:10:36AM -0800, Jay Lan wrote: > What is a reliable way to determine whether the booting kernel > is a production kernel or a kdump kernel? > > In setup_arch() routine of arch/ia64/kernel/setup.c, there is > a statement as below: > > kdump_kernel = (strstr(saved_command_line, "elfcorehdr=") != NULL); > > This check is not true for an SN system. Is there a better way? > How about "maxcpus=" ? Is maxcpus=1 always true for a kdump kernel?
elfcorehdr= is passed to tell the next kernel about the location of saved cpu state of crashed kernel. If this is not passed in SN systems, then how next kernel comes to know where the cpu states are available in RAM?, jut curious. Thanks Vivek _______________________________________________ fastboot mailing list [email protected] https://lists.osdl.org/mailman/listinfo/fastboot
