[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PCMCIA Flash Card Problem




I have a 64MB flash memory card with a pcmcia adapter.

As far as I know those things use ide/ata interface.
It worked this way on my old Laptop with a potato frozen
release. I could mount it with something like 
"mount -t msdos /dev/hde1 /flash".

Something changed in the meanwhile with potato r3 
instead ide_cs some memory_cs and sram modules
get loaded.  Is this correct and if so how do I access the card now?
A mount on /dev/mem0 fails of course (no valid block device).

My overall feeling is that the card is not recocnized correctly. 
Does anybody have or had a similar problem ?



Remarks: 

It does not seem to be a hardware Problem: I copied the old Potato frozen System
on the new Laptop and it does work just like it did on the old Laptop ( well
it is hdc now and used to be hde)

I will get pretty much the same thing when using kernel 2.2.19 and the original 
potato pcmcia-cs package instead of Adrian Bunks kernel 2.4 stuff.

I also tried to use the provided 2.4 kernel moduls, but have even more troubles 
with those. 

I also did rebuild  and install the pcmcia-deb package with modules  for any kernel 
and any kernel configuration I tried.

I can't remember to have changed anything to the pcmcia system when I installed the 
old sysmtem, but it is a long time ago.


Here is some more out put from syslog

old Potato frozen preRelease , Kernel 2.2.15
PCMCIA Package: pcmcia-cs (3.1.8-14) frozen

Jul  4 06:39:56 tofila cardmgr[127]: initializing socket 0
Jul  4 06:39:56 tofila cardmgr[127]: socket 0: ATA/IDE Fixed Disk
Jul  4 06:39:56 tofila cardmgr[127]: executing: 'insmod /lib/modules/2.2.15/pcmcia/ide_cs.o'
Jul  4 06:40:00 tofila kernel: hdc: PQI FLASH DISK 1201N Rev990903, ATA DISK drive
Jul  4 06:40:00 tofila kernel: ide1 at 0x100-0x107,0x10e on irq 3
Jul  4 06:40:00 tofila kernel: hdc: PQI FLASH DISK 1201N Rev990903, 63MB w/0kB Cache, CHS=1014/8/16
Jul  4 06:40:00 tofila kernel:  hdc: hdc1
Jul  4 06:40:00 tofila kernel: ide_cs: hdc: Vcc = 3.3, Vpp = 0.0
Jul  4 06:40:00 tofila cardmgr[127]: executing: './ide start hdc'
Jul  4 06:40:00 tofila kernel: VFS: Disk change detected on device ide1(22,0)
Jul  4 06:40:00 tofila kernel:  hdc: hdc1
Jul  4 06:40:00 tofila kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Jul  4 06:40:00 tofila kernel: hdc: drive_cmd: error=0x04 { DriveStatusError }




Potato r3 , Kernel 2.4.5 
PCMCIA Package: pcmcia-cs (3.1.25-2.bunk)

Jul  4 09:56:01 io cardmgr[175]: executing: 'modprobe -r memory_cs'
Jul  4 09:56:01 io cardmgr[175]: executing: 'modprobe -r sram_mtd'
Jul  4 09:56:13 io cardmgr[175]: initializing socket 0
Jul  4 09:56:13 io cardmgr[175]: socket 0: Anonymous Memory
Jul  4 09:56:13 io cardmgr[175]: executing: 'modprobe sram_mtd'
Jul  4 09:56:13 io cardmgr[175]:   Common memory region at 0x0: Generic or SRAM
Jul  4 09:56:13 io cardmgr[175]: executing: 'modprobe memory_cs'
Jul  4 09:56:13 io kernel: sram_mtd: common at 0x0, 2 kb, 400 ns
Jul  4 09:56:13 io cardmgr[175]: executing: './memory start mem0'
Jul  4 09:56:13 io kernel: memory_cs: mem0: common 2 kb




thanks

	Thomas



Reply to: