lkml.org 
[lkml]   [2005]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: tickle nmi watchdog whilst doing serial writes.
Russell King wrote:
> On Wed, May 18, 2005 at 05:24:13PM -0700, George Anzinger wrote:
>
>>Um... I would think the real fix is to set the UART up to generate the modem
>>status interrupt and eliminate the pole loop. Why can't this be done? I, for
>>one, don't want my cpu looping in the serial driver, even more so with the
>>interrupt system off. This, in my mind, is a real bug in the serial driver and
>>should be so handled.
>
>
> Because printk is *synchronous*. It never returns until it's written
> the entire message. There is no buffering.
>
> Extra complexity, adding reliance on interrupts, etc all means that
> you reduce the probability that you'll get the panic or oops message
> out of the system.
>
This is a fine reason to loop in the serial code, I guess, but what's
the reason for allowing the NMI oops? Having use of the serial console
to catch an oops actually CAUSE an oops doesn't seem desirable, and is
probably more likely than a hardlock in the serial driver.

--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-23 22:24    [W:0.094 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site