Help accessing compact flash memory card?

Jeff jeff at adamsclan.org
Thu Dec 29 01:53:59 EST 2005


Pavel Roskin wrote:
> Then your card is not a "bare" memory card, because there was no
> memory_cs for 2.6.12, so cardmgr was loading some other module, most
> likely ide-cs.

Hmmm, I don't recall which module was loading :(

> Indeed, you have a usual IDE card that should be supported by ide-cs,
> but the card CIS became unavailable after the kernel upgrade.

I've tried loading ide-cs as a module, but that seemingly has had no 
effect.

Actually, I just figured that if ide-cs is loaded, then the card is not 
inserted into the /sys/bus/pcmcia/device/ tree. Further, dmesg reports 
only one line when the card is inserted:
pccard: PCMCIA card inserted into slot 0

instead of two lines when ide-cs is not loaded:
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0

Hopefully that means something.

> OK, then we need to find out why CIS is not available.

Sounds good. Can you explain more about the card CIS? What do I need to 
look at/for?

> It may be interesting to see the messages about the PCMCIA socket.  The
> list of the loaded modules could be useful.  Are PCMCIA drivers compiled
> as modules?

I had previously been using modules but I've now compiled all pcmcia 
drivers into the kernel. I'm using the yenta driver, which is the driver 
I was using when it last worked.

Here's what dmesg says about anything pcmcia|yenta related:

Generic platform RAM MTD, (c) 2004 Simtec Electronics
ACPI: PCI Interrupt 0000:01:05.0[A] -> Link [LNKH] -> GSI 10 (level, 
low) -> IRQ 10
Yenta: CardBus bridge found at 0000:01:05.0 [10f7:8338]
Yenta: ISA IRQ mask 0x0818, PCI irq 10
Socket status: 30000810
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
cs: IO port probe 0x3000-0x3fff: clean.
pcmcia: parent PCI bridge Memory window: 0xe0200000 - 0xe02fffff
pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x31ffffff
pccard: PCMCIA card inserted into slot 0
cs: memory probe 0xe0200000-0xe02fffff: excluding 0xe0200000-0xe023ffff
pcmcia: Detected deprecated PCMCIA ioctl usage.
pcmcia: This interface will soon be removed from the kernel; please 
expect breakage unless you upgrade to new tools.
pcmcia: see 
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for
details.

Thanks for your help



More information about the linux-pcmcia mailing list