Yenta CardBus disables IRQ on insert

Mike Cumings mcumings at gmail.com
Sat Jan 29 16:56:00 EST 2005


Hi Dominik,

As requested, a full /proc/interrupts with the wired LAN card
on 2.6.11-rc2 (with args):

           CPU0
  0:     162646          XT-PIC  timer
  1:        417          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:         12          XT-PIC  uhci_hcd, ESS Maestro
  9:         11          XT-PIC  acpi
 11:          5          XT-PIC  yenta, yenta
 12:        110          XT-PIC  i8042
 14:       2512          XT-PIC  ide0
 15:         30          XT-PIC  ide1
NMI:          0
ERR:          5


After actually using the ethernet device (dhcpcd eth0), the device
added a handler as follows:

 11:          8          XT-PIC  yenta, yenta, eth0

The process I followed was:
1) Boot 2.6.11-rc2 with args.  No cards in slots.
2) Capture /proc/interrupts and dmesg
3) Insert wired LAN card into slot.
4) Capture /proc/interrupts and dmesg (These are those above)
5) Insert Wifi card into slot
6) Capture /proc/interrupts and dmesg

At this point, Wifi was working.  One of the statistical anomalies that I
wish was more frequent! :)

7) shutdown -r now
8) Boot 2.6.11-rc2 with args.  No cards in slots.
9) Insert Wifi card
A) Capture /proc/interrupts and dmesg.

The output from step #A is:

           CPU0
  0:      93073          XT-PIC  timer
  1:        217          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:         12          XT-PIC  uhci_hcd, ESS Maestro
  9:         12          XT-PIC  acpi
 11:     100001          XT-PIC  yenta, yenta
 12:        554          XT-PIC  i8042
 14:       2492          XT-PIC  ide0
 15:         30          XT-PIC  ide1
NMI:          0
ERR:          5

and the relevant parts of dmesg:

Linux version 2.6.11-rc2 (root at laptop) (gcc version 3.4.3 20041125
(Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #1 Sat Jan 29
05:16:25
PST 2005
...
Kernel command line: root=/dev/hda3 vga=0xf01 yenta_socket.disable_clockrun=1
...
PCI: 0000:00:04.0 has unsupported PM cap regs version (1)
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI interrupt 0000:00:04.0[A] -> GSI 11 (level, low) -> IRQ 11
Yenta: CardBus bridge found at 0000:00:04.0 [1028:009e]
PCI: 0000:00:04.0 has unsupported PM cap regs version (1)
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:04.0, mfunc 0x01021c72, devctl 0x66
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000069
PCI: 0000:00:04.1 has unsupported PM cap regs version (1)
ACPI: PCI interrupt 0000:00:04.1[A] -> GSI 11 (level, low) -> IRQ 11
Yenta: CardBus bridge found at 0000:00:04.1 [1028:009e]
PCI: 0000:00:04.1 has unsupported PM cap regs version (1)
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:04.1, mfunc 0x01021c72, devctl 0x66
spurious 8259A interrupt: IRQ7.
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000006
...
irq 11: nobody cared!
 [<c01354aa>] __report_bad_irq+0x2a/0x90
 [<c0134dd9>] handle_IRQ_event+0x39/0x70
 [<c01355d3>] note_interrupt+0xa3/0xd0
 [<c0134f71>] __do_IRQ+0x161/0x180
 [<c0104cc9>] do_IRQ+0x19/0x30
 [<c0103306>] common_interrupt+0x1a/0x20
 [<c011c3ee>] __do_softirq+0x2e/0xa0
 [<c011c486>] do_softirq+0x26/0x30
 [<c011c545>] irq_exit+0x35/0x40
 [<c0104cce>] do_IRQ+0x1e/0x30
 [<c0103306>] common_interrupt+0x1a/0x20
 [<c0201c4f>] acpi_processor_idle+0xf0/0x229
 [<c01010e4>] cpu_idle+0x44/0x60
 [<c041879e>] start_kernel+0x14e/0x170
 [<c0418330>] unknown_bootoption+0x0/0x1e0
handlers:
[<c0283fa0>] (yenta_interrupt+0x0/0x40)
[<c0283fa0>] (yenta_interrupt+0x0/0x40)
Disabling IRQ #11

Let me know if you need more info.  Thanks for helping!

Mike


On Sat, 29 Jan 2005 19:58:17 +0100, Dominik Brodowski
<linux at dominikbrodowski.de> wrote:
> Hi,
> 
> On Fri, Jan 28, 2005 at 10:16:28AM -0800, Mike Cumings wrote:
> > The problem occurs consitently when inserting a specific Wifi module into
> > a CardBus slot, though I have a wired LAN module which seems to prompt
> > this failure on a less frequent basis.
> 
> Can you send me the full /proc/interrupts output for the wired LAN module,
> please? Also, could you try out 2.6.11-rc2+ or later, and pass the parameter
> "disable_clkrun=1" to yenta_socket? (i.e. add
> yenta_socket.disable_clockrun=1 if you have built it into the kernel, or use
> "modprobe yenta_socket disable_clockrun=1" _before_ starting pcmcia using
> /etc/init.d/pcmcia or wherever your distribution does it.
> 
> Thanks,
>         Dominik
> 


-- 
Mike Cumings



More information about the linux-pcmcia mailing list