Re: rx stops after 128KiB?
Tino Keitel <[email protected]> Thu, 9 Oct 2003 21:25:12 +0200
| Newsgroups | gmane.linux.drivers.realtek.devel |
|---|---|
| Message-ID | <20031009192512.GA26722@thinkpad> |
On Thu, Oct 09, 2003 at 14:15:23 -0400, Donald Becker wrote: > On Thu, 9 Oct 2003, Tino Keitel wrote: > > > I have a NexNIC MD010C, an RTL 8139 based 100 MBit NIC. I > > downloaded the driver and compiled a pcmcia-cs driver and tweaked > > the config so the cardmgr detects the card. Now I got these > > messages in syslog: > ... > > kernel: eth1: RealTek RTL8129 Fast Ethernet at 0x800, IRQ 10, > > 00:10:60:5a:02:fd. > > How did you tweak things? The driver is detecting this as the old > rtl8129, not the rtl8139c that it likely is. I added these two sections to /etc/pcmcia/config: device "realtek_cb" class "network" module "cb_enabler", "realtek_cb" card "CardBus PC Card" manfid 0x0000, 0x021b bind "realtek_cb" > > > kernel: eth1: No MII transceivers found! Assuming SYM transceiver. > > And > > > cardmgr[237]: executing: 'modprobe -r realtek_cb' > > Oh, you are using the old-style driver with a 2.4 kernel compiled to use > new-style drivers. Why? I'm pretty sure that all PCMCIA/Cardbus stuff is disbled in the kernel .config-file. But the driver and the kernel was built on another machine, maybe I did something wrong. I can not use the kernel driver, since the Cardbus driver in the 2.4 kernel does not support the old Cardbus bridge in my notebook. It uses ISA IRQs, and only the Cardbus driver from pcmcia-cs has a fallback to ISA IRQs implemented. > > Try using the Makefile, which also builds cb_shim. And set the > PCMCIA configuration as described in > http://www.scyld.com/network/updates.html Thanks, I will look at it. > > After some analysis I found out that the card can send a large amount > > of data. However, after recieving some data, the above problem will > > occur. I tested with scp and ftp. The former stops afer 132 KiB, the > > The transfer will likely stop every 64KB, as the rtl8129 wrapped packets > slightly differently than the rtl8139. Regards, Tino