public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Colin Leroy <colin@colino.net>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>,
	"David S.Miller" <davem@davemloft.net>
Subject: Re: Netconsole & sungem: hang when link down
Date: Wed, 6 Oct 2004 10:42:51 +0200	[thread overview]
Message-ID: <20041006104251.29dcd38c@pirandello> (raw)
In-Reply-To: <1097050605.21132.17.camel@gaston>

On 06 Oct 2004 at 18h10, Benjamin Herrenschmidt wrote:

Hi, 

> On Wed, 2004-10-06 at 16:39, Colin Leroy wrote:
> > Hi,
> > 
> > I noticed that, if you have netconsole set up and using a sungem
> > card, and if the network cable is not plugged in, that the whole
> > kernel hangs shortly after the "device not up yet, forcing it"
> > netconsole message. I suspect this is due to the autoneg in sungem,
> > but didn't have time to look further. 
> > 
> > Would you have any hints on the cause of this problem?
> 
> Not sure, I suppose the driver is doing printk's with spinlocks held
> from the autoneg stuff and there is a spinlock deadlock happening ...

Thanks. I'll look into this. If I'm not mistaken, I've got no way of
catching it easily, do I ? CONFIG_DEBUG_SPINLOCK's help seems to say
that I need NMI watchdog in order to catch deadlocks, which is only
available on x86(_64).

-- 
Colin

  reply	other threads:[~2004-10-06  8:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20041006083954.0abefe57@pirandello>
2004-10-06  8:16 ` Netconsole & sungem: hang when link down Benjamin Herrenschmidt
2004-10-06  8:42   ` Colin Leroy [this message]
2004-10-06  9:08     ` Benjamin Herrenschmidt
2004-10-06  9:35       ` Colin Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041006104251.29dcd38c@pirandello \
    --to=colin@colino.net \
    --cc=benh@kernel.crashing.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox