Re: [PATCH 2/3] netpoll: netconsole

From: Andi Kleen
Date: Wed Sep 10 2003 - 03:14:29 EST


Matt Mackall <mpm@xxxxxxxxxxx> writes:

> This patch uses the netpoll API to transmit kernel printks over UDP
> for uses similar to serial console.

One common problem I saw with the original netconsole patches
was that the low level drivers' poll function was grabbing the
driver spinlock, but the driver would otherwere do printk
with the spinlock hold (->easy deadlock)

Does your patchkit handle that?

I worked around it in some drivers by not grabbing the lock
in the direct access poll path, but it's a bit ugly.

-Andi

P.S.: Also what would be really nice for netconsole
would be "kernel ifconfig" similar to what the nfsroot code does.
With that it would be actually possible to use it as a full console
replacement.
-
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/