All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Colin Leroy <colin@colino.net>
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, 06 Oct 2004 19:08:59 +1000	[thread overview]
Message-ID: <1097053738.16741.58.camel@gaston> (raw)
In-Reply-To: <20041006104251.29dcd38c@pirandello>

On Wed, 2004-10-06 at 18:42, Colin Leroy wrote:

> > 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).

Hrm... we have some sort of spinlock debugging, at least on ppc64...

BTW, did you have SMP or PREEMPT ? If none of these, then you should
not see any spin deadlock...

The solution is to look at the code though and find what's wrong :)

Ben.



  reply	other threads:[~2004-10-06  9:15 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
2004-10-06  9:08     ` Benjamin Herrenschmidt [this message]
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=1097053738.16741.58.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=colin@colino.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.