From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: netconsole system freeze when cable unplugged Date: Sun, 11 Mar 2007 08:50:13 +0100 Message-ID: <20070311075013.GA27670@one.firstfloor.org> References: <45F1B6FD.1060902@simon.arlott.org.uk> <20070309204243.GA28441@electric-eye.fr.zoreil.com> <45F1EE12.2070605@simon.arlott.org.uk> <45F2BB64.10000@simon.arlott.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andi Kleen , Francois Romieu , Linux Kernel Mailing List , netdev@vger.kernel.org To: Simon Arlott Return-path: Received: from one.firstfloor.org ([213.235.205.2]:45331 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751652AbXCKHuR (ORCPT ); Sun, 11 Mar 2007 03:50:17 -0400 Content-Disposition: inline In-Reply-To: <45F2BB64.10000@simon.arlott.org.uk> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Sat, Mar 10, 2007 at 02:06:28PM +0000, Simon Arlott wrote: > On 10/03/07 13:38, Andi Kleen wrote: > >Simon Arlott writes: > > > >>On 09/03/07 20:42, Francois Romieu wrote: > >>>Simon Arlott : > >>>>When I unplug the cable the system just stops responding to > >>>>anything, at all. No message is printed to the console when the > >>>>cable is plugged back in. > >>>rtl8139_interrupt (spin_lock(&tp->lock)) > >>>-> rtl8139_weird_interrupt > >>> -> rtl_check_media > >>> -> mii_check_media (printk(KERN_INFO "%s: link down\n", ...)) > >>> [netpoll stuff here] > >>> -> rtl8139_poll_controller > >>> -> rtl8139_interrupt > >>> *deadlock* > >>>See below for my random stuff of the day. Feel free to open a PR at > >>>bugzilla.kernel.org if the issue does not go away. > >>The patch doesn't fix it, nothing changes. I'm not sure how this can > >>be debugged if printk won't work... > > > >earlyprintk can be called directly (early_printk()) and should > >work. It won't log over the network of course. > > It also won't log over the serial console either :( It does, you just have to configure it properly. earlyprintk=serial,ttySx,baud -Andi