WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] linux crash behavior

To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Subject: Re: [Xen-devel] linux crash behavior
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Wed, 17 Aug 2011 15:46:39 +0400
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 17 Aug 2011 04:47:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; bh=jJVc505MYAs59yq0dmdxzUXV68QcqRarFfjp8qsKYUc=; b=F9YsMqAvvQYdqqJ5UaiTpsmnonlAg2HanSjw/pTT7fj4gPv8rBuO/Fbg1E4nYqKh2m XCm6j0YXcoS0LS/4nUIyr0Lso2fXWVn6lbLJOL5R591yuZgFgLEYp7Oy4AIHUTz9c9lk ycJRXvAOhqzHDBCwd++ZHNkVXSJfSGHsatTwA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E4BA436.1020203@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1313579697.2116.14.camel@mabase> <4E4BA436.1020203@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
В Срд, 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

<Prev in Thread] Current Thread [Next in Thread>