Matt Mackall wrote:
> On Wed, Sep 07, 2005 at 07:16:03PM +0200, Patrick McHardy wrote:
> 
>>Not sure if its possible, but perhaps you could register the panic
>>notifier to do whatever is necessary to get an oops out.
> 
> 
> It's not really just about oopses.
> 
> Consider the case of:
> 
>        printk("Starting subsystem X\n");
>        start_x();
>        printk("Starting subsystem Y\n");
>        start_y();
> 
> And we get:
> 
> Starting subsystem X
> <hang>
> 
> If we queue such messages, we get:
> 
> <hang>
> 
> The first case has managed to localize the problem, the second tells
> us nothing.

This is not the best example since subsystem initialization usually
happens in process context and you could still push out messages in
process context and softirq context immediately. We would loose
messages in irq context that happend right before a hang without a
panic. Sounds better than relying on non-changing drivers to me.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to