pcmcia problems with IDE & cardbus

Herbert Rosmanith (herp@wildsau.idv-edu.uni-linz.ac.at)
Wed, 27 Feb 2002 01:26:23 +0100 (MET)


hi,

I've been trying to get a CompactFlash act as an IDE-drive, 2nd or 3rd
ide-channel, that is, IDE1 or IDE2 resp. Didn't work. Seems to be driver
related.

I downloaded 2.4.18 and pcmcia-3.1.31, from the later I got "ide_cs.o"

The hardware I am using a a two socket PCI to PCMCIA bridge:

hale-bopp:~ # cat /proc/interrupts
[...]
10: 1 XT-PIC Texas Instruments PCI1221, Texas Instruments PCI1221 (#2)

when the init-script starts the pcmcia modules + cardmgr, the following
messages will appear in the kernel-log:

: Linux Kernel Card Services 3.1.22
: options: [pci] [cardbus] [pm]
: PCI: Found IRQ 10 for device 00:09.0
: PCI: Sharing IRQ 10 with 00:09.1
: PCI: Found IRQ 10 for device 00:09.1
: PCI: Sharing IRQ 10 with 00:09.0
: Yenta IRQ list 0000, PCI irq10
: Socket status: 30000006
: Yenta IRQ list 0000, PCI irq10
: Socket status: 30000010
: cs: IO port probe 0x0c00-0x0cff: clean.
: cs: IO port probe 0x0800-0x08ff: clean.
: cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
: cs: IO port probe 0x0a00-0x0aff: clean.
: cs: memory probe 0xa0000000-0xa0ffffff: clean.
: hde: SanDisk SDCFB-16, ATA DISK drive
: ide2: Disabled unable to get IRQ 10.
: hde: ERROR, PORTS ALREADY IN USE
: ide2: ports already in use, skipping probe
: ide2: ports already in use, skipping probe
: ide2: ports already in use, skipping probe
: ide2: ports already in use, skipping probe
: ide2: ports already in use, skipping probe
: ide2: ports already in use, skipping probe
: ide2: ports already in use, skipping probe
: ide2: ports already in use, skipping probe
: ide_cs: ide_register() at 0x100 & 0x10e, irq 10 failed
: Trying to free nonexistent resource <00000100-0000010f>

"unable to get IRQ 10" is somewhat funny, since IRQ-10 is used by
the cardbus device. what I don't understand is if the IDE-drive
sould get its own interrupt or not.

"ports already in use" doesnt go away even when I remove all IDE-drives
(one CDROM, that is ;-) from ide1 and try to have the CompactFlash as
2ndry IDE (the message would then read: ide1: ports alread yin use,
skipping probe).

and finally an ugly detail: when removing the ComapctFlash and
unloading pcmcia, ide_cs will still have the ioport-ressources
clailed form /proc/ioport. seems there's a call to *_unregister
missing.

/herp

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/