From: Roger Luethi <rl@hellgate.ch>
To: Henrik Persson <nix@socialism.nu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: via rhine bug? (timeouts and resets)
Date: Tue, 11 Feb 2003 22:15:16 +0100 [thread overview]
Message-ID: <20030211211516.GA6140@k3.hellgate.ch> (raw)
In-Reply-To: <200302112031.h1BKVjPY068673@sirius.nix.badanka.com>
On Tue, 11 Feb 2003 21:31:10 +0100, Henrik Persson wrote:
> And look what came up when I stressed the net a bit.. Worked fine at
> first, though.. But I guess that depends on other things.. Sunset and
> all.. Heh ;)
It's pretty easy to trigger, actually. Just have some heavy traffic going
in _and_ out, e.g. netcat blowing iso images both ways. It will last a
couple of seconds at most.
> Well.. dmesg attached..
# eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
# eth0: Done via_rhine_open(), status 0c1a MII status: 782d.
# eth0: no IPv6 routers present
# eth0: Transmit error, Tx status 00008800.
# eth0: Transmitter underrun, Tx threshold now 40.
# eth0: Transmit error, Tx status 00008800.
# eth0: Transmitter underrun, Tx threshold now 60.
# eth0: Transmit error, Tx status 00008800.
# eth0: Transmitter underrun, Tx threshold now 80.
# Gotcha: 0x2 0x8 0x0
# Gotcha: 0x1 0x8 0x0
# Gotcha: 0x1 0x8 0x0
# NETDEV WATCHDOG: eth0: transmit timed out
# eth0: Transmit timed out, status 0000, PHY status 782d, resetting...
# eth0: Reset succeeded.
As expected. Now comes the punch line: I don't know how to fix this. I
locked my machine up solid a couple of times trying. It seems that
particular flag doesn't want to be cleared. Of course I could simply reset
the chip, but that's a) less than elegant and b) would make cleaning up the
force_media mess kind of urgent. And doing that properly is a rather
non-trivial change. Also, I need to investigate the implications for
Rhine-III and have somebody test Rhine-I.
Thanks for the logs, though; at least now I know that many more would hit
that problem if they weren't using a driver that breaks down way earlier.
If the problem bothers you I can send you a dirty hack. I need to whack
some registers before writing a proper fix, and I don't know when that will
happen.
Roger
next prev parent reply other threads:[~2003-02-11 21:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-11 13:43 via rhine bug? (timeouts and resets) Henrik Persson
2003-02-11 14:18 ` Gianni Tedesco
2003-02-11 14:34 ` Henrik Persson
2003-02-11 16:44 ` Alan Cox
2003-02-11 15:44 ` Roger Luethi
2003-02-11 16:51 ` Henrik Persson
2003-02-11 17:17 ` Roger Luethi
2003-02-11 17:44 ` Henrik Persson
2003-02-11 18:39 ` Roger Luethi
2003-02-11 18:55 ` Henrik Persson
2003-02-11 19:31 ` Roger Luethi
2003-02-11 20:31 ` Henrik Persson
2003-02-11 21:15 ` Roger Luethi [this message]
2003-02-11 17:44 ` Alan Cox
2003-02-12 12:52 ` Roger Luethi
-- strict thread matches above, loose matches on Subject: below --
2003-02-12 14:58 Christian Guggenberger
2003-02-12 16:41 ` Alan Cox
2003-02-12 17:06 ` Christian Guggenberger
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=20030211211516.GA6140@k3.hellgate.ch \
--to=rl@hellgate.ch \
--cc=linux-kernel@vger.kernel.org \
--cc=nix@socialism.nu \
/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