Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
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.
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
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
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: SIIG Model: CompactFlash Car Rev: 0113
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 15873 512-byte hdwr sectors (8 MB)
sda: test WP failed, assume Write Enabled
sda: sda1
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.