获取XEN内核core dump
cat /proc/sys/kernel/core_pattern/cloud/data/corefile/core-%e-%p-%t-%hgrep --color crashkernel /boot/grub/grub.confchkconfig --list | grep kdumpecho c | sudo tee /proc/sysrq-trigger2017-01-18 10:12:31 SysRq : Trigger a crash
2017-01-18 10:12:31 BUG: unable to handle kernel NULL pointer dereference at (null)
2017-01-18 10:12:31 IP: [] sysrq_handle_crash+0x16/0x20
2017-01-18 10:12:31 PGD 14b8f9067 PUD 19a30d067 PMD 0
2017-01-18 10:12:31 Oops: 0002 [#1] SMP
2017-01-18 10:12:31 last sysfs file: /sys/bus/pci/slots/3/address
...
2017-01-18 10:12:31 [] write_sysrq_trigger+0x3b/0x46
2017-01-18 10:12:31 [] proc_reg_write+0x74/0x8f
2017-01-18 10:12:31 [] vfs_write+0xb0/0x10a
2017-01-18 10:12:31 [] sys_write+0x4c/0x72
2017-01-18 10:12:31 [] system_call_fastpath+0x16/0x1b
2017-01-18 10:12:31 (XEN) Domain 0 crashed: 'noreboot' set - not rebooting.Last updated