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

Bug#330424: kernel-image-2.6.8-2-686: yenta_socket hangs or disabled irq



Package: kernel-image-2.6.8-2-686
Version: 2.6.8-16
Severity: important


Hello,

The problem here is that if I configure the bios so that PINA to PIND use IRQ11, wich is the BIOS default, yenta_socket, loaded by the pcmcia_cs package or by hand, seems to load fine, here is the relevant part of dmesg:

Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:05.0
PCI: Sharing IRQ 11 with 0000:01:00.0
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 0x06b8, PCI irq 11
Socket status: 30000020
PCI: Found IRQ 11 for device 0000:00:02.1
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 0x06b8, PCI irq 11
Socket status: 30000006

But inserting a card (here an USB 2.0 / Firewire Combo card) hangs the system, until I remove it. I tried to compile the kernel with pcmcia debugging option enabled, but there is nothing in dmesg or kernel.log, never. When I remove the card the system "lives" again. 

Now if I assign different IRQS in the BIOS, I'll get the famous "IRQ(choose_whatever_here): nobody cared" message, followed by "disabling IRQ(whatever)".

This happens on a thinkpad a20p, with a TI1450 cardbus controller, the relevant part of lspci -v is:

0000:00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
	Subsystem: IBM Thinkpad T20
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at 50000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
	Memory window 0: 18000000-183ff000 (prefetchable)
	Memory window 1: 18400000-187ff000
	I/O window 0: 00004000-000040ff
	I/O window 1: 00004400-000044ff
	16-bit legacy interface ports at 0001

0000:00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
	Subsystem: IBM Thinkpad T20
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at 50100000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
	Memory window 0: 18800000-18bff000 (prefetchable)
	Memory window 1: 18c00000-18fff000
	I/O window 0: 00004800-000048ff
	I/O window 1: 00004c00-00004cff
	16-bit legacy interface ports at 0001


As a test I tried to plug in another disk, install windows 2000 on it, plug the pcmcia card in, and everything works fine. The both slots get IRQ 09 assigned, the same 
memory window as in debian, and for I/O window I don't know, my little knowledge is ending here it's not written in the same format.

Christophe

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages kernel-image-2.6.8-2-686 depends on:
ii  coreutils [fileutils]         5.2.1-2.1  The GNU core utilities
ii  initrd-tools                  0.1.82     tools to create initrd image for p
ii  module-init-tools             3.2-pre8-1 tools for managing Linux kernel mo

kernel-image-2.6.8-2-686 recommends no packages.

-- no debconf information



Reply to: