[realtek] bug found in driver

Chris Leavoy cyber@phix-it.com
Thu, 3 Aug 2000 18:59:35 -0400 (EDT)


> > I grabbed the rtl8139.c out of the 2.3 kernel source, but i wasnt able to
> > compile it under my 2.2 kernel source.  Right now, i cant switch over to
> > 2.3/2.4.  Is there some way that i could somehow compile this patched
> > version without changing kernels?
> 
> Someone did port 8139too to 2.2.x kernels: 
> http://gtf.org/garzik/kernel/files/rtl8139too-2.2-diffs.gz  However,
> since I've been focusing on 2.4.x that diff (against 2.2.16) is
> completely unreviewed and untested.

I applied that diff file to my source tree, and made the module.
I loaded the module and did the same tests that i did before.

kernel: eth0: Tx queue start entry 44186  dirty entry 44186.
kernel: eth0:  Tx descriptor 0 is 0008a5ea.
kernel: eth0:  Tx descriptor 1 is 0008a5ea.
kernel: eth0:  Tx descriptor 2 is 0008a5ea. (queue head)
kernel: eth0:  Tx descriptor 3 is 0008a5ea.
kernel: Assertion failed! rp->mapping !=0,8139too.c,rtl8139_tx_timeout,
line=1491
last message repeated 3 times
  [ -- at this point, the card is still working fine -- ]

but then after putting more load on, the card "froze" just like it did
using the rtl8139.c driver. i checked the version numbers in the patched
8139too file, they are the same as the ones on the webpage.

Thanks,
Chris Leavoy