linux crash behavior
Good day.
I found that xen_panic_event (in arch/x86/xen/enlighten.c) ignore sysctl settings for kernel.panic, which declare delay between crash and crash consequences.
F.e. if we do this in:
sysctl kernel.panic=30
echo c >/proc/sysrq-trigger
I expect at least 30s of crashdump on screen, not instant domain disappearance.
Is this feature or bug?
Thanks.
Quoted 5 lines · George Shuklin
Good day.
I found that
xen_panic_event(inarch/x86/xen/enlighten.c) ignore sysctl settings for kernel.panic, which declare delay between crash and crash consequences.
Is this dom0 or domU, and which Xen and Linux version?
~Andrew
Quoted 19 lines
F.e. if we do this in:
sysctl kernel.panic=30
echo c >/proc/sysrq-triggerI expect at least 30s of crashdump on screen, not instant domain disappearance.
Is this feature or bug?
Thanks.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 2 lines
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer T: +44 (0)1223 225 900, http://www.citrix.com
В Срд, 17/08/2011 в 12:21 +0100, Andrew Cooper пишет:
Quoted 8 lines · George Shuklin
Quoted 5 lines
Good day.
I found that
xen_panic_event(inarch/x86/xen/enlighten.c) ignore sysctl settings for kernel.panic, which declare delay between crash and crash consequences.Is this dom0 or domU, and which Xen and Linux version?
I think this apply to domU and dom0.
I saw this in source of vanilla 3.0/3.1rc2, and I saw this behaivor in 2.6.34-xen (suse kernel), and even it 2.6.18-xen (rhel5.5 kernel).
static void xen_crash_shutdown(struct pt_regs *regs)
{
xen_reboot(SHUTDOWN_crash);
}static intxen_panic_event(struct notifier_block *this, unsigned long event, void *ptr)
{
xen_reboot(SHUTDOWN_crash);
return NOTIFY_DONE;
}Quoted 8 lines · George Shuklin
Good day.
I found that
xen_panic_event(inarch/x86/xen/enlighten.c) ignore sysctl settings for kernel.panic, which declare delay between crash and crash consequences.F.e. if we do this in:
Quoted 7 lines
sysctl kernel.panic=30
echo c >/proc/sysrq-triggerI expect at least 30s of crashdump on screen, not instant domain disappearance.
Is this feature or bug?
A bug IMHO.
Ian.