LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-20-2004, 05:53 PM   #1
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Rep: Reputation: 30
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
 
Old 05-20-2004, 06:10 PM   #2
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
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.
 
Old 05-20-2004, 07:08 PM   #3
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Original Poster
Rep: Reputation: 30
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.
 
Old 05-21-2004, 09:01 AM   #4
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
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.
 
Old 05-22-2004, 01:01 PM   #5
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compact Flash Reader wildwingman Linux - Hardware 1 06-15-2005 01:06 PM
compact flash card reader mindcry Linux - Hardware 45 02-03-2004 09:14 PM
Attaching USB compact flash reader in Fedora carjumble Linux - Newbie 3 12-27-2003 10:48 PM
Compact flash reader in Red Hat 9.0 shankariyer Linux - Hardware 0 10-26-2003 07:51 PM
Mounting SanDisk Compact Flash Reader The Jesus Linux - General 0 03-24-2002 11:28 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration