[ltp] Re: mounting CF card

Marcus Horstmann mhorstma at gmx.de
Tue Apr 15 17:23:59 CEST 2003


Works without problems for me (RH 7.3).
- do a 'tail -f' on your message file (e.g. '/var/log/messages')
- insert your CF-Card
- look at the output to see as which hd-device it is found (for me its hde)
- do a mount on that device as 'vfat' filesystem.

thats it.

my output looks as this:
Apr 15 12:31:20 titan cardmgr[835]: initializing socket 0
Apr 15 12:31:20 titan cardmgr[835]: socket 0: ATA/IDE Fixed Disk
Apr 15 12:31:20 titan kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Apr 15 12:31:20 titan cardmgr[835]: executing: 'modprobe ide-cs'
Apr 15 12:31:22 titan kernel: hde: , ATA DISK drive
Apr 15 12:31:22 titan kernel: ide2 at 0x100-0x107,0x10e on irq 3
Apr 15 12:31:22 titan kernel: ide-floppy driver 0.99.newide
Apr 15 12:31:22 titan kernel: hde: 368640 sectors (189 MB) w/0KiB Cache, 
CHS=960/16/24
Apr 15 12:31:22 titan kernel:  hde: hde1
Apr 15 12:31:22 titan kernel: ide_cs: hde: Vcc = 3.3, Vpp = 0.0
Apr 15 12:31:23 titan cardmgr[835]: executing: './ide start hde'
Apr 15 12:31:28 titan kernel:  hde: hde1
Apr 15 12:31:28 titan kernel:  hde: hde1

and an entry in fstab looks like this:

/dev/hde1               /mnt/cf                 vfat 
noauto,owner,user,rw 0 0



So you maybe add ide-cs to your kernal (as module or compiled in).

    Hope that helps

       Marcus

Will McDonald wrote:
> Since we're solving everyone's problems, I'll throw out mine: has anyone
> been able to mount a CF card using a CF->PCMCIA adapter? All the
> examples I've seen show it getting mounted as hdc, which is my DVD drive
> (on my A21m). I haven't looked at it in a while, so I don't know exactly
> what I've tried, but it'd be nice to find out that someone else does it.
> 
> -w
> 





More information about the Linux-Thinkpad mailing list