I'm trying to set up crash dumps in my Xen domU (pv). I've given the VM 3G memory, that should do. It has plenty of diskspace for / (no separate mounts for other directories).
root@t-51:~# kdump-config show
DUMP_MODE: kdump
USE_KDUMP: 1
KDUMP_SYSCTL: kernel.panic_on_oops=1
KDUMP_COREDIR: /var/crash
crashkernel addr: 0x2f400000
current state: Not ready to kdump # <--- this seems to be because /sys/kernel/kexec_crash_loaded is 0
kexec command:
no kexec command recorded
root@t-51:~# cat /sys/kernel/kexec_crash_loaded
0
root@t-51:~# dmesg | grep crash
[ 0.000000] Command line: root=UUID=0d899955-d348-43a3-9341-527293093b5e ro quiet splash crashkernel=128M@756M $vt_handoff
[ 0.000000] Reserving 128MB of memory at 756MB for crashkernel (System RAM: 2999MB)
[ 0.000000] Kernel command line: root=UUID=0d899955-d348-43a3-9341-527293093b5e ro quiet splash crashkernel=128M@756M $vt_handoff
But as you can see from the dmesg log, it did actually reserve memory for crashkernel. Why does it show that it isn't ready?