Re: [PATCH] Convert serial_core oopses to BUG_ON

From: Andrew Morton
Date: Tue Feb 28 2006 - 18:32:03 EST


Martin Michlmayr <tbm@xxxxxxxxxx> wrote:
>
> * Andrew Morton <akpm@xxxxxxxx> [2006-02-28 10:17]:
> > > It will oops in hard-to-guess, place, anyway.
> > Will it? Where? Unfixably?
>
> http://www.linux-mips.org/archives/linux-mips/2006-02/msg00241.html is
> one example we just had on MIPS. On SGI IP22, using the serial
> console, you'd get the following on shutdown:
>
> The system is going down for reboot NOW!
> INIT: Sending processes the TERM signal
> INIT: Sending proces
>
> and then nothing at all. I'd never have suspected the serial driver,
> had not users reported that the machine shutdowns properly when using
> the framebuffer.
>
> For the record, I don't mind whether it's BUG_ON or WARN_ON, but I
> just wanted to give this as an example of an "oops in hard-to-guess,
> place".

>From my reading of the above thread, putting the proposed workaround into
serial core will indeed allow people's machines to keep running while
reminding us about the driver bugs.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/