Subject: Problem with xi0 on 1.5.2 (Xircom PCMCIA): device timeout
To: None <port-i386@netbsd.org>
From: Sean J. Schluntz <schluntz@workofstone.com>
List: port-i386
Date: 05/04/2002 12:37:26
I've read through the lists, and have found a coule of suggestions 
for the:

xi0: device timetout

Error.  I've tried the PCIC_ISA_INTR_ALLOC_MASK option in the kernel
and it does not help.

Any suggestions on how I can get my Laptops working with this
NIC would be helpful.

My systems: Sony PCG-F370 laptop (two of them)
The Card: Xircom RealPort Eathernet 10/100 RE-100 (PCCARD, not Cardbus)

Here are the messages I'm getting from the system: (please excuse any
typos, this was done my hand since I can't conect to the system over the
net.)

  Rockwell Semiconductor Systems product 0x2005 (communicatoins subclass 0x08, revision 0x01) at pci0 dev 10 function 0 not configured
  cbb0 at pci0 dev 12 function 0: Ricoh 5C478 PCI-CardBus bridge (rev. 0x80)
  cbb1 at pci0 dev 12 function 1: Ricoh 5C478 PCI-CardBus bridge (rev. 0x80)
  cbb0: interrupting at irq 9
  cbb0: cacheline 0x0 lattimer 0x20
  cbb0: bhlc 0x821000 lscp 0x20020200
  cardslot 0 at cbb0 slot 0 flags 0
  cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
  pcmcia0 at cardslot0
  cbb1: interrupting at ir1 0
  cbb1: cacheline 0x0 lattimer 0x20
  cbb1: bhlc 0x821000 lscp 0x20030300
  cardslot at cbb1 slot 1 flags0
  cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
  pcmcia 1 at cardslot 1

  xi0 at pcmcia1 function 0: Xircom CreditCard 10/100 Ethernet
  xi0: Ethernet address 00:10:a4:b5:19:6d
  xi0: device timeout

Looking at dmesg there are only three things attached to irq 9:

  uhci0: interrupting at irq 9
  cbb0: interrupting at irq 9
  cbb1: interrupting at irq 9

But looking at the "device vendor product pin PIRQ IRQ stage listing:
  device   vendor product pin PIRQ IRQ stage
  000:07:2 0x8086 0x7112   D  0x03  9    0   already assigned
  000:08:0 0x104d 0x8039   A  0x03  9    0   already assigned
  000:09:0 0x1073 0x0010   A  0x02  9    0   already assigned
  000:10:0 0x2005 0x2005   A  0x01  9    0   already assigned
  000:12:0 0x1180 0x0478   A  0x00  9    0   fixed up
  000:12:1 0x1180 0x0478   B  0x01  9    0   fixed up

I've tried turning off USB, but the kernel hangs with out USB support on
boot. Plug and play OS is set to NO.

Here is the option in the kernel config:

options PCIC_ISA_INTR_ALLOC_MASK=0x0008

The laptop has its serial and parallel ports turned off.

The xi0 device configured correctly, but can't connect to the network. (It
even lights up on the card and the hub.)

Any help would be apricheated!

Thanks!

-Sean