PCMCIA issues ---> cs: unable to map card memory 0x1000!

Mathieu Bertrand Bertrand at tcl.ite.mee.com
Fri Feb 11 03:49:31 EST 2005

-----Original Message-----
From: Dominik Brodowski [mailto:linux at dominikbrodowski.net]
Sent: mercredi 9 février 2005 21:13
To: Mathieu Bertrand
Cc: 'linux-pcmcia at lists.infradead.org'
Subject: Re: PCMCIA issues ---> cs: unable to map card memory 0x1000!


On Tue, Feb 08, 2005 at 05:40:51PM +0100, Mathieu Bertrand wrote:
>         Memory behind bridge: c4000000-c8ffffff
>         Prefetchable memory behind bridge:

>         Memory window 0: c0000000-c1fff000 (prefetchable)
>         Memory window 1: c4000000-c5fff000

>         Memory window 0: c2000000-c3fff000 (prefetchable)
>         Memory window 1: c6000000-c7fff000

> include port 0x00000000-0x00000fff, port 0x00001000-0x00001fff
> include port 0x00002000-0x00002fff, port 0x00003000-0x00003fff
> include memory 0xc0000000-0xc1ffffff, memory 0xc4000000-0xc5ffffff
> include memory 0xc2000000-0xc3ffffff, memory 0xc6000000-0xc7ffffff
> I don't really know what to do.

You need to make more iomem and ioport resources available. Especially some
which are _not_ used as Memory windows or I/O windows on the socket by
default. E.g. on my notebook's yenta sockets there is

Memory window 0: 30400000-307ff000 (prefetchable)
Memory window 1: 30800000-30bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff

but my /etc/pcmcia/config.opts does not even contain these resources:

include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
include memory 0xc0000-0xfffff
include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff

Hope that helps,


It's ok now, thanks Dominik !
I tried :
include memory 0xc0000000-0xc4ffffff, memory 0xc5000000-0xc9ffffff
And now my yenta socket is mapped !

Now, It fails here :
Dec 31 17:00:52 cardmgr[1534]: get dev info on socket 0 failed: Resource
temporarily unavailable
I need to investigate but if you have an idea, I'm interested.


More information about the linux-pcmcia mailing list