IA64: reliable way to determine kdump_kernel?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
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
[Netdev] [Linux Wireless] [Kernel Newbies] [Security] [Linux for Hams] [Netfilter] [Bugtraq] [Photo] [Yosemite] [Yosemite Forum] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Linux Media] [Linux Resources]