Subject: port-i386/13406: sip0 driver fails as NFS client
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hal@vailsys.com>
List: netbsd-bugs
Date: 07/07/2001 23:30:50
>Number:         13406
>Category:       port-i386
>Synopsis:       sip0 underruns during cvs checkout to NFS mounts
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 07 21:29:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hal Snyder
>Release:        NetBSD 1.5.1
>Organization:
Vail Systems
>Environment:
System: NetBSD wasabi.vail 1.5.1 NetBSD 1.5.1 (GENERIC) #54: Mon Jun 25 22:09:57 CEST 2001 he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386


>Description:
	NFS mounts of fs exported from OpenBSD server that's been running
        over a year without problem start to fail with underruns reported
        to console only on this NetBSD client - see end of dmesg below

This problem looks a lot like port-i386/10905

Here's dmesg output with underruns showing up after boot messages:

NetBSD 1.5.1 (GENERIC) #54: Mon Jun 25 22:09:57 CEST 2001
    he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX (586-class), 200.46 MHz
total memory = 127 MB
avail memory = 113 MB   
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xf04e0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1   
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82439TX System Controller (MTXC) (rev. 0x01)
pcib0 at pci0 dev 1 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x01)
pciide0 at pci0 dev 1 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <WDC AC21600H>   
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 1549 MB, 3148 cyl, 16 head, 63 sec, 512 bytes/sect x 3173184 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <40X CD-ROM, MT1102  Firmware, VER 2.B> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 1 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x01) at pci0 dev 1 function 3 not configured
sip0 at pci0 dev 10 function 0: NatSemi DP83815 10/100 Ethernet
sip0: interrupting at irq 10
sip0: Ethernet address 00:a0:cc:77:6b:d7
ukphy0 at sip0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x080017, model 0x0002, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vga1 at pci0 dev 11 function 0: S3 ViRGE/DX (rev. 0x01)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask eb65 netmask ef65 ttymask ffe7
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
sip0: transmit FIFO underrun; increasing Tx drain threshold to 544 bytes
sip0: transmit FIFO underrun; increasing Tx drain threshold to 576 bytes
sip0: transmit FIFO underrun; increasing Tx drain threshold to 608 bytes
sip0: transmit FIFO underrun; increasing Tx drain threshold to 640 bytes
sip0: transmit FIFO underrun; increasing Tx drain threshold to 672 bytes
sip0: transmit FIFO underrun; increasing Tx drain threshold to 704 bytes
sip0: device timeout
sip0: device timeout
sip0: transmit FIFO underrun; increasing Tx drain threshold to 736 bytes
sip0: device timeout
nfs server nfs01.vail:/u2: not responding
sip0: transmit FIFO underrun; increasing Tx drain threshold to 768 bytes
sip0: device timeout
sip0: device timeout
...
sip0: receive ring overrun
sip0: transmit FIFO underrun; increasing Tx drain threshold to 928 bytes
sip0: device timeout

>How-To-Repeat:
	NFS mount a filesystem; do cvs co -P src to it
        (NetBSD cvsup image is in repository)
>Fix:
	replace the sip ethernet card with an fxp ??  :-)
>Release-Note:
>Audit-Trail:
>Unformatted: