Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264762AbTIJIYp (ORCPT ); Wed, 10 Sep 2003 04:24:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264831AbTIJIYp (ORCPT ); Wed, 10 Sep 2003 04:24:45 -0400 Received: from waste.org ([209.173.204.2]:48314 "EHLO waste.org") by vger.kernel.org with ESMTP id S264762AbTIJIYn (ORCPT ); Wed, 10 Sep 2003 04:24:43 -0400 Date: Wed, 10 Sep 2003 03:24:35 -0500 From: Matt Mackall To: Andi Kleen Cc: linux-kernel@vger.kernel.org, akpm@osdl.org Subject: Re: [PATCH 2/3] netpoll: netconsole Message-ID: <20030910082435.GG4489@waste.org> References: <20030910074256.GD4489@waste.org.suse.lists.linux.kernel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1308 Lines: 32 On Wed, Sep 10, 2003 at 10:11:42AM +0200, Andi Kleen wrote: > Matt Mackall 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/