Subject: cardbus device timeout on Armada 1750 + 3Com 3c575CT
To: None <port-i386@netbsd.org>
From: Jens Andre Griepentrog <griepent@wias-berlin.de>
List: port-i386
Date: 07/24/2001 11:52:55
Hello,

installing NetBSD-1.5.1 on a Compaq Armada 1750 using boot
floppies bootlap[1,2].fs and CD iso image only works with
my 3Com 3c575CT cardbus ethernet adapter detached (otherwise
it will not be found both in the installation process and
at later boots). After installation of NetBSD and reinsertion
of the network adapter it was detected at boot time.
But at the end of the boot process it finishes with 
"ex0: device timeout". It seems to be an interrupt conflict.
Please, let me know how to solve this problem. Thanks!

Here is the corresponding dmesg log:

NetBSD 1.5.1 (GENERIC_LAPTOP) #33: Mon Jul  2 15:56:09 CEST 2001
    he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC_LAPTOP
cpu0: Intel Celeron (Mendocino) (686-class), 365.88 MHz
total memory = 191 MB
avail memory = 173 MB
using 2478 buffers containing 9912 KB of memory
BIOS32 rev. 0 found at 0xf0000
PCI BIOS rev. 2.1 found at 0xf0484
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xf09a0, size 96 bytes (4 entries)
pcibios_pir_init: bad IRQ table checksum
PCI IRQ Routing Table rev. 1.0 found at 0xf6e60, size 96 bytes (4 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371AB PCI-to-ISA Bridge (PIIX4))
PCI Exclusive IRQs: 11
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:07:2 0x8086 0x7112   D  0x03  11  0    already assigned
000:17:0 0x104c 0xac1c   A  0x00  11  0    already assigned
000:17:1 0x104c 0xac1c   A  0x00  11  0    already assigned
001:00:0 0x1002 0x4c42   A  0x00  11  0    already assigned
------------------------------------------
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI bridge 2: primary 0, secondary 3, subordinate 3
PCI bus #3 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x7190 
	10h mem  0x50000000 0x04000000
		[OK]
000:01:0 0x8086 0x7191 
		[OK]
000:07:0 0x8086 0x7110 
		[OK]
000:07:1 0x8086 0x7111 
	20h port 0x00002020 0x00000010
		[OK]
000:07:2 0x8086 0x7112 
	20h port 0x00002000 0x00000020
		[OK]
000:07:3 0x8086 0x7113 
		[OK]
000:17:0 0x104c 0xac1c 
	10h mem  0x7fffe000 0x00001000
		[OK]
000:17:1 0x104c 0xac1c 
	10h mem  0x7ffff000 0x00001000
		[OK]
001:00:0 0x1002 0x4c42 
	10h mem  0x40000000 0x01000000
	14h port 0x00001000 0x00000100
	18h mem  0x41000000 0x00001000
		[OK]
--------------------------[  0 devices bogus]
 Physical memory end: 0x0bff5000
 PCI memory mapped I/O space start: 0x0c000000
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 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Mach64 LB (rev. 0xdc)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4)(rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 1: <TOSHIBA CD-ROM XM-1902B, , 1218> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK6411MAT>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6194 MB, 13424 cyl, 15 head, 63 sec, 512 bytes/sect x 12685680 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
cd0(pciide0:0:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (disabled)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4)(rev. 0x01)
uhci0: interrupting at irq 11
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 0x02) at pci0 dev 7 function 3 not configured
cbb0 at pci0 dev 17 function 0: Texas Instruments PCI1225 PCI-CardBus Bridge(rev. 0x01)
cbb1 at pci0 dev 17 function 1: Texas Instruments PCI1225 PCI-CardBus Bridge(rev. 0x01)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: 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
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.01
audio0 at sb0: half duplex, mmap, independent
midi0 at sb0: SB MIDI UART
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
pcppi0 at isa0 port 0x61
midi2 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
cbb0: interrupting at irq 11
cbb0: cacheline 0x8 lattimer 0x20
cbb0: bhlc 0x824208 lscp 0x20020200
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cbb1: cacheline 0x8 lattimer 0x20
cbb1: bhlc 0x824208 lscp 0x20030300
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia1 at cardslot1
apm0 at mainbus0: Power Management spec V1.2
biomask ef4d netmask ef4d ttymask ffcf
ex0 at cardbus0 dev 0 function 0: 3Com 3c575CT Ethernet
ex0: interrupting at 11
ex0: MAC address 00:00:86:5a:2e:af
tqphy0 at ex0 phy 0: 78Q2120 10/100 media interface, rev. 11
tqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
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
ex0: device timeout