LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Compact Flash PCMCIA Reader (https://www.linuxquestions.org/questions/linux-hardware-18/compact-flash-pcmcia-reader-183856/)

LinuxBlackBox 05-20-2004 04:53 PM

Compact Flash PCMCIA Reader
 
I just upgraded my Slack system with swaret, and now I cant acess my Compact Flash card through the PCMCIA adapter anymore. I used to run "mount -t vfat /dev/hde1 /mnt/cfcard" and it would mount the card. Since the upgrade, when I try to run it I get:

root@bryce:/home/bryce# mount -t vfat /dev/hde1 /mnt/cfcard
mount: wrong fs type, bad option, bad superblock on /dev/hde1,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
root@bryce:/home/bryce#

What should I do? I have tried mounting hde hde2 and hde1, all with no sucess. I think my card is being detected, because my PCMCIA network card works fine, and when I plug the CF reader in it makes a beep. Do I need some new modules or something to get this to work?

Thanks,
LBB

superbondbond 05-20-2004 05:10 PM

The error message suggests that it is using SCSI emulation for that device.

Look at lsmod to see if the ide-scsi module is loaded. Then try to mount /dev/sda1

mount -t vfat /dev/sda1 /mnt/cfcard.

LinuxBlackBox 05-20-2004 06:08 PM

ide-scsi is not listed in lsmod. I tried to run "mount -t vfat /dev/sda1 /mnt/cfcard" but it says:

root@bryce:/home/bryce# mount -t vfat /dev/sda1 /mnt/cfcard
mount: /dev/sda1 is not a valid block device
root@bryce:/home/bryce#

I also tried running "modprobe ide-scsi", but trying to mount sda1 still gives the same result.

superbondbond 05-21-2004 08:01 AM

Couple of things to try.

1) try mounting /dev/sr0

2) You said that upon inserting the card the system does the typical *beep*
After you insert the card, run dmesg and look for any messages pertaining to the card. There might be clue. Also, I know that the module needed (probably the one that was being used before you had the problem) is ide-cs. Look at lsmod again for that module.

Beyond that if you're still not having any luck, you might have to look back at what exactly was updated when you ran swaret and try to troubleshoot what might be causing this.

LinuxBlackBox 05-22-2004 12:01 PM

Thank you so much. I ran dmesg and I saw that it said "hdg: 31360 sectors (16 MB) w/1KiB Cache, CHS=490/2/32" so I tried mounting hdg1 and now I can acess my card. :D


All times are GMT -5. The time now is 07:22 AM.