USB Flash Disk not recognized
Hi,
I have a problem enabling my Hyundai USB flash disk under rh9 on a BookPC. From what I read, I understood that these are emulated under linux as scsi devices, and so I should find it as /dev/sda (I don't have any other scsi stuff). But unlike any other post I've read, my device is not in /proc/scsi/scsi. Instead, I find it in /proc/scsi/usb-storage-0/0. I can't mount or fdisk sda, and I have the following message in my /var/log/messages: kernel: Initializing USB Mass Storage driver... kernel: usb.c: registered new driver usb-storage kernel: scsi0 : SCSI emulation for USB Mass Storage devices kernel: kjournald starting. Commit interval 5 seconds kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal kernel: EXT3-fs: mounted filesystem with ordered data mode. kernel: usb-uhci.c: ENXIO 80000280, flags 0, urb c1b96d00, burb c1b96c80 kernel: hub.c: usb_hub_port_status (2) failed (err = -6) kernel: usb-uhci.c: ENXIO 80000200, flags 0, urb c1b96d00, burb c1b96c80 kernel: scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0 kernel: USB Mass Storage support registered. so my device IS recognized, but is set offline... :( Anybody knows what I could do oto make this work? Thanks, Alfy. |
I hae been looking into using one of those as well. A friend is using one and he had issues booting with the "thumbdrive" installed if it was write protected.
Just a thought... |
this worked for me
I also got trouble in the beginning, but solved it.
I also have rh9, so maybe this will work for you too: go check if there is an entry in /etc/fstab for your thing. I get one automatically when connecting it, "diskonkey". It puts it on /dev/sda so mounting it with "mount /dev/sda" should get it. Mine always complains with /dev/sda: Input/Output error when mounted, but works fine otherwise. I also had luck sometimes when mounting it with /dev/sda1. I got it preformated in VFAT, so somebody told me that the partitioning on it is a little funny. Good luck, hope it works. |
I checked if it was the write protected switch and booted my machine twice, once with each setting, but that did not do the trick.
Also, there is no entry for the flash disk in my /etc/fstab. I tried putting the lines in myself, but that failed as well. In view of my /var/log/messages file, I believe the deice should be found under /dev/sda, but I can't fdisk or mount it... But many thanks to you guys for your answers and advice, and please, if anyone can think of anything else, just tell me: if I have nothing to try, I can't succeed :) Alfy. |
kernel: hub.c: usb_hub_port_status (2) failed (err = -6)
That makes me think that USB support barfed at the hub level, what's the usb modules loaded from /sbin/lsmod Cheers, Finegan |
hi,
lsmod gave me (I cut the ones I believe related to usb support): usb-storage 69332 0 scsi_mod 107160 3 [sd_mod usb-storage] usb-uhci 26348 0 (unused) usbcore 78784 1 [usb-storage hid usb-uhci] By the way, I use a usb logitech trackball as well as an Epson usb printer, and both work fine. (and I've tried the flash disk with and whithout the other devices connected for tesing :() |
Okay, then USB probably is fine, can you post the whole scsi device scan as reported by "dmesg", I'm thinking maybe now the device is unsupported, which is a bit of a pain as RH 9.0 means 2.4.20, which is a rather up to date kernel.
You're looking for a partition check in dmesg, like: Code:
usb.c: registered new driver usb-storage Finegan |
automount on connect?
Does anybody know how to achieve this:
You connect the usb flash disk on key and linux mounts it automatically. (me not needing to do mount /dev/sda) |
Hi..
U cant directly mount it as /dev/sda . If it is a new Flash Disk u have to create partition. Use fdisk and create new partition on /dev/sda then make file system either ext3 or msdos and the mount /dev/sda1 to a directory It will work Siddiqu.T |
"automount"
Hi
Yes, I know that I can mount it manually with mount /dev/sda. But I was wondering if there is a way to AUTOMOUNT it, meaning: I plug the thing in and linux does "mount /dev/sda" for me. I do not have to do anything for it. |
If you are using the 'supermount' facility (I know it's available for Mandy, so it might work with RH) then sure there is - I think it's a kernel thing.
|
All times are GMT -5. The time now is 08:33 AM. |