[realtek-bug] 8139c problem ( oversized ethernet frame )

highword@gmx.net highword@gmx.net
Fri Oct 4 23:42:00 2002


Hello,

This problem already seems to be posted in august, but I found no 
solution for it... So IŽll try it again.

When downloading a file, I had no problem. Always when I try to upload a 
file it stops... Also a ping is no longer possible...
This "thing" happens always when I upload a file. It seems not no happen 
when I ping, neither using windows. It happens using FTP and NFS, it 
didnŽt occur so far, using ssh (slower transmission, or packet size ???)

Maybe someone can help. ???

I have a Edimax EP-4103DL and I tried rtl8139 and 8139too...
It would be great if anyone knows, how to get one of both to work.
( I can provide more debug info, e.g. rtl8139.c at debug level 31 )

Thanks
Arthur

1) First I had to modify rtl8139.c ( I added the device id ), after this 
it was just fine until the problem described above occured...

logs:
-----

messages:

---
Oct  5 01:46:11 portable kernel: Linux PCMCIA Card Services 3.1.34
Oct  5 01:46:11 portable kernel:   kernel build: 2.4.19 #3 Tue Sep 10 
18:45:05 CEST 2002
Oct  5 01:46:11 portable kernel:   options:  [pci] [cardbus] [apm]
Oct  5 01:46:11 portable kernel: Intel ISA/PCI/CardBus PCIC probe:
Oct  5 01:46:11 portable kernel: PCI: Guessed IRQ 9 for device 00:13.0
Oct  5 01:46:11 portable kernel: PCI: Sharing IRQ 9 with 00:13.1
Oct  5 01:46:11 portable kernel: PCI: Guessed IRQ 9 for device 00:13.1
Oct  5 01:46:11 portable kernel: PCI: Sharing IRQ 9 with 00:13.0
Oct  5 01:46:11 portable kernel:   O2Micro OZ6832/33 rev 34 
PCI-to-CardBus at slot 00:13, mem 0x10000000
Oct  5 01:46:11 portable kernel:     host opts [0]: [ring] [pci/way] 
[pci irq 9] [lat 32/176] [bus 2/5]
Oct  5 01:46:11 portable kernel:     host opts [1]: [ring] [pci/way] 
[pci irq 9] [lat 32/176] [bus 6/9]
Oct  5 01:46:11 portable kernel:     ISA irqs (default) = 3,4,7,11,12 
PCI status changes
Oct  5 01:46:11 portable cardmgr[476]: watching 2 sockets
Oct  5 01:46:11 portable cardmgr[477]: starting, version is 3.1.34
Oct  5 01:46:11 portable kernel: cs: cb_alloc(bus 2): vendor 0x13d1, 
device 0xab06
Oct  5 01:46:11 portable cardmgr[477]: socket 0: Edimax EP-4103
Oct  5 01:46:12 portable cardmgr[477]: executing: 'modprobe cb_enabler'
Oct  5 01:46:12 portable cardmgr[477]: executing: 'modprobe pci-scan'
Oct  5 01:46:12 portable kernel: pci-scan.c:v1.11 8/31/2002  Donald 
Becker <becker@scyld.com> http://www.scyld.com/linux/drivers.html
Oct  5 01:46:12 portable cardmgr[477]: executing: 'modprobe cb_shim'
Oct  5 01:46:12 portable kernel: cb_shim.c:v1.03 7/12/2002  Donald 
Becker <becker@scyld.com>
Oct  5 01:46:12 portable kernel:  http://www.scyld.com/linux/drivers.html
Oct  5 01:46:12 portable cardmgr[477]: executing: 'modprobe rtl8139'
Oct  5 01:46:12 portable kernel: rtl8139.c:v1.20a 7/24/2002 Donald 
Becker, becker@scyld.com.
Oct  5 01:46:12 portable kernel:  http://www.scyld.com/network/rtl8139.html
Oct  5 01:46:12 portable kernel: cs: cb_config(bus 2)
Oct  5 01:46:12 portable kernel: cs: IO port probe 0x0100-0x04ff: 
excluding 0x3c0-0x3df 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
Oct  5 01:46:12 portable kernel: cs: IO port probe 0x03e0-0x0407: clean.
Oct  5 01:46:12 portable kernel: cs: IO port probe 0x0410-0x047f: clean.
Oct  5 01:46:12 portable kernel: cs: IO port probe 0x0490-0x04cf: clean.
Oct  5 01:46:12 portable kernel: cs: IO port probe 0x04d8-0x04ff: clean.
Oct  5 01:46:12 portable kernel: cs: IO port probe 0x0800-0x08ff: clean.
Oct  5 01:46:12 portable kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Oct  5 01:46:12 portable kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Oct  5 01:46:12 portable kernel:   fn 0 bar 1: io 0x800-0x8ff
Oct  5 01:46:12 portable cardmgr[477]: executing: './network start eth0'
Oct  5 01:46:12 portable kernel:   fn 0 bar 2: mem 0x60001000-0x600011ff
Oct  5 01:46:12 portable kernel:   irq 9
Oct  5 01:46:12 portable kernel: Found a Edimax CardBus 10/100Mbps Fast 
Ethernet (EP-4103DL) at 2/0 address 0x801->0x800 IRQ 9.
Oct  5 01:46:12 portable kernel: Edimax CardBus 10/100Mbps Fast Ethernet 
(EP-4103DL) at 2/0 command 0x7.
Oct  5 01:46:12 portable kernel: eth0: Edimax CardBus 10/100Mbps Fast 
Ethernet (EP-4103DL) at 0x800, IRQ 9, 00:e0:98:9d:c0:d9.
Oct  5 01:46:12 portable kernel: eth0: Setting half-duplex based on 
auto-negotiated partner ability 0000.
Oct  5 01:46:13 portable kernel: eth0: Abnormal interrupt, status 00000020.
Oct  5 01:48:11 portable kernel:  intstat=0x0000.
Oct  5 01:48:11 portable kernel: <a8 2d 14 c0 a8 2d 0a 28 db 04 06 1f d0 
6c a0 2e 3e f7 3e 80 10 21 f0 70 7b 00 00 01 01 08 0a 00 00 99 2f 00 00 
90 e4.
Oct  5 01:48:17 portable kernel: <e size 1514 to slot 0.
Oct  5 01:48:24 portable kernel: <798 9d c0 d9 00 00 b4 45 72 a6 08 00 
45 10 00 34 0e 82 40 00 40 06 50 c3 c0 a8 2d 14 c0 a8 2d 0a 28 db 04 06 
1f d0 6c a0 2e d7 77 de 80 10 7c 70 8a c6 00 00 01 01 08 0a 00 00 9e 2d 
00 00 95 e2.
Oct  5 01:48:27 portable kernel: <7 12 04 40 00 40 06 4d 41 c0 a8 2d 14 
c0 a8 2d 0a 28 db 04 06 1f d0 6c a0 2e ff 17 ee 80 10 7c 70 e8 10 00 00 
01 01 08 0a 00 00 9f 6c 00 00 97 21.
Oct  5 01:48:40 portable kernel: eued Tx packet at c378105e size 1514 to 
slot 2.
Oct  5 01:48:48 portable kernel:
Oct  5 01:48:50 portable kernel: errupt, intr_status=0x0000.
Oct  5 01:49:04 portable kernel: eth0: Oversized Ethernet frame, status 
cccccccc!
Oct  5 01:49:04 portable kernel: eth0: Abnormal interrupt, status 00000021.
---

syslog:

----
Oct  5 01:46:12 portable kernel: PCI device 'Edimax CardBus 10/100Mbps 
Fast Ethernet (EP-4103DL)' was not assigned an IRQ.
Oct  5 01:46:12 portable kernel: It will not be activated.
Oct  5 01:46:12 portable kernel: eth0: Handling power event 1.
---

rtl8139-dag output:

---
rtl8139-diag.c:v2.10 9/18/2002 Donald Becker (becker@scyld.com)
  http://www.scyld.com/diag/index.html
Index #1: Found a Edimax CardBus 10/100Mbps Fast Ethernet (EP-4103DL) 
adapter at 0x800.
Realtek station address 00:e0:98:9d:c0:d9, chip type 'rtl8139C'.
   Receiver configuration: Normal unicast and hashed multicast
      Rx FIFO threshold 256 bytes, maximum burst 256 bytes, 32KB ring
   Transmitter enabled with normal settings, maximum burst 256 bytes.
   Flow control: Tx disabled  Rx disabled.
   The chip configuration is 0x10 0x0d, MII half-duplex mode.
   No interrupt sources are pending.
----

After the freeze two lines changed...

----
   Receiver configuration: Reception disabled
      Rx FIFO threshold 16 bytes, maximum burst 16 bytes, 8KB ring
----


2) Then I gave 8139too a try, but I wasnŽt even able to set up the eth0 
device... From the logs:

messages:

---
Oct  5 05:02:10 portable kernel: Linux PCMCIA Card Services 3.1.34
Oct  5 05:02:10 portable kernel:   kernel build: 2.4.19 #3 Tue Sep 10 
18:45:05 CEST 2002
Oct  5 05:02:10 portable kernel:   options:  [pci] [cardbus] [apm]
Oct  5 05:02:10 portable kernel: Intel ISA/PCI/CardBus PCIC probe:
Oct  5 05:02:10 portable kernel: PCI: Guessed IRQ 9 for device 00:13.0
Oct  5 05:02:10 portable kernel: PCI: Sharing IRQ 9 with 00:13.1
Oct  5 05:02:10 portable kernel: PCI: Guessed IRQ 9 for device 00:13.1
Oct  5 05:02:10 portable kernel: PCI: Sharing IRQ 9 with 00:13.0
Oct  5 05:02:10 portable kernel:   O2Micro OZ6832/33 rev 34 
PCI-to-CardBus at slot 00:13, mem 0x10000000
Oct  5 05:02:10 portable kernel:     host opts [0]: [ring] [pci/way] 
[pci irq 9] [lat 32/176] [bus 2/5]
Oct  5 05:02:10 portable kernel:     host opts [1]: [ring] [pci/way] 
[pci irq 9] [lat 32/176] [bus 6/9]
Oct  5 05:02:10 portable kernel:     ISA irqs (default) = 3,4,7,10,11,12 
PCI status changes
Oct  5 05:02:10 portable cardmgr[1058]: watching 2 sockets
Oct  5 05:02:10 portable cardmgr[1059]: starting, version is 3.1.34
Oct  5 05:02:11 portable kernel: cs: cb_alloc(bus 2): vendor 0x13d1, 
device 0xab06
Oct  5 05:02:11 portable cardmgr[1059]: socket 0: Edimax EP-4103
Oct  5 05:02:11 portable cardmgr[1059]: executing: 'modprobe cb_enabler'
Oct  5 05:02:11 portable cardmgr[1059]: executing: 'modprobe 8139too'
Oct  5 05:02:11 portable kernel: 8139too Fast Ethernet driver 0.9.25
Oct  5 05:02:11 portable cardmgr[1059]: + 
/lib/modules/2.4.19/kernel/drivers/net/8139too.o: init_module: No such 
device
Oct  5 05:02:11 portable cardmgr[1059]: + 
/lib/modules/2.4.19/kernel/drivers/net/8139too.o: Hint: insmod errors 
can be caused by incorrect module parameters, including invalid IO or 
IRQ parameters.
Oct  5 05:02:11 portable cardmgr[1059]: +       You may find more 
information in syslog or the output from dmesg
Oct  5 05:02:11 portable cardmgr[1059]: + 
/lib/modules/2.4.19/kernel/drivers/net/8139too.o: insmod 
/lib/modules/2.4.19/kernel/drivers/net/8139too.o failed
Oct  5 05:02:11 portable cardmgr[1059]: + 
/lib/modules/2.4.19/kernel/drivers/net/8139too.o: insmod 8139too failed
Oct  5 05:02:11 portable cardmgr[1059]: modprobe exited with status 255
Oct  5 05:02:11 portable cardmgr[1059]: module 
/lib/modules/2.4.19/pcmcia/8139too.o not available
Oct  5 05:02:12 portable cardmgr[1059]: get dev info on socket 0 failed: 
Resource temporarily unavailable
Oct  5 05:02:12 portable cardmgr[1059]: wrong module '8139too' for 
device 'realtek'?
---

syslog:

---
Oct  5 05:02:11 portable kernel: PCI: No IRQ known for interrupt pin A 
of device . Please try using pci=biosirq.
Oct  5 05:02:11 portable kernel: 8139too: : region #1 not an MMIO 
resource, aborting
---