Click to See Complete Forum and Search --> : CI-622 USB 2.0 Card Reader
xxRickSxx
07-08-2003, 07:10 AM
OK here is my problem, I just purchased a 6 in 1 card reader hooked it up and rebooted the computer.
When I rebooted the system found the device, installed a line to the fstab for /dev/sda1 and a directory /mnt/removable, but when I try to mount the deive i get a error message unknown file system.
Now according to the manufacturer the device is compatible with kernel 2.4.10 and up I am running mandrake 9.1 with kernel 2.4.20 (I think). I did some google searches and everything I saw said something about different lun's for each device. does anyone have any ideas.
One other thing when I booted the system gave an error message could not mount device. but I assuem that was because the card reader had no card in it at the time.
Here is what is in the fstab file it added the last line after I installed the new device.
/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
/dev/hdb1 /home/rick/files ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/sda1 /mnt/removable auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
also attached is a copy of my dmesg
mrBen
07-08-2003, 07:40 AM
Have you got the correct USB modules loaded. You'll need usbcore, usb-uhci, usbdevfs and possibly ide-scsi too. It may also be worth checking whether you have the hotplug manager installed, which makes things a lot easier.
xxRickSxx
07-08-2003, 08:10 AM
I think I do , I have a USB camera that works and a USB printer also that works, along with two USB joysticks. So I think I have everythign installed I need, But I will check and make sure
:)
mdwatts
07-08-2003, 08:13 AM
Originally posted by mrBen
Have you got the correct USB modules loaded. You'll need usbcore, usb-uhci, usbdevfs and possibly ide-scsi too. It may also be worth checking whether you have the hotplug manager installed, which makes things a lot easier.
usb-storage ?
You also need ehci-hcd for USB2.0.
xxRickSxx
07-08-2003, 08:18 AM
Ok I took a quick look at my system and from what I can tell I have everything installed. including hotplug. I know the system looks at the card reader as a scsi device. I read somethign about each slot needed to be set up seperately, but I am very new to linux and how to do this is where I am lost.
:confused:
mdwatts
07-08-2003, 08:35 AM
Are all the required modules loaded?
lsmod (list loaded modules)
xxRickSxx
07-08-2003, 08:40 AM
OK ehci-hcd is also installed. the system recognizes the reader is there, it just says unknow file format, so I am thinking it is in the way the system loads the item in the fstab file is incorrect. I am new so please excuse my ignorance to the workings of linux.
I searched the interent and found some articles on this, but nothing that narrowed down the problem.
Any ideas would be appreciated.
xxRickSxx
07-08-2003, 08:42 AM
How can I tell if the modules are loaded, like I said I am new to linux.
:)
mrBen
07-08-2003, 08:52 AM
Originally posted by mdwatts
usb-storage ?
You also need ehci-hcd for USB2.0.
/me slaps myself round the head for being an eejit
xxRicksxx: As root run the command lsmod which will list all the currently installed modules.
mdwatts
07-08-2003, 09:16 AM
Originally posted by xxRickSxx
How can I tell if the modules are loaded, like I said I am new to linux.
:)
As I posted earlier.
lsmod (list loaded modules)
Try changing
/dev/sda1 /mnt/removable auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
to
/dev/sda1 /mnt/removable vfat user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
and see if you can also mount with
mount -t vfat /dev/sda1 /mnt/removable
(as root)
xxRickSxx
07-09-2003, 02:19 AM
Ok I am going to try this information in the morning, the only thing I am not sure of is how to add the ehci-hcd module it looks like it is not loading. I will look at in the morning and see if I can figure it out. Just got home from work need sleep. Thanks you very much for your help and patience.
:D
xxRickSxx
07-09-2003, 09:08 AM
Ok I got the ehci-hcd module loaded and made the changes
quote:
/dev/sda1 /mnt/removable auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
to
/dev/sda1 /mnt/removable vfat user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
then i tried the mount -t vfat /dev/sda1 /mnt/removable
the error I got then was
device does not exist
Do I have to create these devices by slots on the 6 in 1 reader
also can i chage the fstab file to use supermount for this device (once I get it to work)
I also want to say thanks for the patience and assistance to everyone who is trying to help me with this problem
:)
mrBen
07-09-2003, 09:24 AM
Post the output of your lsmod command.
mdwatts
07-09-2003, 09:41 AM
Originally posted by xxRickSxx
then i tried the mount -t vfat /dev/sda1 /mnt/removable
the error I got then was
device does not exist
Since you already have a entry in /etc/fstab, you really only need to use
mount /mnt/removable
Does the device contain a fat32 filesystem already? Does it need to be formatted first? I don't know myself as I do not have one.
xxRickSxx
07-09-2003, 10:48 AM
ok the lsmod output is attached
As for the device - it is a media card reader and uses different type cards. ie smartmedia, compact flash, etc.
I dont think they need to be formatted. The card is used in my digital camera and the device is used to read the cards without the camera being plugged into the computer.
I dont know what the file system is on the cards.
again thanks for the assistance
:)
xxRickSxx
07-09-2003, 10:50 AM
Here is the lsmod file
mdwatts
07-09-2003, 10:51 AM
Originally posted by xxRickSxx
ok the lsmod output is attached
I don't see it.
Could you post the lsmod results within the thread so I don't have to download and then open. Thanks.
xxRickSxx
07-09-2003, 11:10 AM
Module Size Used by Tainted: P
isofs 27988 1 (autoclean)
nls_iso8859-1 3516 1 (autoclean)
udf 90464 0 (autoclean)
sg 34636 0 (autoclean)
vfat 11820 0 (autoclean)
fat 37944 0 (autoclean) [vfat]
ppp_deflate 4408 0 (autoclean)
zlib_inflate 21156 0 (autoclean) [isofs ppp_deflate]
zlib_deflate 21144 0 (autoclean) [ppp_deflate]
bsd_comp 5336 0 (autoclean)
ppp_async 9216 1 (autoclean)
ppp_generic 24060 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 6564 1 (autoclean) [ppp_generic]
NVdriver 1149824 10 (autoclean)
lp 8096 0
parport_pc 25096 1
parport 34176 1 [lp parport_pc]
snd-seq-midi 5024 0 (autoclean) (unused)
snd-opl3-synth 12548 0 (autoclean) (unused)
snd-seq-instr 7172 0 (autoclean) [snd-opl3-synth]
snd-seq-midi-emul 6780 0 (autoclean) [snd-opl3-synth]
snd-ainstr-fm 2912 0 (autoclean) [snd-opl3-synth]
snd-seq-oss 31104 0 (unused)
snd-seq-midi-event 5640 0 [snd-seq-midi snd-seq-oss]
snd-seq 42608 2 [snd-seq-midi snd-opl3-synth snd-seq-instr snd-seq-midi-emul snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 43556 0
snd-mixer-oss 14488 0 [snd-pcm-oss]
snd-cmipci 23200 0
snd-pcm 77536 0 [snd-pcm-oss snd-cmipci]
snd-page-alloc 7732 0 [snd-pcm]
snd-opl3-lib 8036 0 [snd-opl3-synth snd-cmipci]
snd-timer 18376 0 [snd-seq snd-pcm snd-opl3-lib]
snd-hwdep 6368 0 [snd-opl3-lib]
snd-mpu401-uart 4396 0 [snd-cmipci]
snd-rawmidi 17600 0 [snd-seq-midi snd-mpu401-uart]
snd-seq-device 5832 0 [snd-seq-midi snd-opl3-synth snd-seq-oss snd-seq snd-opl3-lib snd-rawmidi]
snd 40868 0 [snd-seq-midi snd-opl3-synth snd-seq-instr snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-cmipci snd-pcm snd-opl3-lib snd-timer snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device]
af_packet 14952 0 (autoclean)
floppy 55132 0
8139too 17160 1 (autoclean)
mii 3832 0 (autoclean) [8139too]
supermount 15296 3 (autoclean)
ide-cd 33856 1
tuner 11744 0 (autoclean) (unused)
sr_mod 16920 0
cdrom 31648 0 [ide-cd sr_mod]
bttv 78496 0
videodev 7872 2 [bttv]
i2c-algo-bit 9064 1 [bttv]
i2c-core 21192 0 [tuner bttv i2c-algo-bit]
soundcore 6276 0 [snd bttv]
ide-scsi 11280 0
ehci-hcd 18568 0 (unused)
joydev 7040 0 (unused)
sd_mod 13100 0
scsimon 9280 0 (unused)
usb-storage 72952 0
scsi_mod 103284 6 [sg sr_mod ide-scsi sd_mod scsimon usb-storage]
keybdev 2720 0 (unused)
mousedev 5268 0 (unused)
hid 20900 0 (unused)
input 5664 0 [joydev keybdev mousedev hid]
printer 8448 0
usb-ohci 20584 0 (unused)
usbcore 72992 1 [ehci-hcd usb-storage hid printer usb-ohci]
rtc 8060 0 (autoclean)
ext3 59916 3
jbd 38972 3 [ext3]
Also I found out the smartmedia card has a FAT12 file system
:)
mdwatts
07-09-2003, 11:19 AM
Originally posted by xxRickSxx
Also I found out the smartmedia card has a FAT12 file system
:)
It would seem that all the required modules are loaded.
Use 'msdos' as the filesystem type instead.
/dev/sda1 /mnt/removable msdos user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
Then mount as
mount /mnt/removable
with the device inserted.
<edit>
I wonder if you first need to load the msdos module. ??
modprobe msdos
Or the mount command should load the module for you. That is if msdos is built as a module and not into the kernel.
xxRickSxx
07-09-2003, 11:35 AM
OK changed the system to msdos, modprobe msdos
when I tried to mount I got
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
or too many mounted file systems
mdwatts
07-09-2003, 11:40 AM
Try searching the JL forums for
'wrong type bad superblock'
as similiar have been frequently posted and you may find something that I have forgotten.
< searching keywords >
smartmedia card bad superblock fstab mount
mrBen
07-09-2003, 11:46 AM
I couldn't see usbdevfs among your modules.
mdwatts
07-09-2003, 11:49 AM
Originally posted by mrBen
I couldn't see usbdevfs among your modules.
Is usbdevfs required for these smart cards?
Try loading
modprobe usbdevfs
and see if you can mount the device.
mrBen
07-09-2003, 11:59 AM
Originally posted by mdwatts
Is usbdevfs required for these smart cards?
Not sure if it required, but it makes it a lot easier ;)
mdwatts
07-09-2003, 12:04 PM
I wonder if xxRickSxx is off searching the JL forums as I suggested as I still see xxRickSxx browsing the Hardware forum.
May find the correct solution.
xxRickSxx
07-09-2003, 12:40 PM
OK, I searched the forums with no luck.
But I changed the fstab line back to auto. and when I dont have a card installed when i try to mount is says
no device /dev/sda1
when I put the card in it said
must specify fs type when i try to mount it. I read some place that each device had to be set up seperately, for the 6 in 1 reader.
I went to the mandrake control center and under usb hubs the reader added another hub, so i think that is the avenue i need to take.
If you gentlemen have any ideas on how to setup these devices I would appreciate this. I am going to do some research on this and I will definitely post an answer here if I find one.
Please by all means if either og you two have an answer or more ideas. I would really appreciate the input, I am new to linux like I said, but I do appreciate your patience with me.
:)
mdwatts
07-09-2003, 01:49 PM
A 6 in 1 reader?
Could be you need a special device in /dev and then access that device prior to sda1?
Just a stab in the dark though. Perhaps your searches will turn up something similiar.
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.