Subject: realtek 8139 fails, watchdog timeout
To: None <port-i386@netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: port-i386
Date: 02/11/2003 17:02:37
-----BEGIN PGP SIGNED MESSAGE-----


We have one of:
NetBSD 1.6 (GENERIC) #0: Sun Sep  8 19:43:40 UTC 2002
    autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (Katmai) (686-class), 448.07 MHz
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 2-way
cpu0: L2 cache 512 KB 32b/line 4-way
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
total memory = 127 MB
avail memory = 112 MB
....
rtk0 at pci0 dev 16 function 0: RealTek 8139 10/100BaseTX
rtk0: interrupting at irq 10
rtk0: Ethernet address 00:50:fc:4e:f7:a9
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

in an IBM PC300. 
cpu0: Intel Pentium III (Katmai) (686-class), 448.07 MHz

this is a router. We have two identical systems, btw.

We threw it in, because it was on hand, and the tlp/"SMC" (Brand) was still
on order. 

fxp0 at pci0 dev 3 function 0: i82558 Ethernet, rev 5
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:06:29:70:4e:c0
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk0 at pci0 dev 16 function 0: RealTek 8139 10/100BaseTX
rtk0: interrupting at irq 10
rtk0: Ethernet address 00:50:fc:4e:f7:a9
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp0 at pci0 dev 18 function 0: ADMtek AN985 Ethernet, pass 1.1
tlp0: interrupting at irq 9
tlp0: Ethernet address 00:50:bf:fe:e1:e3
ukphy1 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x00e092, model 0x0001, rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp1 at pci0 dev 20 function 0: ADMtek AN985 Ethernet, pass 1.1
tlp1: interrupting at irq 9
tlp1: Ethernet address 00:04:5a:6e:7d:ca
ukphy2 at tlp1 phy 1: Generic IEEE 802.3u media interface
ukphy2: OUI 0x00e092, model 0x0001, rev. 1
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

We get:

rtk0: watchdog timeout

and no communication on it. Any ideas?  Before I file a PR, I'd be
happy to try other things.

We played with PCI bios a bit to see if perhaps we had gotten an
unuseable IRQ (ISA) or if the slot was screwed up.

We happened to have *1* additional tulip card around today, so
we also tried it:

fxp0 at pci0 dev 3 function 0: i82558 Ethernet, rev 5
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:06:29:70:0f:c9
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk0 at pci0 dev 16 function 0: RealTek 8139 10/100BaseTX
rtk0: interrupting at irq 5
rtk0: Ethernet address 00:50:fc:4e:f7:7d
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp0 at pci0 dev 18 function 0: ADMtek AN985 Ethernet, pass 1.1
tlp0: interrupting at irq 9
tlp0: Ethernet address 00:50:bf:fe:ce:7c
ukphy1 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x00e092, model 0x0001, rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp1 at pci0 dev 20 function 0: ADMtek AN985 Ethernet, pass 1.1
tlp1: interrupting at irq 9
tlp1: Ethernet address 00:04:5a:7b:a9:39
ukphy2 at tlp1 phy 1: Generic IEEE 802.3u media interface
ukphy2: OUI 0x00e092, model 0x0001, rev. 1
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

i.e. the slot works fine.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPkly+IqHRg3pndX9AQGWBQQA6Z6BJjYjxPUIeJp9q8fOUw4nin1SbLUZ
26ux3FOyDJOEfwawCGzjWVSTH6UZvCQ8BCShFwDqu6Y4h8TTfx5d+6bp6h+eSVIx
VPosnQGj+vyQ0igoTl8SbaPiVZ1PcmuV9mAr513t6oTewNefXjJst2PWU23ODe4X
fNZSBzyU82w=
=M+OA
-----END PGP SIGNATURE-----