public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
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 20:31:27 +0100	[thread overview]
Message-ID: <20030211193126.GA3136@k3.hellgate.ch> (raw)
In-Reply-To: <200302111855.h1BItiPY068299@sirius.nix.badanka.com>

On Tue, 11 Feb 2003 19:55:07 +0100, Henrik Persson wrote:
> Something was strange.. Now I get the errors.. But the funny thing is:
> when downloading the file there's no problem at all. Uploading the same

It's the Rhine Tx engine that's been giving us headaches all along. There's
at least one bug in the Rx path, too, but it's masked by the Tx problems.

Try this, log again. This will show whether I'm suspecting the right bug.

@@ -1290,6 +1290,9 @@ static void via_rhine_interrupt(int irq,
 	while ((intr_status = readw(ioaddr + IntrStatus))) {
 		/* Acknowledge all of the current interrupt sources ASAP. */
 		writew(intr_status & 0xffff, ioaddr + IntrStatus);
+		if (readb(ioaddr+0x84) & 0x08)
+			printk(KERN_DEBUG "Gotcha: %#x %#x %#x\n", intr_status,
+				readb(ioaddr+0x84), readb(ioaddr+0x86));
 
 		if (debug > 4)
 			printk(KERN_DEBUG "%s: Interrupt, status %4.4x.\n",

Roger

  reply	other threads:[~2003-02-11 19:21 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 [this message]
2003-02-11 20:31               ` Henrik Persson
2003-02-11 21:15                 ` Roger Luethi
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=20030211193126.GA3136@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