Re: Via-Rhine stalls - transmit errors

From: Ivan Gurdiev (ivangurdiev@yahoo.com)
Date: Thu Mar 21 2002 - 15:49:51 EST


if ((intr_status & ~( IntrLinkChange | IntrStatsMax |
 IntrTxAborted ))) {
   if (debug > 1)
           printk(KERN_ERR "%s: Something Wicked happened!
%4.4x.\n",dev->name, intr_status);
 /* Recovery for other fault sources not known. */
  writew(CmdTxDemand | np->chip_cmd, dev->base_addr +
ChipCmd);
        }

What's classified as "Something Wicked" ?

Mar 20 21:52:00 cobra kernel: eth0: Something Wicked
happened! 0008.

This is tx abort isn't it?

Mar 20 21:51:59 cobra kernel: eth0: Something Wicked
happened! 001a.

...and this should be : tx underrun, tx abort, tx done

are those supposed to be logged as "Wicked"?
Those interrupts are handled earlier aren't they?
        if (intr_status & (underflow | IntrTxAbort))
        ...
        if (intr_status & IntrTxUnderrun) {
        ...

I'm quite ignorant of all this, but I'm trying to
learn. I apologize if this is a stupid question.

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:25 EST