[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#366507: Confirming with different chipset



I've recently acquired an IBM Thinkpad Dock II, which contains a 
different version of the Texas Instruments CardBus bridge to the one 
built into my laptop.

These are the internal cardbus chips:
0000:00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
0000:00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)

These are the ones in the Dock:
0000:08:02.0 CardBus bridge: Texas Instruments PCI1420
0000:08:02.1 CardBus bridge: Texas Instruments PCI1420

Everything works fine undocked. When docked, however, the yenta_socket 
produces an error (and traceback) similar to the original report, 
disabling the IRQ associated with one of the chips *internal* to the 
laptop. Even after the "nobody cared" I can use the cardbus slots not 
attached to that interrupt line.

Similarly, 2.4.27 works fine with this arrangement.

This is 2.6.15-1-686, but this happens also with 2.6.14, 2.6.16 and 
2.6.17-rc3. I have also tried "iopoll" and the pwr_irqs_off option to 
the yenta_socket module.

dmesg:

Yenta: CardBus bridge found at 0000:00:02.0 [1014:0130]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:02.0, mfunc 0x00001000, devctl 0x66
Yenta: ISA IRQ mask 0x0018, PCI irq 5
Socket status: 30000006
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LNKB] -> GSI 9 (level, low) -> IRQ 9
Yenta: CardBus bridge found at 0000:00:02.1 [1014:0130]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:02.1, mfunc 0x00001000, devctl 0x66
Yenta: ISA IRQ mask 0x0018, PCI irq 9
Socket status: 30000006
cs: IO port probe 0x100-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0x100-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xa00-0xaff: clean.
ACPI: PCI Interrupt 0000:08:02.0[A] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
Yenta: CardBus bridge found at 0000:08:02.0 [1014:0148]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:08:02.0, mfunc 0x00001002, devctl 0x66
irq 5: nobody cared (try booting with the "irqpoll" option)
 [<c012f9a1>] __report_bad_irq+0x31/0x73
 [<c012fa70>] note_interrupt+0x75/0x99
 [<c012f570>] __do_IRQ+0x65/0x91
 [<c0104985>] do_IRQ+0x1d/0x28
 [<c01034ba>] common_interrupt+0x1a/0x20
 [<c012f4d4>] handle_IRQ_event+0x15/0x4c
 [<c012f55e>] __do_IRQ+0x53/0x91
 [<c0104985>] do_IRQ+0x1d/0x28
 [<c01034ba>] common_interrupt+0x1a/0x20
 [<e0bb5325>] yenta_probe_cb_irq+0x85/0xd1 [yenta_socket]
 [<e0bb43fe>] ti12xx_irqroute_func0+0x61/0x26f [yenta_socket]
 [<e0bb4c6a>] ti12xx_override+0xdb/0xfb [yenta_socket]
 [<e0bb5606>] yenta_probe+0x170/0x262 [yenta_socket]
 [<c01ac6a6>] __pci_device_probe+0x32/0x41
 [<c01ac6d4>] pci_device_probe+0x1f/0x34
 [<c01fcf63>] driver_probe_device+0x32/0x7c
 [<c01fd004>] __driver_attach+0x0/0x36
 [<c01fd028>] __driver_attach+0x24/0x36
 [<c01fc864>] bus_for_each_dev+0x46/0x6c
 [<c01fd04e>] driver_attach+0x14/0x18
 [<c01fd004>] __driver_attach+0x0/0x36
 [<c01fcbe0>] bus_add_driver+0x54/0x96
 [<c01ac8a6>] __pci_register_driver+0x75/0x88
 [<e082f00f>] yenta_socket_init+0xf/0x12 [yenta_socket]
 [<c0129f19>] sys_init_module+0xa5/0x164
 [<c0102a1b>] sysenter_past_esp+0x54/0x75
handlers:
[<e0a712e5>] (snd_cs46xx_interrupt+0x0/0x149 [snd_cs46xx])
[<e0bb39bd>] (yenta_interrupt+0x0/0xb6 [yenta_socket])
Disabling IRQ #5
Yenta: ISA IRQ mask 0x0018, PCI irq 10
Socket status: 30000006
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
cs: IO port probe 0x3000-0x3fff: clean.
pcmcia: parent PCI bridge Memory window: 0x38000000 - 0x3bffffff
pcmcia: parent PCI bridge Memory window: 0x3c000000 - 0x3fffffff
cs: IO port probe 0x100-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xa00-0xaff: clean.
ACPI: PCI Interrupt 0000:08:02.1[A] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
Yenta: CardBus bridge found at 0000:08:02.1 [1014:0148]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:08:02.1, mfunc 0x00001002, devctl 0x66
Yenta: ISA IRQ mask 0x0018, PCI irq 10
Socket status: 30000006
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
cs: IO port probe 0x3000-0x3fff: clean.
pcmcia: parent PCI bridge Memory window: 0x38000000 - 0x3bffffff
pcmcia: parent PCI bridge Memory window: 0x3c000000 - 0x3fffffff
cs: IO port probe 0x100-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xa00-0xaff: clean.


lspci -vv output:

0000:00:00.0 Host bridge: Intel Corporation 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 f8000000 (32-bit, prefetchable) [size=64M]
	Capabilities: <available only to root>

0000:00:01.0 PCI bridge: Intel Corporation 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
	Memory behind bridge: f0000000-f7ffffff
	Prefetchable memory behind bridge: 40000000-400fffff
	BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+

0000:00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
	Subsystem: IBM Thinkpad T20
	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: 0x08 (32 bytes)
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at 50000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=11, subordinate=14, sec-latency=176
	Memory window 0: 30000000-31fff000 (prefetchable)
	Memory window 1: 32000000-33fff000 (prefetchable)
	I/O window 0: 00001400-000014ff
	I/O window 1: 00001c00-00001cff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite-
	16-bit legacy interface ports at 0001

0000:00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
	Subsystem: IBM Thinkpad T20
	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: 0x08 (32 bytes)
	Interrupt: pin B routed to IRQ 9
	Region 0: Memory at 50100000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=15, subordinate=18, sec-latency=176
	Memory window 0: 34000000-35fff000 (prefetchable)
	Memory window 1: 36000000-37fff000 (prefetchable)
	I/O window 0: 00002400-000024ff
	I/O window 1: 00002800-000028ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite-
	16-bit legacy interface ports at 0001

0000:00:03.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 0c)
	Subsystem: Intel Corporation EtherExpress PRO/100 SP Mobile Combo 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-
	Latency: 66 (2000ns min, 14000ns max), Cache Line Size: 0x08 (32 bytes)
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at e8120000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at 1800 [size=64]
	Region 2: Memory at e8100000 (32-bit, non-prefetchable) [size=128K]
	Expansion ROM at 40100000 [disabled] [size=64K]
	Capabilities: <available only to root>

0000:00:03.1 Serial controller: Agere Systems LT WinModem (rev 01) (prog-if 00 [8250])
	Subsystem: Intel Corporation: Unknown device 2205
	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 10
	Region 0: I/O ports at 1840 [size=8]
	Region 1: Memory at e8121000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <available only to root>

0000:00:04.0 PCI bridge: Texas Instruments PCI2032 PCI Docking Bridge (prog-if 01 [Subtractive 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: 64, Cache Line Size: 0x08 (32 bytes)
	Bus: primary=00, secondary=08, subordinate=0e, sec-latency=68
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: 38000000-3bffffff
	Prefetchable memory behind bridge: 3c000000-3fffffff
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
	Capabilities: <available only to root>

0000: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 5
	Region 0: Memory at e8122000 (32-bit, non-prefetchable) [size=4K]
	Region 1: Memory at e8000000 (32-bit, non-prefetchable) [size=1M]
	Capabilities: <available only to root>

0000:00:07.0 Bridge: Intel Corporation 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

0000: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: 64
	Region 4: I/O ports at 1850 [size=16]

0000: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: 64
	Interrupt: pin D routed to IRQ 11
	Region 4: I/O ports at 1860 [size=32]

0000:00:07.3 Bridge: Intel Corporation 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-
	Interrupt: pin ? routed to IRQ 9

0000:01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 13) (prog-if 00 [VGA])
	Subsystem: IBM ThinkPad T20
	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 (1000ns min, 63750ns max), Cache Line Size: 0x08 (32 bytes)
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at f0000000 (32-bit, non-prefetchable) [size=128M]
	Expansion ROM at 40000000 [disabled] [size=64K]
	Capabilities: <available only to root>

0000:08:01.0 IDE interface: Silicon Image, Inc. PCI0648 (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: Silicon Image, Inc. PCI0648
	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 (500ns min, 1000ns max)
	Interrupt: pin A routed to IRQ 9
	Region 0: I/O ports at 2020 [size=8]
	Region 1: I/O ports at 2014 [size=4]
	Region 2: I/O ports at 2018 [size=8]
	Region 3: I/O ports at 2010 [size=4]
	Region 4: I/O ports at 2000 [size=16]
	Capabilities: <available only to root>

0000:08:02.0 CardBus bridge: Texas Instruments PCI1420
	Subsystem: IBM: Unknown device 0148
	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: 0x08 (32 bytes)
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at 52000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=08, secondary=09, subordinate=0c, sec-latency=176
	Memory window 0: 3c000000-3dfff000 (prefetchable)
	Memory window 1: 38000000-39fff000 (prefetchable)
	I/O window 0: 00003000-000030ff
	I/O window 1: 00003400-000034ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite-
	16-bit legacy interface ports at 0001

0000:08:02.1 CardBus bridge: Texas Instruments PCI1420
	Subsystem: IBM: Unknown device 0148
	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: 0x08 (32 bytes)
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at 53000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=08, secondary=0d, subordinate=10, sec-latency=176
	Memory window 0: 3e000000-3ffff000 (prefetchable)
	Memory window 1: 3a000000-3bfff000 (prefetchable)
	I/O window 0: 00003800-000038ff
	I/O window 1: 00003c00-00003cff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite-
	16-bit legacy interface ports at 0001


/proc/ioports output:

0000-001f : dma1
0020-0021 : pic1
0022-0022 : PM2_CNT_BLK
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03bc-03be : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0cf8-0cff : PCI conf1
1000-103f : 0000:00:07.3
  1000-103f : motherboard
    1000-1003 : PM1a_EVT_BLK
    1004-1005 : PM1a_CNT_BLK
    1008-100b : PM_TMR
    100c-100f : GPE0_BLK
    1010-1015 : ACPI CPU throttle
1040-104f : 0000:00:07.3
  1040-104f : motherboard
    1040-104f : pnp 00:01
1400-14ff : PCI CardBus #11
15e0-15ef : motherboard
  15e0-15ef : pnp 00:08
1800-183f : 0000:00:03.0
  1800-183f : e100
1840-1847 : 0000:00:03.1
1850-185f : 0000:00:07.1
  1850-1857 : ide0
  1858-185f : ide1
1860-187f : 0000:00:07.2
  1860-187f : uhci_hcd
1c00-1cff : PCI CardBus #11
2000-200f : 0000:08:01.0
  2000-2007 : ide2
  2008-200f : ide3
2010-2013 : 0000:08:01.0
2014-2017 : 0000:08:01.0
2018-201f : 0000:08:01.0
2020-2027 : 0000:08:01.0
2400-24ff : PCI CardBus #15
2800-28ff : PCI CardBus #15
3000-3fff : PCI Bus #08
  3000-30ff : PCI CardBus #09
  3400-34ff : PCI CardBus #09
  3800-38ff : PCI CardBus #0d
  3c00-3cff : PCI CardBus #0d
fe00-fe0f : motherboard
  fe00-fe0f : pnp 00:01


/proc/interrupts:

           CPU0       
  0:    2997360          XT-PIC  timer
  1:       9421          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:     100000          XT-PIC  CS46XX, yenta
  7:          1          XT-PIC  parport0
  8:         28          XT-PIC  rtc
  9:       2559          XT-PIC  acpi, yenta
 10:     154853          XT-PIC  eth0, yenta, yenta
 11:         27          XT-PIC  uhci_hcd:usb1
 12:      24094          XT-PIC  i8042
 14:      10713          XT-PIC  ide0
 15:         63          XT-PIC  ide1
NMI:          0 
LOC:          0 
ERR:          0
MIS:          0



-- 
Paul Martin <pm@debian.org>



Reply to: