Subject: port-i386/14965: sip driver troubles
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/16/2001 15:18:47
>Number:         14965
>Category:       port-i386
>Synopsis:       sip0 underruns/times out and fails to find MAC address
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 16 12:20:00 PST 2001
>Originator:     Chronos
>Release:        NetBSD 1.5.1
	800mhz AMD Duron with integrated on board ethernet port.

System: NetBSD cerebro 1.5.1 NetBSD 1.5.1 (GENERIC) #56: Mon Jul 2 15:54:23 CEST 2001 i386


This looks like it could be similar to pr#13406 except for the MAC address problems.

The MAC address comes up all zeros.
Appletalk doesn't show up at all unless tcpdump is running.
The flags on the interface change from 8843 to 8b43
(adding PROMISC and ALLMULTI).

Any heavy use of the network services results in underruns and device time outs.

I'm not sure exactly which ethernet hardware was used with this motherboard,
but it's from pcchips so an SiS chip doesn't sound unreasonable.
I also have another system that's identical to this one.
It's running Windows 98 and recognizes the ethernet address just fine.

Here is some odd info I've collected...

dmesg output:
sip0 at pci0 dev 1 function 1: SiS 900 10/100 Ethernet
sip0: interrupting at irq 5
sip0: Ethernet address 00:00:00:00:00:00
ukphy0 at sip0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000020, model 0x0020, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

$ ifconfig sip0
        address: 00:00:00:00:00:00
        media: Ethernet autoselect (none)
        status: active
        inet netmask 0xffffff00 broadcast
        inet alias netmask 0xffffff00 broadcast
        inet6 fe80::ec1c:b281:e8d6:6dd6%sip0 prefixlen 64 scopeid 0x1
        atalk 65280.14 range 1-65534 phase 2 broadcast 65280.14

syslog messages:
Dec 16 14:04:03 cerebro /netbsd: sip0: device timeout
Dec 16 14:06:30 cerebro /netbsd: sip0: transmit FIFO underrun
Dec 16 14:07:02 cerebro last message repeated 29 times
Dec 16 14:09:06 cerebro last message repeated 98 times
Dec 16 14:18:53 cerebro last message repeated 440 times
Dec 16 14:29:11 cerebro last message repeated 303 times
Dec 16 14:29:39 cerebro last message repeated 22 times
Dec 16 14:30:00 cerebro /netbsd: sip0: device timeout
Dec 16 14:30:07 cerebro /netbsd: sip0: transmit FIFO underrun
Dec 16 14:30:38 cerebro last message repeated 17 times
Dec 16 14:32:39 cerebro last message repeated 65 times

	Access any of the network intensive services; ftp, samba shares, etc.