[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Enabling kdump on SuSE 11 SP3 Xen resulting in error



Hi,

I'm trying to enable kdump on SuSE 11 SP3 with Xen configuration on our cards but having problem.

If I don't specify KDUMP_DUMPFORMAT=ELF, it does not work and does not try to take vmcore.

If I specify KDUMP_DUMPLEVEL=0, then it does work but it takes very long time. I tried using KDUMP_DUMPLEVEL=30 or 10 but it complaint that there is not much space even though I've about 4.8 GB space with crashkernel configured as 256M@64M. Here's output from /proc/cmdline :-

lc-1:~ # cat /proc/cmdline 
crashkernel=256M@64M root=/dev/sda5 earlyprintk=serial,ttyS0,115200n8 resume=/dev/sda5 splash=silent showopts  console=ttyS0,115200n8

lc-1:~ # grep crashkernel /boot/efi/efi/SuSE/xen.cfg
kernel=vmlinuz-3.0.93-0.8-xen  crashkernel=256M@64M root=/dev/sda5 earlyprintk=serial,ttyS0,115200n8 resume=/dev/sda5 splash=silent showopts  console=ttyS0,115200n8
options=console=com1 com1=115200 dom0_mem=8192m iommu=1,sharept extra_guest_irqs=80 reboot=efi crashkernel=256M@64M
lc-1:~ # 
lc-1:/var/crash # df -h .
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda7       5.7G  641M  4.8G  12% /var
ssc-lc-1:/var/crash # 


kdump configured with KDUMP_DUMPLEVEL=10

Extracting dmesg
-------------------------------------------------------------------------------
Specify '-E' option for Xen.
Commandline parameter is invalid.
Try `makedumpfile --help' for more information.

makedumpfile Failed.
Running makedumpfile --dump-dmesg /proc/vmcore failed (1).
Saving dump using makedumpfile
-------------------------------------------------------------------------------
Copying data                       : [ 22 %]
Can't write the dump file(/root/var/crash/2014-02-07-14:05/vmcore). No space left on device

makedumpfile Failed.
Dump too large. Aborting. Check KDUMP_FREE_DISK_SIZE.
Running makedumpfile  -d 10 -E /proc/vmcore failed (1).
statfs() on /root/var/crash/2014-02-07-14:05 failed. (No such file or directory)
Error in fopen for /root/var/crash/2014-02-07-14:05/makedumpfile-R.pl (No such file or directory)
Error in fopen for /root/var/crash/2014-02-07-14:05/README.txt (No such file or directory)
Error in fopen for /root/var/crash/2014-02-07-14:05/System.map-3.0.93-0.8-xen (No such file or directory)
Last command failed (1).


KDUMP configure with KDUMP_DUMPFORMAT="compressed"

Extracting dmesg
-------------------------------------------------------------------------------
Specify '-E' option for Xen.
Commandline parameter is invalid.
Try `makedumpfile --help' for more information.

makedumpfile Failed.
Running makedumpfile --dump-dmesg /proc/vmcore failed (1).
Saving dump using makedumpfile
-------------------------------------------------------------------------------
Specify '-E' option for Xen.
Commandline parameter is invalid.
Try `makedumpfile --help' for more information.

makedumpfile Failed.
Running makedumpfile  -d 0 -c /proc/vmcore failed (1).
Saving makedumpfile-R.pl       Finished.
Generating rearrange script    Finished.
Generating README              Finished.
Copying System.map             Finished.
Copying kernel                 Finished.
INFO: Cannot find debug information: Unable to find debuginfo file.
Last command failed (1).
[   13.000455] ehci_hcd 0000:00:1d.0: PCI INT A disabled
[   13.005587] Disabling non-boot CPUs ...
[   13.009436] Restarting system.
[   13.012476] machine restart


Let me know how to get around this problem.

Thanks,
/Saurabh

/etc/sysconfig/kdump file :-

KDUMPTOOL_FLAGS=""
KDUMP_COMMANDLINE=""
KDUMP_COMMANDLINE_APPEND=""
KDUMP_CONTINUE_ON_ERROR="true"
KDUMP_COPY_KERNEL="yes"
KDUMP_CPUS=1
KDUMP_DUMPFORMAT="ELF"
KDUMP_DUMPLEVEL=10
KDUMP_FREE_DISK_SIZE=64
KDUMP_HOST_KEY=""
KDUMP_IMMEDIATE_REBOOT="yes"
KDUMP_KEEP_OLD_DUMPS=5
KDUMP_KERNELVER=""
KDUMP_NETCONFIG="auto"
KDUMP_NOTIFICATION_CC=""
KDUMP_NOTIFICATION_TO=""
KDUMP_POSTSCRIPT=""
KDUMP_PRESCRIPT=""
KDUMP_REQUIRED_PROGRAMS=""
KDUMP_SAVEDIR="file:///var/crash"
KDUMP_SMTP_PASSWORD=""
KDUMP_SMTP_SERVER=""
KDUMP_SMTP_USER=""
KDUMP_TRANSFER=""
KDUMP_VERBOSE=3
KEXEC_OPTIONS=""
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.