On Fri, 5 Oct 2007, Gregory Haskins wrote:
> This series may help debugging certain circumstances where the serial
> console is unreponsive (e.g. RT51+ spinner, or scheduler problem). It changes
> the serial8250 driver to use IRQF_NODELAY so that interrupts execute in irq
> context instead of a kthread.
>
> It works pretty well on this end, though it is admitted not fully baked. For
> instance, a few paths in sysrq can still call into non-raw spinlocks
> (sched_debug_show, for instance) which will cause subsequent errors. Also,
> if you use KDB, be sure to convert the kdb_printf_lock to raw as well. I may
> send a KDB related patch seperately.
>
> I am sending this out now in case it is helpful to someone.
The simple non-patch solution is to up the priority of the serial
console irq to maximum. That's usually sufficient to catch runnaway tasks
etc. It does not interfere with the system in normal operation as long as
you do not hit keys in your minicom.
I doubt that your patch has a chance to survive lockdep and anything which
is not a sysrq.
tglx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]