Subject: xi0: device timeout
To: None <port-i386@netbsd.org>
From: Ross <rsander7@tampabay.rr.com>
List: port-i386
Date: 04/13/2002 02:32:13
I own a Thinkpad 380ED, 80 megs RAM, 2gb drive, with the Cirrus Logic PD6729 PCMCIA controller chipset and a Xircom XE2000 nic. It currently has the CVS source update for the 1.5 branch as of Friday, April 12.
I got the xi driver to recognize the NIC by adding in the patch I found in a post to the mailing list back in November and the NIC does get detected with the correct MAC address. ifconfig will configure the nic with the correct settings. However, when i go to ping another address on the LAN, ping will wait a while, then say host is unreachable and the kernel will post alerts "xi0: device timeout"
I have an older 3Com nic/modem combo (3c562d/3c563d) that works just fine with no timeouts, but it's mostly unuseable since the dongle doesn't stay in well at all.
Is there a source code patch that exists that will fix this or is it simply a configure error on my part? I assume that the "phy X not configured" should give me a clue, but what's missing?
Thanks,
Ross
PS: here is the link to the source code patch i mentioned:
http://mail-index.netbsd.org/netbsd-bugs/2001/11/08/0004.html
and my dmesg:
NetBSD 1.5.3 (LAPPIE) #1: Sat Apr 13 01:45:16 EDT 2002
root@:/usr/src/sys/arch/i386/compile/LAPPIE
cpu0: Intel Pentium/MMX (586-class), 167.05 MHz
total memory = 81536 KB
avail memory = 72416 KB
using 1044 buffers containing 4176 KB of memory
BIOS32 rev. 0 found at 0xfd860
PCI BIOS rev. 2.1 found at 0xfd8a0
pcibios: config mechanism [1][x], special cycles [1][x], last bus 0
PCI BIOS has 2 Interrupt Routing table entries
PCI Exclusive IRQs: 11
------------------------------------------
device vendor product pin PIRQ IRQ stage
------------------------------------------
000:03:0 0x10c8 0x0003 A 0x00 11 0 already assigned
------------------------------------------
PCI bus #0 is the last bus
[System BIOS Setting]-----------------------
device vendor product
register space address size
--------------------------------------------
000:00:0 0x8086 0x1235
[OK]
000:01:0 0x8086 0x1234
[OK]
000:03:0 0x10c8 0x0003
10h mem 0x08000000 0x00400000
[OK]
000:19:0 0x1013 0x1100
10h port 0x000003e0 0x00000004
[OK]
--------------------------[ 0 devices bogus]
Physical memory end: 0x04ffd000
PCI memory mapped I/O space start: 0x05000000
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 82437MX Mobile System Controller (MTSC) (rev. 0x02)
pcib0 at pci0 dev 1 function 0
pcib0: Intel 82371MX Mobile PCI I/O IDE Xcelerator (MPIIX) (rev. 0x03)
vga1 at pci0 dev 3 function 0: Neomagic MagicGraph 128ZV (rev. 0x02)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcic0 at pci0 dev 19 function 0: Cirrus Logic PD6729 PCMCIA controller
pcic0: controller 0 (Cirrus PD672X) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
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
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0 channel 0
cd0 at atapibus0 drive 1: <HITACHI CDR-S100, , 0038> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
wd0 at wdc0 channel 0 drive 0: <IBM-DTNA-22110>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 2016 MB, 4096 cyl, 16 head, 63 sec, 512 bytes/sect x 4128768 sectors
wd0: drive supports PIO mode 4, DMA mode 2
lpt2 at isa0 port 0x3bc-0x3bf: polled
pcppi0 at isa0 port 0x61
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
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
apm0 at mainbus0: Power Management spec V1.2
biomask efe5 netmask efe5 ttymask ffe7
pcic0: using irq 5 for socket events
IPsec: Initialized Security Association Processing.
xi0 at pcmcia1 function 0 port 0x400-0x40f: Xircom, 10/100 Network PC Card, XE2000 1.0
xi0: Ethernet address 00:10:a4:7b:91:2b
OUI 0x00057d model 0x0000 rev 0 at xi0 phy 0 not configured
OUI 0x00057d model 0x0000 rev 0 at xi0 phy 16 not configured
pcmcia1: card irq 7
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)
xi0: device timeout