Hello fellows! [1.] One line summary of the problem: Using a rtl-8029 and a via-rhine II (VT6102) with ne2k-pci and via-rhine modules compiled-in causes rtl-8029 to stop working. [2.] Full description of the problem/report: I have a rtl-8029 as an internal NIC, and a via-rhine as the external link to the internet. Both are PCI. When I use the modules ne2k-pci (for the rtl-8029) and via-rhine compiled-in the kernel, I have problems: rtl-8029 stops working as soon as there's traffic in the via-rhine. Via-rhine doesn't seem to be affected, and keep working as long as I've tested, but rtl-8029 start giving ping (DUP!) until I kill the ping. Restarting the ping after killing gives me no error messages, but also no traffic. See section X for fixing info. [3.] Keywords (i.e., modules, networking, kernel): networking, modules, ne2k-pci, via-rhine [4.] Kernel version (from /proc/version): spectra@eriador:~% cat /proc/version Linux version 2.4.23 (root@eriador) (gcc version 3.3.2 (Debian)) #1 Sex Jan 2 19:26:33 BRST 2004 [5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) Not applicable [6.] A small shell script or example program which triggers the problem (if possible) Just keep pinging through rtl-8029 and start pinging through via-rhine. Rtl-8029 is going to start giving DUP! not affecting via-rhine. If you kill rtl-8029's pings there's no way to restart it. It seems the NIC stop doing anything with the packets. There's no error messages, just the ping header and nothing (as if it were loosing the packets, or not getting the answers). [7.] Environment [7.1.] Software (add the output of the ver_linux script here) Linux eriador 2.4.23 #1 Sex Jan 2 19:26:33 BRST 2004 i686 GNU/Linux Gnu C 3.3.2 Gnu make 3.80 util-linux 2.12 mount 2.12 modutils 2.4.25 e2fsprogs 1.35-WIP PPP 2.4.2b3 Linux C Library 2.3.2 Dynamic linker (ldd) 2.3.2 Procps 3.1.14 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 5.0.91 Modules Loaded ipt_multiport sg ipt_REJECT ipt_MASQUERADE nvidia lp ipt_limit ipt_LOG ipt_state iptable_filter iptable_nat ip_conntrack ip_tables usb-uhci usbcore mii 8390 crc32 sr_mod cdrom tun ide-scsi scsi_mod [7.2.] Processor information (from /proc/cpuinfo): spectra@eriador:~% cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 8 model name : AMD Athlon(TM) XP 2000+ stepping : 0 cpu MHz : 1666.767 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 3322.67 [7.3.] Module information (from /proc/modules): spectra@eriador:~% cat /proc/modules ipt_multiport 696 1 (autoclean) sg 27644 0 (autoclean) ipt_REJECT 3544 0 (autoclean) ipt_MASQUERADE 1496 1 (autoclean) nvidia 1630432 22 (autoclean) lp 6784 0 (autoclean) ipt_limit 888 4 (autoclean) ipt_LOG 3416 1 (autoclean) ipt_state 568 3 (autoclean) iptable_filter 1772 1 (autoclean) iptable_nat 16014 1 (autoclean) [ipt_MASQUERADE] ip_conntrack 19908 2 (autoclean) [ipt_MASQUERADE ipt_state iptable_n at] ip_tables 12288 10 [ipt_multiport ipt_REJECT ipt_MASQUERADE ipt_li mit ipt_LOG ipt_state iptable_filter iptable_nat] usb-uhci 23280 0 (unused) usbcore 62956 1 [usb-uhci] sr_mod 15704 0 (unused) cdrom 28704 0 [sr_mod] tun 4288 3 ide-scsi 10224 0 scsi_mod 87424 3 [sg sr_mod ide-scsi] [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) spectra@eriador:~% cat /proc/ioports 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0376-0376 : ide1 0378-037a : parport0 03c0-03df : vga+ 03f2-03f5 : floppy 03f6-03f6 : ide0 03f7-03f7 : floppy DIR 0cf8-0cff : PCI conf1 a400-a4ff : VIA Technologies, Inc. VT6102 [Rhine-II] a400-a4ff : via-rhine a800-a80f : VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Mas ter IDE a800-a807 : ide0 a808-a80f : ide1 b000-b01f : VIA Technologies, Inc. USB (#3) b000-b01f : usb-uhci b400-b41f : VIA Technologies, Inc. USB (#2) b400-b41f : usb-uhci b800-b81f : VIA Technologies, Inc. USB b800-b81f : usb-uhci d000-d007 : US Robotics/3Com 56K FaxModem Model 5610 d000-d007 : serial(set) d400-d41f : Realtek Semiconductor Co., Ltd. RTL-8029(AS) d400-d41f : ne2k-pci d800-d8ff : 3Dfx Interactive, Inc. Voodoo 3 e000-e0ff : VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller e000-e0ff : via82cxxx_audio pectra@eriador:~% cat /proc/iomem 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-1fffbfff : System RAM 00100000-00258f6a : Kernel code 00258f6b-002db943 : Kernel data 1fffc000-1fffefff : ACPI Tables 1ffff000-1fffffff : ACPI Non-volatile Storage e7000000-e70000ff : VIA Technologies, Inc. VT6102 [Rhine-II] e7000000-e70000ff : via-rhine e7800000-e78000ff : VIA Technologies, Inc. USB 2.0 e8000000-e9ffffff : 3Dfx Interactive, Inc. Voodoo 3 ea000000-ebefffff : PCI Bus #01 ea000000-eaffffff : nVidia Corporation NV17 [GeForce4 MX 440] ec000000-edffffff : 3Dfx Interactive, Inc. Voodoo 3 ef700000-f7ffffff : PCI Bus #01 ef800000-ef87ffff : nVidia Corporation NV17 [GeForce4 MX 440] f0000000-f7ffffff : nVidia Corporation NV17 [GeForce4 MX 440] f8000000-fbffffff : VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge fec00000-fec00fff : reserved fee00000-fee00fff : reserved ffff0000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root) root@eriador# lspci -vvv 00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge Subsystem: Asustek Computer, Inc. A7V8X motherboard Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 0 Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M] Capabilities: [a0] AGP version 2.0 Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4 Command: RQ=32 ArqSz=0 Cal=0 SBA- AGP+ GART64- 64bit- FW- Rate=x4 Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- Latency: 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000e000-0000dfff Memory behind bridge: ea000000-ebefffff Prefetchable memory behind bridge: ef700000-f7ffffff BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0c.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01) (prog-if 00 [VGA]) Subsystem: 3Dfx Interactive, Inc. Voodoo3 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR+ Interrupt: pin A routed to IRQ 19 Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=32M] Region 1: Memory at ec000000 (32-bit, prefetchable) [size=32M] Region 2: I/O ports at d800 [size=256] Expansion ROM at ebff0000 [disabled] [size=64K] Capabilities: [60] Power Management version 1 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) Subsystem: Realtek Semiconductor Co., Ltd. RTL-8029(AS) Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin A routed to IRQ 16 Region 0: I/O ports at d400 [size=32] 00:0f.0 Serial controller: 5610 56K FaxModem 56K FaxModem Model 5610 (rev 01) (prog-if 02 [16550]) Subsystem: 5610 56K FaxModem USR 56k Internal Voice Modem (Model 2976) Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin A routed to IRQ 18 Region 0: I/O ports at d000 [size=8] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2 PME- 00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI]) Subsystem: Asustek Computer, Inc.: Unknown device 80a1 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32, Cache Line Size: 0x08 (32 bytes) Interrupt: pin A routed to IRQ 21 Region 4: I/O ports at b800 [size=32] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI]) Subsystem: Asustek Computer, Inc.: Unknown device 80a1 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32, Cache Line Size: 0x08 (32 bytes) Interrupt: pin B routed to IRQ 21 Region 4: I/O ports at b400 [size=32] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI]) Subsystem: Asustek Computer, Inc.: Unknown device 80a1 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32, Cache Line Size: 0x08 (32 bytes) Interrupt: pin C routed to IRQ 21 Region 4: I/O ports at b000 [size=32] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI]) Subsystem: Asustek Computer, Inc.: Unknown device 80a1 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32, Cache Line Size: 0x08 (32 bytes) Interrupt: pin D routed to IRQ 21 Region 0: Memory at e7800000 (32-bit, non-prefetchable) [size=256] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge Subsystem: Asustek Computer, Inc.: Unknown device 80a1 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP]) Subsystem: Asustek Computer, Inc.: Unknown device 80a1 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 Interrupt: pin A routed to IRQ 255 Region 4: I/O ports at a800 [size=16] Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 50) Subsystem: Asustek Computer, Inc.: Unknown device 80a1 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin C routed to IRQ 22 Region 0: I/O ports at e000 [size=256] Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74) Subsystem: Asustek Computer, Inc.: Unknown device 80a1 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (750ns min, 2000ns max), Cache Line Size: 0x08 (32 bytes) Interrupt: pin A routed to IRQ 23 Region 0: I/O ports at a400 [size=256] Region 1: Memory at e7000000 (32-bit, non-prefetchable) [size=256] Capabilities: [40] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3) (prog-if 00 [VGA]) Subsystem: PROLINK Microsystems Corp: Unknown device 10e2 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 248 (1250ns min, 250ns max) Interrupt: pin A routed to IRQ 16 Region 0: Memory at ea000000 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at f0000000 (32-bit, prefetchable) [size=128M] Region 2: Memory at ef800000 (32-bit, prefetchable) [size=512K] Expansion ROM at ef7e0000 [disabled] [size=128K] Capabilities: [60] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [44] AGP version 2.0 Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA- ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4 Command: RQ=32 ArqSz=0 Cal=0 SBA- AGP+ GART64- 64bit- FW- Rate=x4 [7.6.] SCSI information (from /proc/scsi/scsi) spectra@eriador:~% cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HL-DT-ST Model: RW/DVD GCC-4480B Rev: 1.02 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: HP Model: CD-Writer+ 9300 Rev: 1.0b Type: CD-ROM ANSI SCSI revision: 02 [7.7.] Other information that might be relevant to the problem (please look in /proc and include all information that you think to be relevant): I have a Xinerama system with an nVidia GeForce and a Voodoo3 (just in case you're wondering why I have two video cards. I emulate SCSI for the CD-RWs (no real SCSI cards). [X.] Other notes, patches, fixes, workarounds: Compiling each one as a module while leaving the other compiled-in gives me the same behaviour. Compiling both as modules and modprobing them after reboot FIXES the problem. -- Pablo Lorenzzoni (Spectra) <spectra@debian.org> GnuPG: 0x268A084D at pgp.mit.edu/keyring.debian.org This message is protected by DoubleROT13 encryption Attempting to decode it violates the DMCA/WIPO acts - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html