Re: via rhine bug? (timeouts and resets)

From: Roger Luethi (
Date: Tue Feb 11 2003 - 14:31:27 EST

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",

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:35 EST