"cs: unable to map card memory!" strikes again - Portable

This is a discussion on "cs: unable to map card memory!" strikes again - Portable ; I've had problems with PCMCIA subsystem before, while using Kernel 2.4 (on RHEL3 and CentOS 3.x). Luckily, fix was fairly easy, and involved including "include port ..." statement into /etc/pcmcia/config.opts file. Now, I've migrated to CentOS 4, and am having ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: "cs: unable to map card memory!" strikes again

  1. "cs: unable to map card memory!" strikes again

    I've had problems with PCMCIA subsystem before, while using Kernel 2.4
    (on RHEL3 and CentOS 3.x). Luckily, fix was fairly easy, and involved
    including "include port ..." statement into /etc/pcmcia/config.opts
    file.

    Now, I've migrated to CentOS 4, and am having nightmares with PCMCIA.

    I am having PCI-PCMCIA adapter in my computer. Adapter is recognized as
    (lspci output):

    CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)

    When I start PCMCIA service, I get following output in the logs:

    --- output ---
    Mar 30 18:06:16 xxxxx kernel: Linux Kernel Card Services
    Mar 30 18:06:16 xxxxx kernel: options: [pci] [cardbus] [pm]
    Mar 30 18:06:16 xxxxx kernel: ACPI: PCI interrupt 0000:01:08.0[A] ->
    GSI 11 (level, low) -> IRQ 11
    Mar 30 18:06:16 xxxxx kernel: Yenta: CardBus bridge found at
    0000:01:08.0 [14ef:0101]
    Mar 30 18:06:16 xxxxx kernel: Yenta: ISA IRQ mask 0x0000, PCI irq 11
    Mar 30 18:06:16 xxxxx kernel: Socket status: 30000816
    Mar 30 18:06:17 xxxxx cardmgr[15172]: open_sock(socket 1) failed: Bad
    file descriptor
    Mar 30 18:06:17 xxxxx cardmgr[15172]: watching 1 socket
    Mar 30 18:06:17 xxxxx kernel: cs: IO port probe 0x9c00-0xa003: clean.
    Mar 30 18:06:17 xxxxx kernel: cs: IO port probe 0x9400-0x94ff: clean.
    --- end of output ---

    Search on the web revealed that Fedora Core 3 users had similar issues,
    although for some people PCMCIA cards worked even with this open_sock
    error, and for other PCMCIA cards didn't work.

    When I plug the card in, I get the usual 'anonymous memory' error:

    --- output ---
    Mar 30 17:52:16 xxxxx cardmgr[15080]: socket 0: Anonymous Memory
    Mar 30 17:52:16 xxxxx kernel: cs: memory probe 0xa0000000-0xa0ffffff:
    excluding 0xa0000000-0xa0ffffff
    Mar 30 17:52:16 xxxxx kernel: cs: memory probe 0x60000000-0x60ffffff:
    excluding 0x60000000-0x60ffffff
    Mar 30 17:52:16 xxxxx kernel: cs: warning: no high memory space
    available!
    Mar 30 17:52:16 xxxxx kernel: cs: unable to map card memory!
    Mar 30 17:52:17 xxxxx last message repeated 5 times
    Mar 30 17:52:17 xxxxx cardmgr[15080]: executing: 'modprobe memory_cs
    2>&1'
    Mar 30 17:52:17 xxxxx cardmgr[15080]: + FATAL: Module memory_cs not
    found.
    Mar 30 17:52:17 xxxxx cardmgr[15080]: modprobe exited with status 1
    Mar 30 17:52:17 xxxxx cardmgr[15080]: module
    /lib/modules/2.6.9-5.0.3.EL/pcmcia/memory_cs.o not available
    Mar 30 17:52:17 xxxxx cardmgr[15080]: bind 'memory_cs' to socket 0
    failed: Invalid argument
    --- end of output ---

    Now, I have tried just about every possible combination of "include
    port" and "include memory" statements in config.opts file. No matter
    which combination I try, I always get same output (open_sock error for
    PCMCIA service, and 'anonymous memory' error when I try to plug the
    card).

    I have also tried compiling pcmcia-cs-3.2.8 (CentOS 4 include
    pcmcia-cs-3.2.7) from sources. I also couldn't get PCMCIA to work, but
    I'd get different error:

    --- output ---
    Mar 30 17:40:06 xxxxx kernel: Linux Kernel Card Services
    Mar 30 17:40:06 xxxxx kernel: options: [pci] [cardbus] [pm]
    Mar 30 17:40:06 xxxxx kernel: Intel ISA PCIC probe: not found.
    Mar 30 17:40:06 xxxxx kernel: Device 'i823650' does not have a
    release() function, it is broken and must be fixed.
    Mar 30 17:40:06 xxxxx kernel: Badness in device_release at
    drivers/base/core.c:85
    Mar 30 17:40:06 xxxxx kernel: [] kobject_cleanup+0x40/0x60
    Mar 30 17:40:06 xxxxx kernel: [] kobject_release+0x0/0x8
    Mar 30 17:40:06 xxxxx kernel: [] kref_put+0x41/0x46
    Mar 30 17:40:06 xxxxx kernel: [] init_i82365+0x6c/0x19e
    [i82365]
    Mar 30 17:40:06 xxxxx kernel: [] sys_init_module+0x1f1/0x2d9
    Mar 30 17:40:06 xxxxx kernel: [] syscall_call+0x7/0xb
    Mar 30 17:40:06 xxxxx kernel: ACPI: PCI interrupt 0000:01:08.0[A] ->
    GSI 11 (level, low) -> IRQ 11
    Mar 30 17:40:06 xxxxx kernel: Yenta: CardBus bridge found at
    0000:01:08.0 [14ef:0101]
    Mar 30 17:40:07 xxxxx kernel: Yenta: ISA IRQ mask 0x0000, PCI irq 11
    Mar 30 17:40:07 xxxxx kernel: Socket status: 30000816
    Mar 30 17:40:07 xxxxx hald[2387]: Timed out waiting for hotplug event
    324. Rebasing to 325
    Mar 30 17:40:07 xxxxx cardmgr[14822]: open_sock(socket 1) failed: Bad
    file descriptor
    Mar 30 17:40:07 xxxxx cardmgr[14822]: watching 1 socket
    Mar 30 17:40:07 xxxxx kernel: cs: IO port probe 0x9c00-0xa003: clean.
    Mar 30 17:40:07 xxxxx kernel: cs: IO port probe 0x9400-0x94ff: clean.
    --- end of output ---

    I've searched the web, but I couldn't find any pointers whatsoever on
    how to fix this problem. Or even how to try to troubleshoot it.

    I mean, what causes these error, and what I can do in order to fix
    them?

    As mentioned before, I've already tried changing "include port" and
    "include memory" statements in config.opts file.

    Any help is much appreciated.


  2. re:"cs: unable to map card memory!" strikes again

    Hi!

    I have the exact same problem with a RedHat FC3 and a Ricoh CardBus
    bridge: Ricoh Co Ltd RL5c475 (rev 81) :

    cs: IO port probe 0x0c00-0x0cff: clean.
    cs: IO port probe 0x0100-0x04ff: excluding 0x2f8-0x2ff 0x3f8-0x3ff
    0x4d0-0x4d7
    cs: IO port probe 0x0a00-0x0aff: clean.
    cs: memory probe 0xa0000000-0xa0ffffff: excluding
    0xa0000000-0xa0ffffff
    cs: memory probe 0x60000000-0x60ffffff: excluding
    0x60000000-0x60ffffff
    cs: warning: no high memory space available!
    cs: unable to map card memory!
    cs: unable to map card memory!
    cs: unable to map card memory!
    cs: unable to map card memory!
    cs: unable to map card memory!
    cs: unable to map card memory!


    Did you manage to find a solution since your post?

    Antoine

    http://www.DevPlug.com --Connecting Developers
    Posted from: http://www.devplug.com/ftopic18355.htm

  3. Re: "cs: unable to map card memory!" strikes again

    blentus@pobox.com wrote:
    >
    > I am having PCI-PCMCIA adapter in my computer. Adapter is recognized as
    > (lspci output):
    >
    > CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)


    does the bridge need a driver?
    carbus is 32 bit, pcmcia is 16 bit.

    Joe

    --
    Joseph Mack NA3T EME(B,D), FM05lw North Carolina
    jmack (at) wm7d (dot) net - azimuthal equidistant map
    generator at http://www.wm7d.net/azproj.shtml
    Homepage http://www.austintek.com/ It's GNU/Linux!

+ Reply to Thread