[Crash-utility] How do debug the kdump kernel using a Xen dump-core file?

Olaf Hering olaf at aepfle.de
Thu Feb 10 14:13:43 UTC 2011


On Thu, Feb 10, Dave Anderson wrote:

> Hmmm. I've never tried it, but because of the relocation, live access
> won't work.  But you *may* be able to coerce it into coming up by forcing
> the phys_base to whatever it is:
> 
>   # crash --machdep phys_base=<physical-base-address>
> 
> BTW, that's with x86_64 only.  

That did the trick. Thanks.
After looking for a line like this in the normal kernel:

Reserving 128MB of memory at 32MB for crashkernel (System RAM: 1024MB)

crash --machdep phys_base=32M -s \
/boot/System.map-2.6.32.27-21-default \
/boot/vmlinux-2.6.32.27-21-default.gz \
/var/lib/xen/dump/sles11_4/2011-0210-1335.40-sles11_4.3.core


Olaf




More information about the Crash-utility mailing list