mounting usb card reader
Hello
I've just bought an usb card reader, but somehow I can't mout it. What I did was: Quote:
Quote:
Any idea what could be wrong? Thanx Hylke |
did you edit your fstab, did you make the directory you want to mount the USB stick to?
|
You do have SOME media in the card-reader, right?
Without one there's nothing to mount... Cheers, Tink |
Quote:
Quote:
And it does work, because I've tested it on my dads pc with Windows, and it worked fine. |
Which modules are loaded?
|
Quote:
Quote:
|
Ahhh, card readers that can handle multiple card types.....
Your kernel needs to be compiled for someting like "Handle multiple SCSI LUN's or ID's": This was an option (not selected by default) in my 2.4 kernel - which needed a recompile to enble this, but my 2.6 kernel already had this set. Now, the different "slots" / "card types" come out as /dev/sda, sdb, sdc, sde etc. So the slot your card takes will not necessarily be /dev/sda. The other thing to bear in mind is that you should plug your memory stick /mp3 player into the reader before you plug the usb cable into your PC, otherwise, well, it doesn't work. Hope this helps. Edit: Having had a chance to get back to my linux box, the way to check if your (2.4x.x, not so sure about 2.6.x.x, but it is probably the same) kernel will support a milticard USB reader is to: Open a terminal Become root cd /usr/src/linux make menuconfig Scroll down with the arrow key to SCSI Support----> and press Enter On the next page, check that "Probe all LUNs on each SCSI device" is marked as either a module (in which case you'll have to make sure it is loaded) or built-in. If neither, you'll have to enable it, and recompile your kernel: This cannot be too difficult, because I managed it! Meanwhile, exit from the menuconfig by pressing Escape. HTH |
Lastly, /dev/sda is the device, and you usually want to mount a partition: Try mounting "/dev/sda1"
|
Ok, thanx.I'Il recompile my kernel.
And about that sda1, if I would do that, mount would say something like: invalid block device I'Il let you know when it didn't worked out. Hylke |
You only need to recompile if there's no sd_mod and sg
Try the following: modprobe sg modprobe sd_mod After that chances are that you can see ANY of the things you plug into the reader. If the modules above do load (namely the sd one) just do an (still as root) fdisk -l Cheers, Tink |
Quote:
So I gues it is because I don't have the modules sg and sg_mod. I've tried searching it using make menuconfig but I couldn't find what things I should enable(as module) in my kernel. Could you please tell me? Thanx Hylke |
SCSI hard-drive support, and SCSI generic support.
|
Both SCSI disk support and SCSI generic support are built-it in my kernel(so not as a module).
So they should work right? Does anyone have some other ideas to fix it? Thanx Hylke |
Hylke,
You seem to have done everything right so far, so I am surprised that you have not got it working yet. Now you have recompiled your kernel to include "Probe all SCSI LUNs", and made sure the appropriate modules are loaded or built-in, what do you see appear at the end of/var/log/messages when you plug your card into the cardreader, and then plug your card reader into the USB port (it is very important to do things in that order!)? |
Ok.
So I first put my card in my card reader and then plugged my cardreader in my usb port. After that I did: cat /var/log/messages | cat my output(I deleted some lines because they had nuthin' to do with it) Quote:
Hylke |
All times are GMT -5. The time now is 05:38 PM. |