I have a custom pcmcia card which I originally accessed through /dev/mem0c0c. This worked with debian running the 2.4 kernel. Mandrake10.0 running 2.6 however seems to have problems:
-----------cut from syslog----------------------
Sep 2 09:31:53 localhost pcmcia: Starting PCMCIA services:
Sep 2 09:31:55 localhost pcmcia: cardmgr[582]: watching 2 sockets
Sep 2 09:31:55 localhost cardmgr[582]: watching 2 sockets
Sep 2 09:31:55 localhost cardmgr[583]: socket 0: Memory Card
Sep 2 09:31:55 localhost pcmcia: done.
Sep 2 09:31:55 localhost rc: Starting pcmcia: succeeded
Sep 2 09:31:55 localhost cardmgr[583]: + FATAL: Module sram_mtd not found.
Sep 2 09:31:55 localhost cardmgr[583]: module /lib/modules/2.6.3-7mdk/pcmcia/sram_mtd.o not available <30>Sep
2 09:31:55 cardmgr[583]: Common memory region at 0x0: Generic or SRAM
Sep 2 09:31:55 localhost cardmgr[583]: + FATAL: Module memory_cs not found.
Sep 2 09:31:55 localhost cardmgr[583]: module /lib/modules/2.6.3-7mdk/pcmcia/memory_cs.o not available
------------------------------snip-------------------------------------
No /dev/mem0c0c is made. The card is found by "cardctl ident" so the hw is functioning. My network card is also a pcmcia card and this works fine. Appearantly memory_cs and sram_mtd is missing, actually the directory /lib/modules/2.6.3-7mdk/pcmcia/ is missing. Does anyone know how to solve this? Has memory_cs.o and sram_mtd.o simply been moved?
Regards,
Leif
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a custom pcmcia card which I originally accessed through /dev/mem0c0c. This worked with debian running the 2.4 kernel. Mandrake10.0 running 2.6 however seems to have problems:
-----------cut from syslog----------------------
Sep 2 09:31:53 localhost pcmcia: Starting PCMCIA services:
Sep 2 09:31:55 localhost pcmcia: cardmgr[582]: watching 2 sockets
Sep 2 09:31:55 localhost cardmgr[582]: watching 2 sockets
Sep 2 09:31:55 localhost cardmgr[583]: socket 0: Memory Card
Sep 2 09:31:55 localhost pcmcia: done.
Sep 2 09:31:55 localhost rc: Starting pcmcia: succeeded
Sep 2 09:31:55 localhost cardmgr[583]: + FATAL: Module sram_mtd not found.
Sep 2 09:31:55 localhost cardmgr[583]: module /lib/modules/2.6.3-7mdk/pcmcia/sram_mtd.o not available <30>Sep
2 09:31:55 cardmgr[583]: Common memory region at 0x0: Generic or SRAM
Sep 2 09:31:55 localhost cardmgr[583]: + FATAL: Module memory_cs not found.
Sep 2 09:31:55 localhost cardmgr[583]: module /lib/modules/2.6.3-7mdk/pcmcia/memory_cs.o not available
------------------------------snip-------------------------------------
No /dev/mem0c0c is made. The card is found by "cardctl ident" so the hw is functioning. My network card is also a pcmcia card and this works fine. Appearantly memory_cs and sram_mtd is missing, actually the directory /lib/modules/2.6.3-7mdk/pcmcia/ is missing. Does anyone know how to solve this? Has memory_cs.o and sram_mtd.o simply been moved?
Regards,
Leif
There is no memory_cs driver for 2.6.
There is a "pcmciamtd" driver in recent kernels but I haven't actually tried it and it has not been well documented. There is some info here:
http://www.si.org/pcmciamtd/
-- Dave