----- "Feng LI" <funglee(a)gmail.com> wrote:
Sorry about the confusion, I don't have any domU guest
running...
My grub menu.lst is,
kernel /boot/xen.gz watchdog=0 dom0_mem=1024M
lowmem_emergency_pool=16M crashkernel=128M@32M nmi=dom0
module /boot/vmlinuz-2.6.27.42-0.1.1.xs5.6.0.44.111158xen ro
ramdisk_size=250000 nmi_watchdog=0 xencons=off console=rcons0
module /boot/initrd-5.6.0-31188p.img
xen.gz is 64 bit one, while dom0 kernel is 32bit...
I am using echo c > /proc/sysrq-trigger to generate the kernel dump.
When I tried to open the kernel dump,
[debugger@crash HV_crash]$ crash32 vmlinux-2.6.27
vmcore-2010-09-02-22-30-38
crash32 5.0.3
……………….
This program has absolutely no warranty. Enter "help warranty" for
details.
WARNING: machine type mismatch:
crash utility: X86
vmcore-2010-09-02-22-30-38: X86_64
crash32: vmcore-2010-09-02-22-30-38: not a supported file format
Well, for starters, the crash utility must match the vmlinux file type,
i.e., you should be using the 32-bit version.
What is the output of:
# readelf -a vmcore-010-09-02-22-30-38
Dave
[debugger@crash HV_crash]$ crash64 vmlinux-2.6.27 vmcore-2010-09-02-22-30-38
crash64 5.0.3
………………….
WARNING: machine type mismatch:
crash utility: X86_64
vmlinux-2.6.27: X86
crash64: vmlinux-2.6.27: not a supported file format