[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] linux crash behavior



Ð ÐÑÐ, 17/08/2011 Ð 12:21 +0100, Andrew Cooper ÐÐÑÐÑ:
> On 17/08/11 12:14, George Shuklin wrote:
> > 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. 
> 
> 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).

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob_plain;f=arch/x86/xen/enlighten.c;hb=HEAD


static void xen_crash_shutdown(struct pt_regs *regs)
{
        xen_reboot(SHUTDOWN_crash);
}

static int
xen_panic_event(struct notifier_block *this, unsigned long event, void
*ptr)
{
        xen_reboot(SHUTDOWN_crash);
        return NOTIFY_DONE;
}





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.