USB Flash Drive not detected
Hi. I have a 128MB Flash Disk that I used to mount on Red Hat and it worked fine. But now, after I've installed Slackware, it isn't detected. I tried a friend's USB but that doesn't work either. I have enabled UHCI support in 2.6.4. Still it doesn't work. Please help me.
|
You might need to look at your fstab settings.
Cheers Amos |
No, its not that. Because I've tried fdisk. It used to show my USB as /dev/sda4. But now it doesn't. Even Slackware did at first. But I had to reinstall it and now it doesn't.
|
try this as root of course
Code:
tail -f /var/log/messages -tank |
/dev/sda4 is unusual, it is normally /dev/sda1
|
That may be so. But it did. Today I tried mounting it on another system running Slackware. There it was mounted as /dev/sdb4. Anyway, yes the kernel does detect it, but still it doesn't mount it or show it as /dev/sda4. And yes, I do have Mass Storage support because dmesg does show the kernel initializing it. One thin more, I tried a friend's USB, but that didn't work either. Also, each time I plug in my USB, it is allotted a different address according to dmesg. Another thing that may be relevent is that fdisk shows a /dev/hda2. Problem is, I don't have a /dev/hda2. All my partitions are accounted for. When I try to mount it, it says error guessing file system type. Manually specifying the file system doesn't work either. I am at a total loss as to what to do.
|
Does your flash drive require drivers, because I have an iomega that does not and that is the reason that mine works. Did you flash drive come with a cd? Some flash drives just do not play well with linux.
-tank |
USB drives use a special usb-scsi host emulation to be recognised by the system
Try as root cdrecord -scanbus this dectect "pseudo" scsi device as well. then if you get your device in the list try mount -t vfat /dev/sda1 /mnt/something ===== instead of vfat ,auto can also be used "something" must be created first by mkdir /mnt/something. It would be very unusual your pendrive is detected as sda4 unless you have a "full"scsi system Ciao |
I am also having problems mounting the flash drive. This is what i did :
Code:
cdrecord -scanbus |
Flash drives are not always shipped formatted. I have a new Apacer STENO and this was raw. Either format it on a Windows machine with FAT/FAT32 or fdisk it to ext2
|
Same prob here.
Got myself a freecom usb stick 256mb. Under 2.4.x kernel I mounted NO PROBLEM with Code:
mount -t auto /dev/sda /mnt/flash Since I compiled 2.6.1 (with all the usb, scsi and ub-storage supports) theres no way of making it work... |
2.6.4 and i believe prior versions had some problem with the usb devices under the /sys mount point.Upgrade to 2.6.5
dmesg will show you at which sdaXX your usb drive is.But be sure to have the appropriate kernel supprort compiled. :o /flame mode on And yes Slackware can be more educational :study: that other distros ;) /flame mode off |
Guys, you still don't get it. I think you missed my earlier posts. My USB used to work fine on Slackware kernel 2.6.4. But I had to reinstall and now it doesn't. I have already upgraded to 2.6.5, and no, my USB does not need drivers. I'll try the cdrecord thingy today. Also, it may be unusual, but my USB is recognised as /dev/sda4. It was recognized as such on Red Hat, it was recognized as such on Slackware before and it was recognized as /dev/sdb4 on another system running Slackware. Oh and dmesg does tell me that a USB Mass Storage device was plugged in, and as far as the address was concerned, it changes every time I plug it in. Oh and my USB works fine on Windows.
|
Hey thanks guys. USB is working now. I hadn't compiled SCSI generic drive support. And again, its /dev/sda4. Anyway, one thing I don't understand, it didn't work in 2.4.22 either. Whereas SCSI support is enabled there. Care to comment on that?
|
hey, how do we mount the flash drive so that it is accessible to a particular user. i am able to mount the drive and use it only as the root.
thanks |
All times are GMT -5. The time now is 02:21 AM. |