[ltp] Problem with cardbus on Thinkpad 600.
Henrik Jacobsson
linux-thinkpad@linux-thinkpad.org
Sat, 14 Jun 2008 10:40:25 +0200
Hi all.
I just got my hands on an old Thinkpad 600 and have problems getting
it to recognise my Netgear wg511-wificard.
The only thing that happens when I insert the pccard is a notification
that the card was inserted.
from dmesg:
pccard: CardBus card inserted into slot 0
And when ejecting the card, the following:
pccard: card ejected from slot 0
No udev-events whatsoever.
I really don't know much about the PCI/PCMCIA-subsystems of the kernel
(or any other part of the kernel :) so I'm stumped. It seems as if
the cardbusbridge uses IRQ 255, and that seems weird, as does the IRQ
0 on the cardbus-card.
This is a vanilla kernel 2.6.25.4 with APM but no ACPI.
Is there anyone who have any idea of what might be wrong here?
Anyone running a TP 600 with a working cardbus-setup?
Thanks in advance.
/Henrik
lspci -vvv -H1 gives:
---------------------------------------------------------------------
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (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: 64
Region 0: Memory at <unassigned> (32-bit, prefetchable)
00:02.0 CardBus bridge: Texas Instruments PCI1250 (rev 02)
Subsystem: IBM ThinkPad 600
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: 168, Cache Line Size: 128 bytes
Interrupt: pin A routed to IRQ 255
Region 0: Memory at 20301000 (32-bit, non-prefetchable)
Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
Memory window 0: 10000000-13fff000 (prefetchable)
Memory window 1: 14000000-17fff000
I/O window 0: 00001000-000010ff
I/O window 1: 00001400-000014ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
16-bit legacy interface ports at 0001
00:02.1 CardBus bridge: Texas Instruments PCI1250 (rev 02)
Subsystem: IBM ThinkPad 600
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: 168, Cache Line Size: 128 bytes
Interrupt: pin B routed to IRQ 255
Region 0: Memory at 20300000 (32-bit, non-prefetchable)
Bus: primary=00, secondary=05, subordinate=08, sec-latency=176
Memory window 0: 18000000-1bfff000 (prefetchable)
Memory window 1: 1c000000-1ffff000
I/O window 0: 00001800-000018ff
I/O window 1: 00001c00-00001cff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
00:03.0 VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph 128XD] (rev 01) (prog-if 00 [VGA controller])
Subsystem: Neomagic Corporation MagicGraph 128XD
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 (4000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e0000000 (32-bit, prefetchable)
Region 1: Memory at 20000000 (32-bit, non-prefetchable)
Region 2: Memory at 20200000 (32-bit, non-prefetchable)
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01)
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 Corporation 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: 48
Region 4: I/O ports at fcf0
00:07.2 USB Controller: Intel Corporation 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: 48
Interrupt: pin D routed to IRQ 11
Region 4: I/O ports at 8400
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
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 Network controller: Intersil Corporation ISL3890 [Prism GT/Prism Duette]/ISL3886 [Prism Javelin/Prism Xbow] (rev 01)
Subsystem: Netgear WG511 Wireless Adapter
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 0
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
---------------------------------------------------------------------
Relevant (I hope) dmesg-entries:
---------------------------------------------------------------------
PCI: PCI BIOS revision 2.10 entry at 0xfd880, last bus=6
PCI: Using configuration type 1
Setting up standard PCI resources
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
pci 0000:00:07.3: quirk: region ef00-ef3f claimed by PIIX4 ACPI
pci 0000:00:07.3: quirk: region efa0-efaf claimed by PIIX4 SMB
pci 0000:00:07.3: PIIX4 devres B PIO at 02f8-02ff
pci 0000:00:07.3: PIIX4 devres E PIO at 0538-053f
pci 0000:00:07.3: PIIX4 devres G PIO at 0130-013f
pci 0000:00:07.3: PIIX4 devres I PIO at 002e-002f
pci 0000:00:07.3: PIIX4 devres J PIO at 15e8-15ef
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0
PCI: setting IRQ 11 as level-triggered
PCI: Found IRQ 11 for device 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:03.0
PCI: Found IRQ 11 for device 0000:00:02.1
PCI: Bus 1, cardbus bridge: 0000:00:02.0
IO window: 0x00001000-0x000010ff
IO window: 0x00001400-0x000014ff
PREFETCH window: 0x10000000-0x13ffffff
MEM window: 0x14000000-0x17ffffff
PCI: Bus 5, cardbus bridge: 0000:00:02.1
IO window: 0x00001800-0x000018ff
IO window: 0x00001c00-0x00001cff
PREFETCH window: 0x18000000-0x1bffffff
MEM window: 0x1c000000-0x1fffffff
PCI: Found IRQ 11 for device 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:03.0
PCI: Found IRQ 11 for device 0000:00:02.1
pci 0000:00:00.0: Limiting direct PCI/PCI transfers
PCI: Found IRQ 11 for device 0000:00:07.2
Yenta: CardBus bridge found at 0000:00:02.0 [1014:0092]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:02.0, mfunc 0xfba97543, devctl 0x62
Yenta: ISA IRQ mask 0x0698, PCI irq 11
Socket status: 30000020
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
piix4_smbus 0000:00:07.3: IBM system detected; this
module may corrupt your serial eeprom! Refusing to load module!
piix4_smbus: probe of 0000:00:07.3 failed with error -1
Yenta: CardBus bridge found at 0000:00:02.1 [1014:0092]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:02.1, mfunc 0xfba97543, devctl 0x62
Yenta: ISA IRQ mask 0x0698, PCI irq 11
Socket status: 30000010
pccard: CardBus card inserted into slot 0
pccard: PCMCIA card inserted into slot 1
cs: IO port probe 0x100-0x3af: excluding 0x130-0x137 0x200-0x207
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia: registering new device pcmcia1.0
cs: IO port probe 0x100-0x3af: excluding 0x130-0x137 0x200-0x207
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
eth0: 3Com 3c589, io 0x300, irq 3, hw_addr 00:a0:24:ad:35:02
8K FIFO split 5:3 Rx:Tx, auto xcvr
---------------------------------------------------------------------
cat /proc/interrupts
CPU0
0: 2859332 XT-PIC-XT timer
1: 12673 XT-PIC-XT i8042
2: 0 XT-PIC-XT cascade
3: 214 XT-PIC-XT pcmcia1.0
4: 3 XT-PIC-XT
5: 0 XT-PIC-XT CS4231
7: 3 XT-PIC-XT
9: 3 XT-PIC-XT
10: 3 XT-PIC-XT
11: 8 XT-PIC-XT uhci_hcd:usb1, yenta, yenta
12: 10040 XT-PIC-XT i8042
14: 3737 XT-PIC-XT ide0
15: 37 XT-PIC-XT ide1
NMI: 0 Non-maskable interrupts
LOC: 0 Local timer interrupts
TRM: 0 Thermal event interrupts
SPU: 0 Spurious interrupts
ERR: 0
MIS: 0
---------------------------------------------------------------------