Subject: kern/25757: no card interrupts from PCI1450 Cardbus Controller in ThinkPad A21p
To: None <gnats-bugs@gnats.NetBSD.org>
From: Frank Kardel <kardel@pip.acrys.com>
List: netbsd-bugs
Date: 05/30/2004 21:44:28
>Number:         25757
>Category:       kern
>Synopsis:       no card interrupts from PCI1450 Cardbus Controller in ThinkPad A21p
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 30 19:45:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Frank Kardel
>Release:        NetBSD 2.0F
>Organization:
	
>Environment:
	
	
System: NetBSD pip 2.0F NetBSD 2.0F (SYSPIP_ISDN) #3: Sat May 29 08:10:42 MEST 2004 kardel@pip:/fs/IC35L180AVV207-1-n/IC35L120AVV207-0-e/src/NetBSD/netbsd/sys/arch/i386/compile/obj.i386/SYSPIP_ISDN i386
Architecture: i386
Machine: i386
>Description:
	My ThinkPad A21p has a TI PCI1450 PCI-Cardbus Bridge. It is
	detected correctly. Cards are detected and recognized when
	inserted and removed (interrupta are generated/processed for these events!). 
	No interrupts are seen from the cards. ISDN cards simply time
	out. COM(Modem) cards just don't work. No interrupt processing
	except for insertion/removal an alike events takes place.
	See also kern/12575.
	Cardbus works with W2K though. So a HW problem is
	unlikely.
	I didn't find too much documention on programming the
	PCI1450 so debugging is a little bit hard. The Linux kernel
	has some strategies about setting up interrupts. but this does not
	seem to be the problem, as card events are being recognized. Just
	interupts from the cards do not happen. 
	Memory setup does not seem too bad as the cards are correctly recognized.

Boot dmesg:

NetBSD 2.0F (BOOK_ISDN) #0: Sun May 30 19:09:36 CEST 2004
	kardel@Book:/fs/wd0-f/netbsd/sys/arch/i386/compile/BOOK_ISDN
total memory = 255 MB
avail memory = 244 MB
BIOS32 rev. 0 found at 0xfd820
PCI BIOS rev. 2.1 found at 0xfd94f
pcibios: config mechanism [1][x], special cycles [x][x], last bus 7
PCI IRQ Routing Table rev. 1.0 found at 0xfdee0, size 208 bytes (11 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX) compatible)
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:02:0 0x104c 0xac1b   A  0x00  11  0    already assigned
000:02:1 0x104c 0xac1b   B  0x01   9  0    already assigned
000:03:0 0x8086 0x1229   A  0x02   5  0    already assigned
000:03:1 0x115d 0x000c   A  0x02   5  0    already assigned
000:05:0 0x1013 0x6003   A  0x00  11  0    already assigned
000:07:2 0x8086 0x7112   D  0x03  10  0    already assigned
001:00:0 0x1002 0x4c46   A  0x00  11  0    already assigned
------------------------------------------
PCI fixup examining 8086:7190
PCI fixup examining 8086:7191
PCI fixup examining 1002:4c46
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 104c:ac1b
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI fixup examining 104c:ac1b
PCI bridge 2: primary 0, secondary 3, subordinate 3
PCI fixup examining 8086:1229
PCI fixup examining 115d:0c
PCI fixup examining 1013:6003
PCI fixup examining 8086:7110
PCI fixup examining 8086:7111
PCI fixup examining 8086:7112
PCI fixup examining 8086:7113
PCI bus #3 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x7190 
	10h mem  0xf4000000 0x04000000
		[OK]
000:01:0 0x8086 0x7191 
		[OK]
000:02:0 0x104c 0xac1b 
	10h mem  0x50000000 0x00001000
		[OK]
000:02:1 0x104c 0xac1b 
	10h mem  0x50100000 0x00001000
		[OK]
000:03:0 0x8086 0x1229 
	10h mem  0xf0120000 0x00001000
	14h port 0x00001800 0x00000040
	18h mem  0xf0100000 0x00020000
		[OK]
000:03:1 0x115d 0x000c 
	10h port 0x00001840 0x00000008
	14h mem  0xf0121000 0x00001000
		[OK]
000:05:0 0x1013 0x6003 
	10h mem  0xf0122000 0x00001000
	14h mem  0xf0000000 0x00100000
		[OK]
000:07:0 0x8086 0x7110 
		[OK]
000:07:1 0x8086 0x7111 
	20h port 0x00001850 0x00000010
		[OK]
000:07:2 0x8086 0x7112 
	20h port 0x00001860 0x00000020
		[OK]
000:07:3 0x8086 0x7113 
		[OK]
001:00:0 0x1002 0x4c46 
	10h mem  0xf8000000 0x04000000
	14h port 0x00002000 0x00000100
	18h mem  0xf0200000 0x00004000
		[OK]
--------------------------[  0 devices bogus]
 Physical memory end: 0x0ffec000
 PCI memory mapped I/O space start: 0x10000000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 846.91 MHz, id 0x686
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 8 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xf4000000, size 0x4000000
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 Rage Mobility M3 (AGP) (rev. 0x02)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
cbb0 at pci0 dev 2 function 0: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03) (chipflags 3)
cbb0: socket base address 0x50000000
cbb0: intrpin A, intrtag 11
cbb1 at pci0 dev 2 function 1: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03) (chipflags 3)
cbb1: socket base address 0x50100000
cbb1: intrpin B, intrtag 9
fxp0 at pci0 dev 3 function 0: i82559S Ethernet, rev 9
fxp0: interrupting at irq 5
fxp0: Ethernet address 00:10:a4:89:bd:dc
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Xircom WinGlobal Modem (serial communications, interface 0x02) at pci0 dev 3 function 1 not configured
clcs0 at pci0 dev 5 function 0: Cirrus Logic CS4280 CrystalClear Audio Interface (rev. 0x01)
clcs0: interrupting at irq 11
clcs0: ac97: Crystal CS4297A codec; headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
clcs0: ac97: ext id 200<AMAP>
audio0 at clcs0: full duplex, independent
midi0 at clcs0: CS4280 MIDI UART
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
piixide0 at pci0 dev 7 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 10
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 0x03) at pci0 dev 7 function 3 not configured
CardBus latency timer 0xb0 (b0020200)
PCI latency timer 0x40 (824008)
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
cbb0: interrupting at irq 11
PCI config regs:
 0x00: ac1b104c 02100007 06070003 00824008
 0x10: 50000000 020000a0 b0020200 fffff000
 0x20: 00000000 fffff000 00000000 0000fffc
 0x30: 00000000 0000fffc 00000000 07c0010b
 0x40: 01301014 00000001 00000000 00000000
 0x80: 0864f078 00000000 80018080 00001000
 0x90: 6066a2c0 00000000 00000000 00000000
 0xa0: fe110001 00c00000 00000000 00000000
socket regs: 00000000 00000006 30000510 00000000 00000000
ExCA regs: 84 0c 00 00 00 00 00 00
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0
pcmcia0 at cardslot0
pccbb_pcmcia_card_detect
pccbbattach: found cardslot
CardBus latency timer 0xb0 (b0030300)
PCI latency timer 0x40 (824008)
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
cbb1: interrupting at irq 9
PCI config regs:
 0x00: ac1b104c 02100007 06070003 00824008
 0x10: 50100000 020000a0 b0030300 fffff000
 0x20: 00000000 fffff000 00000000 0000fffc
 0x30: 00000000 0000fffc 00000000 07c00209
 0x40: 01301014 00000001 00000000 00000000
 0x80: 0864f078 00000000 80018080 00001000
 0x90: 6066a2c0 00000000 00000000 00000000
 0xa0: fe110001 00c00000 00000000 00000000
socket regs: 00000000 00000006 30000510 00000000 00000000
ExCA regs: 84 0c 00 00 00 00 00 00
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0
pcmcia1 at cardslot1
pccbb_pcmcia_card_detect
pccbbattach: found cardslot
isa0 at pcib0
lpt2 at isa0 port 0x3bc-0x3bf irq : polled
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 mux 0
pcppi0 at isa0 port 0x61
midi1 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
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
pccbb_pcmcia_socket_enable: 5V card
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
entering pccbb_pcmcia_wait_ready: status 0x5f
pccbb_pcmcia_socket_enable: 5V card
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
entering pccbb_pcmcia_wait_ready: status 0x6d
cbb1: pccbb_pcmcia_socket_enable 01 cardtype mem 50
pccbb_pcmcia_alloc_mem: addr 0x40000000 size 0x400, realsize 0x1000
pccbb_pcmcia_mem_map window 0 bus 40000000+0+400 at card addr 0
pccbb_pcmcia_do_mem_map: start 0x40000000 end 0x400003ff off 0xc0000000
pccbb_pcmcia_do_mem_map window 0: 0000 0080 0040 40
cis mem map c6db8000
pcmcia1: CIS tuple chain:
CISTPL_DEVICE type=null speed=null
 01 02 00 ff
CISTPL_FUNCID
 21 02 06 00
CISTPL_VERS_1
 15 3b 04 01 45 4c 53 41 20 41 47 20 28 41 61 63
 68 65 6e 2c 20 47 65 72 6d 61 6e 79 29 00 4d 69
 63 72 6f 4c 69 6e 6b 20 49 53 44 4e 2f 4d 43 20
 00 31 34 2e 30 35 2e 31 39 39 38 00 ff
CISTPL_CONFIG
 1a 05 01 01 00 02 03
CISTPL_CFTABLE_ENTRY
 1b 09 c1 01 19 01 55 23 70 b8 de
CISTPL_NO_LINK
 14 00
CISTPL_END
 ff
pccbb_pcmcia_socket_disable
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: ELSA AG (Aachen, Germany), MicroLink ISDN/MC , 14.05.1998
pcmcia1: Manufacturer code 0xffffffff, product 0xffffffff
pcmcia1: function 0: network adapter, ccr addr 200 mask 3
pcmcia1: function 0, config table entry 1: I/O card; irq mask deb8; iomask 3, iospace 0-7; io8 irqpulse irqlevel
isic0 at pcmcia1 function 0: ELSA MicroLink ISDN/MC
pccbb_pcmcia_socket_enable: 5V card
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
entering pccbb_pcmcia_wait_ready: status 0x6d
cbb1: pccbb_pcmcia_socket_enable 01 cardtype io 70
pcmcia1: ++enabled_count = 1
pccbb_pcmcia_alloc_mem: addr 0x40000000 size 0x14, realsize 0x1000
pccbb_pcmcia_mem_map window 0 bus 40000000+200+14 at card addr 0
pccbb_pcmcia_do_mem_map: start 0x40000000 end 0x40000213 off 0xc0000000
pccbb_pcmcia_do_mem_map window 0: 0000 0080 0040 40
pcmcia1: function 0 CCR at 0 offset 200: 41 20 21 0, 15 15 15 15, 3b
pccbb_pcmcia_io_alloc alloc port 0x4000+0x8
pccbb_pcmcia_io_map window 0 io8 port 4000+8
pccbb_pcmcia_do_io_map win 0 addr 0x4000 size 0x8 width 8
 start 00 40, stop 07 40, ioctl 00 enable 41
isic0: ISAC 2085 Version V2.3 (B3) (IOM-2)
isic0: HSCX 82525 Version A2
ISDN 0 at isic0, 2 B channels
pccbb_intr_establish start. 0x0
pccbb_intr_establish add pil. 0xc0b697c0
cbb0: pccbb_pcmcia_socket_enable 00 cardtype mem 50
pccbb_pcmcia_alloc_mem: addr 0x40001000 size 0x400, realsize 0x1000
pccbb_pcmcia_mem_map window 0 bus 40001000+0+400 at card addr 0
pccbb_pcmcia_do_mem_map: start 0x40001000 end 0x400013ff off 0xbffff000
pccbb_pcmcia_do_mem_map window 0: 0100 0180 ff7f 40
cis mem map c6db9000
pcmcia0: CIS tuple chain:
CISTPL_DEVICE type=null speed=null
 01 02 00 ff
CISTPL_VERS_1
 15 23 04 01 4c 55 43 45 4e 54 2d 56 45 4e 55 53
 00 50 43 4d 43 49 41 20 35 36 4b 20 44 61 74 61
 46 61 78 00 ff
CISTPL_MANFID
 20 04 00 02 01 00
CISTPL_FUNCID
 21 02 02 00
 22 04 00 02 0f 5c
 22 09 05 1f 1f 00 04 00 00 04 00
 22 09 06 1f 1f 00 04 00 00 04 00
 22 0c 02 06 00 3f 1c 03 03 0f 07 00 01 b5
 22 08 13 06 00 1f 00 02 00 b5
 22 08 23 06 00 1f 00 02 00 b5
CISTPL_CONFIG
 1a 05 01 27 80 ff 67
CISTPL_CFTABLE_ENTRY
 1b 13 cf 41 99 79 55 3d 86 46 26 4c aa 60 f8 03
 07 f0 bc 86 28
CISTPL_CFTABLE_ENTRY
 1b 07 17 08 aa 60 f8 02 07
CISTPL_CFTABLE_ENTRY
 1b 07 1f 08 aa 60 e8 03 07
CISTPL_CFTABLE_ENTRY
 1b 07 27 08 aa 60 e8 02 07
CISTPL_END
 ff
pccbb_pcmcia_mem_map window 0 bus 40001000+0+400 at card addr 0
pccbb_pcmcia_do_mem_map: start 0x40001000 end 0x400013ff off 0xbffff000
pccbb_pcmcia_do_mem_map window 0: 0100 0180 ff3f 40
cis mem map c6db9000
CISTPL_LINKTARGET expected, code ff observed
pccbb_pcmcia_socket_disable
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: LUCENT-VENUS, PCMCIA 56K DataFax
pcmcia0: Manufacturer code 0x200, product 0x1
pcmcia0: function 0: serial port, ccr addr ff80 mask 67
pcmcia0: function 0, config table entry 15: I/O card; irq mask 86bc; iomask a, iospace 3f8-3ff; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
pcmcia0: function 0, config table entry 23: I/O card; irq mask 86bc; iomask a, iospace 2f8-2ff; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
pcmcia0: function 0, config table entry 31: I/O card; irq mask 86bc; iomask a, iospace 3e8-3ef; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
pcmcia0: function 0, config table entry 39: I/O card; irq mask 86bc; iomask a, iospace 2e8-2ef; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
com3 at pcmcia0 function 0pccbb_pcmcia_io_alloc alloc port 0x43f8+0x8
pccbb_pcmcia_socket_enable: 5V card
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
entering pccbb_pcmcia_wait_ready: status 0x5f
cbb0: pccbb_pcmcia_socket_enable 00 cardtype io 70
pcmcia0: ++enabled_count = 1
pccbb_pcmcia_alloc_mem: addr 0x40001000 size 0x14, realsize 0x1000
pccbb_pcmcia_mem_map window 0 bus 40001000+f80+14 at card addr f000
pccbb_pcmcia_do_mem_map: start 0x40001000 end 0x40001f93 off 0xc000e000
pccbb_pcmcia_do_mem_map window 0: 0100 0180 0e40 40
pcmcia0: function 0 CCR at 0 offset f80: 4f 28 0 0, 0 0 ff ff, ff
pccbb_pcmcia_io_map window 0 io8 port 43f8+8
pccbb_pcmcia_do_io_map win 0 addr 0x43f8 size 0x8 width 8
 start f8 43, stop ff 43, ioctl 00 enable 41
: serial device
com3: ns16550a, working fifo
pccbb_pcmcia_socket_disable
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pcmcia0: --enabled_count = 0
wd0 at atabus0 drive 0: <IBM-DJSA-232>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 30520 MB, 66144 cyl, 15 head, 63 sec, 512 bytes/sect x 62506080 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <MATSHITADVD-ROM SR-8175, , G228> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pccbb_pcmcia_socket_enable: 5V card
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
entering pccbb_pcmcia_wait_ready: status 0x5f
cbb0: pccbb_pcmcia_socket_enable 00 cardtype io 70
pccbb_pcmcia_do_io_map win 0 addr 0x43f8 size 0x8 width 8
 start f8 43, stop ff 43, ioctl 00 enable 40
pcmcia0: ++enabled_count = 1
pccbb_pcmcia_alloc_mem: addr 0x40001000 size 0x14, realsize 0x1000
pccbb_pcmcia_mem_map window 0 bus 40001000+f80+14 at card addr f000
pccbb_pcmcia_do_mem_map: start 0x40001000 end 0x40001f93 off 0xc000e000
pccbb_pcmcia_do_mem_map window 0: 0100 0180 0e40 40
pcmcia0: function 0 CCR at 0 offset f80: 4f 28 0 0, 0 0 ff ff, ff
pccbb_intr_establish start. 0x0
pccbb_intr_establish add pil. 0xc0b69260
pccbb_intr_disestablish start. 0xc0b69260
pccbb_intr_disestablish frees one pil
pccbb_intr_disestablish: no interrupt handler
pccbb_pcmcia_socket_disable
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pcmcia0: --enabled_count = 0
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)

dmesg with card removal/insertion and ISDN card failure:
...
root on wd0a dumps on wd0b
root file system type: ffs
pccbb_pcmcia_socket_enable: 5V card
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
entering pccbb_pcmcia_wait_ready: status 0x5f
cbb0: pccbb_pcmcia_socket_enable 00 cardtype io 70
pccbb_pcmcia_do_io_map win 0 addr 0x43f8 size 0x8 width 8
 start f8 43, stop ff 43, ioctl 00 enable 40
pcmcia0: ++enabled_count = 1
pccbb_pcmcia_alloc_mem: addr 0x40001000 size 0x14, realsize 0x1000
pccbb_pcmcia_mem_map window 0 bus 40001000+f80+14 at card addr f000
pccbb_pcmcia_do_mem_map: start 0x40001000 end 0x40001f93 off 0xc000e000
pccbb_pcmcia_do_mem_map window 0: 0100 0180 0e40 40
pcmcia0: function 0 CCR at 0 offset f80: 4f 28 0 0, 0 0 ff ff, ff
pccbb_intr_establish start. 0x0
pccbb_intr_establish add pil. 0xc0b69260
pccbb_intr_disestablish start. 0xc0b69260
pccbb_intr_disestablish frees one pil
pccbb_intr_disestablish: no interrupt handler
pccbb_pcmcia_socket_disable
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pcmcia0: --enabled_count = 0
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)
cbb0: 0x00000006 card removed, 0x30000116
pcmcia0: deactivating com3 (function 0)
pccbb_pcmcia_socket_disable
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pcmcia0: detaching com3 (function 0)
com3 detached
cbb0: 0x00000000 card inserted, 0x30000510
pccbb_pcmcia_socket_enable: 5V card
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
entering pccbb_pcmcia_wait_ready: status 0x5f
cbb0: pccbb_pcmcia_socket_enable 00 cardtype mem 50
pccbb_pcmcia_alloc_mem: addr 0x40001000 size 0x400, realsize 0x1000
pccbb_pcmcia_mem_map window 0 bus 40001000+0+400 at card addr 0
pccbb_pcmcia_do_mem_map: start 0x40001000 end 0x400013ff off 0xbffff000
pccbb_pcmcia_do_mem_map window 0: 0100 0180 ff7f 40
cis mem map c7b4b000
pcmcia0: CIS tuple chain:
CISTPL_DEVICE type=null speed=null
 01 02 00 ff
CISTPL_VERS_1
 15 23 04 01 4c 55 43 45 4e 54 2d 56 45 4e 55 53
 00 50 43 4d 43 49 41 20 35 36 4b 20 44 61 74 61
 46 61 78 00 ff
CISTPL_MANFID
 20 04 00 02 01 00
CISTPL_FUNCID
 21 02 02 00
 22 04 00 02 0f 5c
 22 09 05 1f 1f 00 04 00 00 04 00
 22 09 06 1f 1f 00 04 00 00 04 00
 22 0c 02 06 00 3f 1c 03 03 0f 07 00 01 b5
 22 08 13 06 00 1f 00 02 00 b5
 22 08 23 06 00 1f 00 02 00 b5
CISTPL_CONFIG
 1a 05 01 27 80 ff 67
CISTPL_CFTABLE_ENTRY
 1b 13 cf 41 99 79 55 3d 86 46 26 4c aa 60 f8 03
 07 f0 bc 86 28
CISTPL_CFTABLE_ENTRY
 1b 07 17 08 aa 60 f8 02 07
CISTPL_CFTABLE_ENTRY
 1b 07 1f 08 aa 60 e8 03 07
CISTPL_CFTABLE_ENTRY
 1b 07 27 08 aa 60 e8 02 07
CISTPL_END
 ff
pccbb_pcmcia_mem_map window 0 bus 40001000+0+400 at card addr 0
pccbb_pcmcia_do_mem_map: start 0x40001000 end 0x400013ff off 0xbffff000
pccbb_pcmcia_do_mem_map window 0: 0100 0180 ff3f 40
cis mem map c7b4b000
CISTPL_LINKTARGET expected, code ff observed
pccbb_pcmcia_socket_disable
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: LUCENT-VENUS, PCMCIA 56K DataFax
pcmcia0: Manufacturer code 0x200, product 0x1
pcmcia0: function 0: serial port, ccr addr ff80 mask 67
pcmcia0: function 0, config table entry 15: I/O card; irq mask 86bc; iomask a, iospace 3f8-3ff; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
pcmcia0: function 0, config table entry 23: I/O card; irq mask 86bc; iomask a, iospace 2f8-2ff; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
pcmcia0: function 0, config table entry 31: I/O card; irq mask 86bc; iomask a, iospace 3e8-3ef; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
pcmcia0: function 0, config table entry 39: I/O card; irq mask 86bc; iomask a, iospace 2e8-2ef; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
com3 at pcmcia0 function 0pccbb_pcmcia_io_alloc alloc port 0x43f8+0x8
pccbb_pcmcia_socket_enable: 5V card
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
entering pccbb_pcmcia_wait_ready: status 0x5f
cbb0: pccbb_pcmcia_socket_enable 00 cardtype io 70
pcmcia0: ++enabled_count = 1
pccbb_pcmcia_alloc_mem: addr 0x40001000 size 0x14, realsize 0x1000
pccbb_pcmcia_mem_map window 0 bus 40001000+f80+14 at card addr f000
pccbb_pcmcia_do_mem_map: start 0x40001000 end 0x40001f93 off 0xc000e000
pccbb_pcmcia_do_mem_map window 0: 0100 0180 0e40 40
pcmcia0: function 0 CCR at 0 offset f80: 4f 28 0 0, 0 0 ff ff, ff
pccbb_pcmcia_io_map window 0 io8 port 43f8+8
pccbb_pcmcia_do_io_map win 0 addr 0x43f8 size 0x8 width 8
 start f8 43, stop ff 43, ioctl 00 enable 41
: serial device
com3: ns16550a, working fifo
pccbb_pcmcia_socket_disable
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
pcmcia0: --enabled_count = 0
isic0 (L1): timer3_expired: state = F4 Awaiting Signal
isic0 (L1): isic_recover: HSCX B: ISTA = 0x0
isic0 (L1): isic_recover:   ISAC: ISTA = 0x0
isic0 (L1): isic_recover: HSCX B: IMASK = 0xff
isic0 (L1): isic_recover: HSCX A: IMASK = 0xf8
isic0 (L1): isic_recover:   ISAC: IMASK = 0x2a
i4b-L2 i4b_T202_timeout: isdnif 0, N202 = 3
isic0 (L1): isic_std_ph_data_req: still in state F3!
isic0 (L1): timer3_expired: state = F4 Awaiting Signal
isic0 (L1): isic_recover: HSCX B: ISTA = 0x0
isic0 (L1): isic_recover:   ISAC: ISTA = 0x0
isic0 (L1): isic_recover: HSCX B: IMASK = 0xff
isic0 (L1): isic_recover: HSCX A: IMASK = 0xf8
isic0 (L1): isic_recover:   ISAC: IMASK = 0x2a
i4b-L3 T303_timeout: SETUP not answered, cr = 34
i4b-L3 next_l3state: FSM illegal state, state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout!

lspci -vv:
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 64
	Region 0: Memory at f4000000 (32-bit, prefetchable)
	Capabilities: [a0] AGP version 1.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
		Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x2

00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 128
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: f0200000-f02fffff
	Prefetchable memory behind bridge: f8000000-fbffffff
	BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+

00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
	Subsystem: IBM: Unknown device 0130
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64, cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at 50000000 (32-bit, non-prefetchable)
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=176
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001

00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
	Subsystem: IBM: Unknown device 0130
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64, cache line size 08
	Interrupt: pin B routed to IRQ 9
	Region 0: Memory at 50100000 (32-bit, non-prefetchable)
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=176
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt- PostWrite+
	16-bit legacy interface ports at 0001

00:03.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 09)
	Subsystem: Intel Corp. EtherExpress PRO/100+ MiniPCI
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 66 (2000ns min, 14000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 0
	Region 0: Memory at f0120000 (32-bit, non-prefetchable)
	Region 1: I/O ports at 1800
	Region 2: Memory at f0100000 (32-bit, non-prefetchable)
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=2 PME-

00:03.1 Serial controller: Xircom Mini-PCI V.90 56k Modem (prog-if 02 [16550])
	Subsystem: Intel Corp.: Unknown device 2408
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 5
	Region 0: I/O ports at 1840
	Region 1: Memory at f0121000 (32-bit, non-prefetchable)
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=2 PME-

00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
	Subsystem: IBM: Unknown device 0153
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (1000ns min, 6000ns max)
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f0122000 (32-bit, non-prefetchable)
	Region 1: Memory at f0000000 (32-bit, non-prefetchable)
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0

00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Region 4: I/O ports at 1850

00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Interrupt: pin D routed to IRQ 10
	Region 4: I/O ports at 1860

00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-

01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M3 AGP 2x (rev 02) (prog-if 00 [VGA])
	Subsystem: IBM: Unknown device 0155
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B+
	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 66 (2000ns min), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f8000000 (32-bit, prefetchable)
	Region 1: I/O ports at 2000
	Region 2: Memory at f0200000 (32-bit, non-prefetchable)
	Capabilities: [50] AGP version 2.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
		Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x2
	Capabilities: [5c] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-


>How-To-Repeat:
	Use 2.0F with a Thinkpad A21p. Cardbus is unusable.

>Fix:
	check interrupt generation setup?
>Release-Note:
>Audit-Trail:
>Unformatted: