mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Kdump Testing
@ 2005-04-21 13:56 Nagesh Sharyathi
  2005-04-22 10:46 ` Nagesh Sharyathi
  0 siblings, 1 reply; 12+ messages in thread
From: Nagesh Sharyathi @ 2005-04-21 13:56 UTC (permalink / raw)
  To: linux-kernel, fastboot; +Cc: akpm, vgoyal

Hi,
I tested the kdump tool on x235 and x206 machines and found this problem 
where on kernel Panic, system instead of booting into the panic kernel 
jumps into BIOS and machine restarts.
(I have given the hardware specifications at the bottom of the mail)

Software:
- 2.6.12-rc2-mm1
- kexec-tools-1.101 
- Five kdump user space patches 
  [http://marc.theaimsgroup.com/?l=linux-kernel&m=111201661400892&w=2]

Test Procedure:
- Built first kernel for 1M location with CONFIG_KEXEC enabled.
- Booted into first kernel with command line options crashkernel=48M@16M.
- Built second kernel for 16M location with CONFIG_CRASH_DUMP, and 
  CONFIG_PROC_VMCORE enabled.
- Loaded second kernel with following kexec command.

  kexec -p vmlinux-16M --args-linux --crash-dump --append="root=<root-dev>
  init 1"

- Inserted a module or echo into sysrq-trigger to invoke panic.
- System jumps  into BIOS directly instead of booting into secondary 
kernel.

Summary Observation:

- Earlier I was able to make kdump work on x330 machine by removing 
maxcpus=1 (as specified in kdump.txt) option during loading panic kernel, 
through kexec tool. But this work around doesn't seems to work with the 
hardware x235 and x206. On kernel panic machine jumps to BIOS rather than 
to panic kernel without displaying any error message.


HARDWARE SPECIFICATIONS
------------

A) Hardware  x330: 
- SMP, 2way, Pentium III (Coppermine) 1 GHz, 1.3G RAM
- Network Interface (e100)
- Disk I/O
  SCSI storage controller: Adaptec Ultra160 
-----------
B)Hardware x235
- SMP, 2way, Xeon TM 2.8GHz, 1.5g RAM
- Network Interface (Tigon3)
- Disk I/O
  SCSI storage controller: IBM Serve RAID
-------------
C)Hardware x206
- SMP, 1way, Pentium IV 2.8GHz, 2g RAM
- Network Interface (e1000)
- Disk I/O
  SCSI storage controller: Adaptec Ultra320


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [Fastboot] Re: Kdump Testing
@ 2005-04-23  3:30 Vivek Goyal
  2005-04-25 12:15 ` Nagesh Sharyathi
  0 siblings, 1 reply; 12+ messages in thread
From: Vivek Goyal @ 2005-04-23  3:30 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: Nagesh Sharyathi, akpm, fastboot, linux-kernel, maneesh

Quoting "Eric W. Biederman" <ebiederm@xmission.com>:

> Nagesh Sharyathi <sharyathi@in.ibm.com> writes:
> 
> > Here is the console boot log, before the machine jumps to BIOS 
> > after hang during panic kerenl boot
> 
> Ok thanks.  So this is manually triggered with SysRq
> and the kexec part works but the recover kernel simply fails
> to boot.
> 
> It looks like that hunk of the ACPI code that messes up maxcpus=1
> needs to be looked at.

I faced the similiar issue on one of my machine. Little debugging showed that
Boot cpu sends an INIT IPI to application processor to wake it up and then boot
cpu loses its way and jumps to bios. Strange....

Further, in my case this problem was noticed only if crash happened on non-boot
cpu.

It works well with Uniporcessor capture kernel. For the time being sufficient 
to capture the dump but it is always good idea to be able to boot and SMP kernel
as well.


Thanks
Vivek

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

end of thread, other threads:[~2005-04-28 19:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-21 13:56 Kdump Testing Nagesh Sharyathi
2005-04-22 10:46 ` Nagesh Sharyathi
2005-04-22 12:32   ` [Fastboot] " Eric W. Biederman
2005-04-23  3:30 Vivek Goyal
2005-04-25 12:15 ` Nagesh Sharyathi
2005-04-25 23:09   ` Randy.Dunlap
2005-04-26  8:54     ` Vivek Goyal
2005-04-27 16:46       ` Randy.Dunlap
2005-04-27 19:23       ` Randy.Dunlap
2005-04-28 11:44         ` Vivek Goyal
2005-04-28 16:11           ` Randy.Dunlap
2005-04-28 19:08             ` Eric W. Biederman

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

all inboxes | Powered by JetHome®