public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* VIA Rhine ethernet driver bug (reprise)
@ 2005-08-07 18:02 Udo van den Heuvel
  2005-08-11 10:34 ` Denis Vlasenko
  0 siblings, 1 reply; 2+ messages in thread
From: Udo van den Heuvel @ 2005-08-07 18:02 UTC (permalink / raw)
  To: linux-kernel

Hello,

In january of this year I mentioned a problem with the Linux kernel
driver for VIA Rhine ethernet chips. (see http://lkml.org/lkml/2005/1/15/47)
In the mean time this bug was reproduced quite a number of times on my
Fedora Core 3 (then)/4 (now) box (a VIA CL6000).

An alternative driver by VIA was used (with kernel 2.6.1x,
http://www.viaarena.com/downloads/Source/rhinefet.tgz); this VIA driver
did not have the Oversized ethernet frame bug but consumes quite a lot
of CPU when transfering a steady stream of a few 1000 KB/S, so it is no
good solution.

Since the ethernet connection goes down due to this bug I think I can
mark the bug as critical. The bug is still present in 2.6.12.
The maintainer of the driver cannot fix the bug. Who can?

Please post here and/or email me with your thoughts about a solution,
ways of fixing the bug. Would a small reward help?

Kind regards,
Udo


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: VIA Rhine ethernet driver bug (reprise)
  2005-08-07 18:02 VIA Rhine ethernet driver bug (reprise) Udo van den Heuvel
@ 2005-08-11 10:34 ` Denis Vlasenko
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Vlasenko @ 2005-08-11 10:34 UTC (permalink / raw)
  To: Udo van den Heuvel, linux-kernel

On Sunday 07 August 2005 21:02, Udo van den Heuvel wrote:
> Hello,
> 
> In january of this year I mentioned a problem with the Linux kernel
> driver for VIA Rhine ethernet chips. (see http://lkml.org/lkml/2005/1/15/47)
> In the mean time this bug was reproduced quite a number of times on my
> Fedora Core 3 (then)/4 (now) box (a VIA CL6000).
> 
> An alternative driver by VIA was used (with kernel 2.6.1x,
> http://www.viaarena.com/downloads/Source/rhinefet.tgz); this VIA driver
> did not have the Oversized ethernet frame bug but consumes quite a lot
> of CPU when transfering a steady stream of a few 1000 KB/S, so it is no
> good solution.
> 
> Since the ethernet connection goes down due to this bug I think I can
> mark the bug as critical. The bug is still present in 2.6.12.
> The maintainer of the driver cannot fix the bug. Who can?

at http://lkml.org/lkml/2005/1/15/47:
> I see messages like:
Jan 13 19:35:46 epia kernel: eth1: Oversized Ethernet frame spanned multiple buffers, entry 0x4 length 0 status 00000600!
Jan 13 19:35:46 epia kernel: eth1: Oversized Ethernet frame ccf80040 vs ccf80040.
Jan 13 19:35:46 epia kernel: eth1: Oversized Ethernet frame spanned multiple buffers, entry 0x5 length 0 status 00000400!
...
Jan 13 19:35:46 epia kernel: eth1: Oversized Ethernet frame spanned multiple buffers, entry 0x3 length 0 status 00000581!
Jan 13 19:35:46 epia kernel: eth1: Oversized Ethernet frame ccf80030 vs ccf80030.
every 3 or 4 days or so when I really use the card. (please notice all 16 entries are used and the length is 0)
>While googlin' I saw that this is an old bug which was not fixed for years.
I am in contact with the maintainer and currently am trying to see what
effect a smaller mtu and/or older driver versions might have.
>Because of the impact of this nasty bug (many users have these chips in
their hardware) I would like to ask if others could have a look into this
problem as well. Please email me your experiences (2.6.x kernel? Same bug or
no problem? Fixes? Etc).

What is "ccf80030 vs ccf80030"? Those numbers are the same...
Maybe you need to add more debugging prints in that part of code.

But anyway:

Since it happens less than once a day, why not just add a code
to reset the NIC completely in this case, like it is
typically done in tx_timeout handlers of many NICs, and forget about it?
--
vda


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-11 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-07 18:02 VIA Rhine ethernet driver bug (reprise) Udo van den Heuvel
2005-08-11 10:34 ` Denis Vlasenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox