Re: tulip driver: errors instead TX packets?

From: Adam Kropelin
Date: Tue Jan 13 2004 - 00:02:41 EST


On Mon, Jan 12, 2004 at 11:10:04PM +0100, Piotr Kaczuba wrote:
> Adam Kropelin wrote:
> > On Sun, Jan 11, 2004 at 01:16:03PM +0100, Piotr Kaczuba wrote:
> >
> >>Here is the output of dmesg after setting TULIP_DEBUG to 4 and starting
> >>pppd (eth0 is used by PPPoE). I agree that the code looks okay but
> >
> > <snip>
> >
> >>eth0: Transmit error, Tx status 1a078c80.
> >
> >
> > That would be heartbeat failure, no carrier, and loss of carrier. It's
> > interesting that you seem to be able to get valid packets on the wire
> > because the latter two errors are usually quite fatal. I suspect either
> > the Comet is just buggy and those error bits aren't to be trusted or
> > there is something wrong with the PHY config. I don't have docs on the
> > Comet PHY so there's not much I can do.
> >
> > On whim, does the patch below change anything for you?

<snip patch that disables SQE test>

> Unfortunately, not. The errors are still there, but the status code has
> changed. Below is an excerpt from kern.log after applying the patch.

<snip>

> Jan 12 21:35:09 orbiter kernel: eth0: Transmit error, Tx status 1a078c00.

Yep...we told it to disable the SQE test so the heartbeat error no
longer appears. The carrier errors are still present, though. This
definitely smells like a configuration problem, but without docs and a
card to test with there's not much else I can do. I'll poke thru the
code and see if anything else leaps out at me. If anybody out there
has Comet docs or a NIC that exhibits this problem they'd be willing to
loan I'll take a deeper look.

--Adam

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/