LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Linear Flash PCMCIA Memory Card - Need help w/modules (https://www.linuxquestions.org/questions/linux-hardware-18/linear-flash-pcmcia-memory-card-need-help-w-modules-572052/)

YeeHaa4LINUX 07-24-2007 10:28 PM

Linear Flash PCMCIA Memory Card - Need help w/modules
 
Hi all,

I'm trying to work with some older Linear Flash PCMCIA cards from a Cisco 1600R series router (I think).

My system doesn't seem to recognize the card properly.
In the old days I would have needed the memory_cs module.
I now have Kernel 2.6.20 and I don't know what modules to load to work with this card.

Can anyone give me some suggestions?


Here are the tech. details.

Distro: Ubuntu Studio

uname -a:
---------
Linux 2.6.20-16-lowlatency #2 SMP PREEMPT Thu Jun 7 20:23:03 UTC 2007 i686 GNU/Linux


dmesg:
--------
[293473.962000] pccard: PCMCIA card inserted into slot 1
[293473.962000] cs: memory probe 0xf0000000-0xf7ffffff: excluding 0xf0000000-0xf7ffffff
[293473.962000] cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff
[293473.966000] pcmcia: registering new device pcmcia1.0



A directory structure appears under /sys/bus/pcmcia
----------------------------------------------------
ls /sys/bus/pcmcia/devices/1.0/
allow_func_id_match func_id modalias prod_id1 prod_id4
bus function pm_state prod_id2 subsystem
card_id manf_id power prod_id3 uevent


and finally - pccardctl info shows:
-----------------------------------
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255
PRODID_1="SMART Modular Technologies"
PRODID_2=" 4MB FLASH Card"
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=1

The first card is a cardbus card using NDISWRAPPER to drive a wireless network card.

The second card is the Linear Flash card.

Please note that Linear Flash memory is NOT ATA type flash memory.

Thanks for any help on this.

maroonbaboon 07-24-2007 11:53 PM

Is the PCMCIA Howto out of date on this?

It seems to suggest the kernel CONFIG_MTD option needs to be turned on.

YeeHaa4LINUX 07-25-2007 10:27 AM

Yes - the PCMCIA HowTo's are out of date for the newest kernels.

I'll look at the MTD option but I have several MTD modules already compiled and ready to load.
I just don't know which ones and if they are even the right choices.

There seems to be a few notes on the Yenta socket driver not detecting cards when they are inserted.
I'm thinking this is why the modules aren't loading automatically.

My last option is to download the PCMCIA stuff from sourceforge and try that but I didn't want to break my distro without asking about this problem on the forums.


All times are GMT -5. The time now is 04:39 AM.