Problem with yenta_socket (unable to map card memory)

Jeff Morrow jmorrow at jmorrow.org
Sat Jul 10 12:49:48 EDT 2004


I've searched alot of lists and found info on similar problems, but I 
can't seem to find anything that exactly matches my problem.  I have a 
Ricoh PCI-to-PCMCIA card that isn't working properly (exact errors 
below).  The system is running Debian unstable, kernel 2.6.7.

I tried recompiling the kernel with the patch given at 
http://lists.infradead.org/pipermail/linux-pcmcia/2004-June/000982.html, 
but it didn't help.  Same failure.

Here's a bunch of info you might need:



 From dmesg:

Linux Kernel Card Services
   options:  [pci] [cardbus] [pm]
Yenta: CardBus bridge found at 0000:01:0a.0 [0000:0000]
yenta 0000:01:0a.0: Preassigned resource 0 busy, reconfiguring...
yenta 0000:01:0a.0: Preassigned resource 2 busy, reconfiguring...
Yenta: ISA IRQ mask 0x0000, PCI irq 10
Socket status: 30000410
...
cs: IO port probe 0x0100-0x04ff: excluding 0x290-0x297 0x4d0-0x4d7
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
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: memory probe 0x0d0000-0x0dffff: excluding 0xd0000-0xdffff
cs: memory probe 0x0e0000-0x0effff: excluding 0xe0000-0xeffff
cs: memory probe 0x0c0000-0x0cffff: excluding 0xc0000-0xcffff
cs: memory probe 0x0f0000-0x0fffff: excluding 0xf0000-0xfffff
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!



 From lspci -v:

0000:01:0a.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
         Flags: bus master, medium devsel, latency 168, IRQ 10
         Memory at e4004000 (32-bit, non-prefetchable) [size=4K]
         Bus: primary=01, secondary=02, subordinate=05, sec-latency=176
         Memory window 0: e0200000-e03ff000 (prefetchable)
         Memory window 1: e4007000-e4008000
         I/O window 0: 0000a800-0000a8ff
         I/O window 1: 0000b000-0000b403
         16-bit legacy interface ports at 0001



 From /etc/pcmcia/config.opts:

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

# High port numbers do not always work...
# include port 0x1000-0x17ff

# Extra port range for IBM Token Ring
include port 0xa00-0xaff

# Resources we should not use, even if they appear to be available

# First built-in serial port
exclude irq 4
# Second built-in serial port
#exclude irq 3
# First built-in parallel port
exclude irq 7



 From /proc/interrupts:

            CPU0
   0:  122124298          XT-PIC  timer
   1:       2092          XT-PIC  i8042
   2:          0          XT-PIC  cascade
   3:   12421457          XT-PIC  ohci1394, eth0
   5:        987          XT-PIC  eth2
   7:       7304          XT-PIC  parport0
   8:          4          XT-PIC  rtc
   9:          0          XT-PIC  acpi
  10:    3062069          XT-PIC  ide2, ide3, NVidia nForce2, yenta, 
ohci_hcd
  11:    1817387          XT-PIC  ide4, ide5, Bt87x audio, bttv0, 
ohci_hcd, ehci_hcd, libata
  12:        772          XT-PIC  i8042
  14:     316932          XT-PIC  ide0
  15:     335860          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:        490
MIS:          0

Any ideas?

Jeff Morrow





More information about the linux-pcmcia mailing list