All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Shuklin <george.shuklin@gmail.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: linux crash behavior
Date: Wed, 17 Aug 2011 15:46:39 +0400	[thread overview]
Message-ID: <1313581599.2116.18.camel@mabase> (raw)
In-Reply-To: <4E4BA436.1020203@citrix.com>


В Срд, 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;
}

  reply	other threads:[~2011-08-17 11:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17 11:14 linux crash behavior George Shuklin
2011-08-17 11:21 ` Andrew Cooper
2011-08-17 11:46   ` George Shuklin [this message]
2011-08-17 12:35 ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1313581599.2116.18.camel@mabase \
    --to=george.shuklin@gmail.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.