[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090630223040.GA3802@suse.de>
Date: Tue, 30 Jun 2009 15:30:40 -0700
From: Greg KH <gregkh@...e.de>
To: "Maciej W. Rozycki" <macro@...ux-mips.org>
Cc: x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...e.hu>, Kurt Garloff <garloff@...e.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: sysctl to allow panic on IOCK NMI error
On Tue, Jun 30, 2009 at 11:27:57PM +0100, Maciej W. Rozycki wrote:
> On Wed, 24 Jun 2009, Greg KH wrote:
>
> > This patch introduces a sysctl /proc/sys/kernel/panic_on_io_nmi, which
> > defaults to 0 (off).
> >
> > When enabled, the kernel panics when the kernel receives an NMI caused
> > by an IO error.
> >
> > The IO error triggered NMI indicates a serious system condition, which
> > could result in IO data corruption. Rather than contiuing, panicing and
> > dumping might be a better choice, so one can figure out what's causing
> > the IO error.
> >
> > This could be especially important to companies running IO intensive
> > applications where corruption must be avoided, e.g. a banks databases.
>
> These days an IOCK NMI typically happens in response to a PCI SERR -- it
> may be useful to traverse PCI buses to find the offender and dump this
> information on this occasion too. The south bridge may have additional
> status too.
Sure, that would be great to have. Care to make a patch? :)
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists