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 11:35:41 +0200 [thread overview]
Message-ID: <20041006113541.5d395ffa@pirandello> (raw)
In-Reply-To: <1097053738.16741.58.camel@gaston>
On 06 Oct 2004 at 19h10, Benjamin Herrenschmidt wrote:
Hi,
> 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...
No, in fact. You're right...
Indeed, if there was a deadlock, it would also happen when cable is
plugged in, wouldn't it ? (as sungem outputs "Link is up at xxx..." or
something when correctly initialized).
> The solution is to look at the code though and find what's wrong :)
I'll try.
The called method in the driver when calling
dev_change_flags(ndev, ndev->flags | IFF_UP) from netpoll
is
gem_open(), if I'm not mistaken?
Could some kind of infinite loop happen within gem_link_timer, maybe ?
--
Colin
prev parent reply other threads:[~2004-10-06 9:36 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
2004-10-06 9:35 ` Colin Leroy [this message]
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=20041006113541.5d395ffa@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 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.