Subject: kern/6772: ex network driver gets stuck from time to time
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 01/09/1999 01:36:11
>Number:         6772
>Category:       kern
>Synopsis:       ex network driver gets stuck from time to time
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan  8 16:50:01 1999
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Release:        981228
>Environment:
NetBSD jehova.owl.de 1.3I NetBSD 1.3I (JEHOVA) #1: Fri Jan  8 12:25:44 MET 1999     tron@jehova.owl.de:/src/sys/compile/JEHOVA i386

>Description:
I've got a router system equipped with two 3c509 and one 3c905 ethernet
card. Because the 3c905 connected to a cable modem got stucked from time
to time I connected it to another ethernet network (back to back with
a single router) and used one of the 3c509 boards for the cable modem.
While the 3c509 works fine with the cable modem so far the 3c905 got
stuck on the other network, too. There is no kernel message or any
other kind of error report. The interface just stops receiving data
and can only be revived by "ifconfig ex0 down" and "ifconfig ex0 up".

Here are the complete kernel messages printed during system startup:

NetBSD 1.3I (JEHOVA) #1: Fri Jan  8 12:25:44 MET 1999
    tron@jehova.owl.de:/src/sys/compile/JEHOVA
cpu0: family 4 model f step 4
cpu0: AMD Am5x86 W/B 133/160 (486-class)
real mem  = 41549824
avail mem = 36536320
using 532 buffers containing 2179072 bytes of memory
mainbus0 (root)
Warning: broken PCI-Host bridge detected; disabling memory-mapped access
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled
pchb0 at pci0 dev 5 function 0
pchb0: Silicon Integrated System 85C496 (rev. 0x31)
ex0 at pci0 dev 11 function 0: 3Com 3c905-TX Ethernet
ex0: interrupting at irq 9
ex0: MAC address 00:60:97:4b:71:7c
exphy0 at ex0 phy 24: 3Com internal media interface
exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
S3 Trio32/64 (VGA display, revision 0x54) at pci0 dev 15 function 0 not configured
isa0 at mainbus0
ep0 at isa0 port 0x300-0x30f irq 10: 3Com 3C509 Ethernet
ep0: address 00:20:af:b4:d3:76, 8KB byte-wide FIFO, 5:3 Rx:Tx split
ep0: 10baseT, 10base5, 10base2 (default 10base2)
ep1 at isa0 port 0x320-0x32f irq 11: 3Com 3C509 Ethernet
ep1: address 00:a0:24:3e:6e:45, 8KB byte-wide FIFO, 1:1 Rx:Tx split
ep1: 10baseT, 10base5, 10base2 (default 10baseT)
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <QUANTUM FIREBALL1280A>
wd0: drive supports 8-sector pio transfers, lba addressing
wd0: 1222MB, 2484 cyl, 16 head, 63 sec, 512 bytes/sect x 2503872 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2
wdc1 at isa0 port 0x170-0x177 irq 15
wd1 at wdc1 channel 0 drive 0: <SAMSUNG SHD-3212A (APOLLO-4) AD>
wd1: drive supports 16-sector pio transfers, chs addressing
wd1 407MB, 1002 cyl, 16 head, 52 sec, 512 bytes/sect x 833664 sectors
wd1: 32-bits data port
ast0 at isa0 port 0x1a0-0x1bf irq 5
com2 at ast0 slave 0: ns16550a, working fifo
com3 at ast0 slave 1: ns16550a, working fifo
com4 at ast0 slave 2: ns16550a, working fifo
com5 at ast0 slave 3: ns16550a, working fifo
ast1 at isa0 port 0x2a0-0x2bf irq 7
com6 at ast1 slave 0: ns16550a, working fifo
com7 at ast1 slave 1: ns16550a, working fifo
com8 at ast1 slave 2: ns16550a, working fifo
com9 at ast1 slave 3: ns16550a, working fifo
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: unknown s3, 80 col, color, 6 scr, mf2-kbd, [R3.32]
vt0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
biomask c040 netmask ce40 ttymask ce42
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
IP Filter: initialized.  Default = pass all, Logging = enabled

>How-To-Repeat:
Send large amonts of network traffic via an "ex" interface for between
one and six hours.

>Fix:
Sorry, I don't know.

>Audit-Trail:
>Unformatted: