kdump not working under 2.6.22 kernel

Cliff Wickman cpw at sgi.com
Mon Jul 30 18:24:57 EDT 2007



I can't get kdump to work under a 2.6.22 kernel.
I'm running on 2-processor x86_64 box.  It has 2 scsi disks, /dev/sda and
/dev/sdb

Any capture kernel that I load with kexec and boot on a panic only finds sda.


the system kernel configuration has:
   CONFIG_DEBUG_INFO=y
   CONFIG_KEXEC=y
   CONFIG_SYSFS=y
   # CONFIG_RELOCATABLE
   CONFIG_SMP=y
   CONFIG_PHYSICAL_START=0x200000
   # CONFIG_CRASH_DUMP
   # CONFIG_PROC_VMCORE

kexec is executed as:

/sbin/kexec -p /boot/vmlinux-kdump --append=" 1 CRASH=1 root=/dev/sdb3 irqpoll console=ttyS0,38400n8 maxcpus=1 1" --initrd=/boot/initrd-kdump  --args-linux


The ATA scsi driver is not waiting to find the second disk.
I put some printk's into the driver and get this:

Standalone:
                                                   [nv_adma_error_handler]
cpw: ata_host_register probe port 1 (error_handler:ffffffff81348625)
cpw: ata_host_register call ata_port_probe
cpw: ata_host_register call ata_port_schedule
cpw: ata_host_register call ata_port_wait_eh
cpw: ata_port_wait_eh entered
cpw: ata_port_wait_eh, preparing to wait
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
cpw: ata_dev_configure entered
cpw: ata_dev_configure testing class
cpw: ata_dev_configure class is ATA_DEV_ATA
ata2.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
ata2.00: 390721968 sectors, multi 16: LBA48
cpw: ata_dev_configure exiting
cpw: ata_dev_configure entered
cpw: ata_dev_configure testing class
cpw: ata_dev_configure class is ATA_DEV_ATA
cpw: ata_dev_configure exiting
cpw: ata_dev_set_mode printing:
ata2.00: configured for UDMA/133
cpw: ata_port_wait_eh, finished wait
cpw: ata_port_wait_eh exiting
cpw: ata_host_register done with probe port 1


When loaded with kexec and booted on a panic:

cpw: ata_host_register probe port 1 (error_handler:ffffffff81348625)
cpw: ata_host_register call ata_port_probe
cpw: ata_host_register call ata_port_schedule
cpw: ata_host_register call ata_port_wait_eh
cpw: ata_port_wait_eh entered
cpw: ata_port_wait_eh, preparing to wait
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
cpw: ata_port_wait_eh, finished wait
cpw: ata_port_wait_eh exiting
cpw: ata_host_register done with probe port 1

There is currently some device (udev?) problem with the 2.6.23 kernel. Could
this be related?

-Cliff Wickman
 SGI



More information about the kexec mailing list