Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 10 Sep 2003 03:24:35 -0500 | From | Matt Mackall <> | Subject | Re: [PATCH 2/3] netpoll: netconsole |
| |
On Wed, Sep 10, 2003 at 10:11:42AM +0200, Andi Kleen wrote: > Matt Mackall <mpm@selenic.com> 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?
No, haven't encountered it. Which lock are we talking about, specifically?
> 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.
It ups the interface if necessary and has enough info to build a complete raw packet so if I understand you correctly, it's already there. I start getting netconsole messages immediately after driver/net initcalls.
-- Matt Mackall : http://www.selenic.com : of or relating to the moon - 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/
| ![\](/images/icornerr.gif) |