Re: pcmcia lockup inserting or removing cards in 2.4.5-ac{13,22}

From: Trevor Hemsley (
Date: Thu Jul 05 2001 - 00:41:15 EST

On Tue, 3 Jul 2001 00:30:10, "Trevor Hemsley"
<> wrote:

> Somewhere between 2.4.2 and 2.4.5-ac13, PCMCIA card insertion and
> removal appears to have broken on my Toshiba Libretto. On 2.4.2 all was
> fine. On both 2.4.5-ac13 and ac22 it's broken. The whole machine freezes
> solid, no SAK-s, SAK-u, SAK-b, no Ctrl-Alt-Fn to switch VC's. No messages
> are issued. Problem occurs when inserting/removing any of YE-Data PCMCIA
> floppy, TDK Smartmedia adapter (ide_cs), or 3c589 ethernet card.

[large snip]

OK, I've done quite a lot more work on this. It isn't 2.4.5, I'd
compiled USB support in when I went to 2.4.5 and it's that that causes
the problems. I backed out all changes made between 2.4.2 and 2.4.5 in
drivers/pcmcia and that made no difference to the lockup so then I
went back to the .config file from 2.4.2 and that worked.

My best guess is that the USB support is using IRQ 11 and that the
PCMCIA card sockets are wired to use that as well. I have a bypass for
now - if I set the Toshiba BIOS up to use the slots in PCIC mode then
it assigns them IRQ 15. In cardbus mode they get assigned IRQ 11 in
Win9x but dmesg reports

Linux Kernel Card Services 3.1.22
  options: [pci] [cardbus] [pm]
PCI: No IRQ known for interrupt pin A of device 00:06.0. Please try
using pci=biosirq.
PCI: No IRQ known for interrupt pin B of device 00:06.1. Please try
using pci=biosirq.


Yenta IRQ list 0eb8, PCI irq0
Socket status: 30000007
Yenta IRQ list 0eb8, PCI irq0
Socket status: 30000007

Using pci=biosirq makes no difference when in cardbus mode.

Ah, got it, flipping the PCMCIA setup in the BIOS from "Auto-detect"
to "Cardbus/16 bit" fixes it. lspci -vv now lists the cardbus ports as
having IRQ 11 assigned (instead of 0 before). Everything (famous last
words) appears to be working.

Trevor Hemsley, Brighton, UK.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jul 07 2001 - 21:00:14 EST