On Wed, Jun 30, 2004 at 05:36:51PM -0400, Rick Green wrote:
I'm trying to mount an external USB storage device. Today, it's an IDE drive in a generic USB external enclosure. In the past, I've been successful in mounting other drives in this enclosure, as well as external USB CDROM drives and solid-state 'keychain' storage devices and USB digital cameras and MP3 players that look like storage devices to the system. I believe I was last successful on a SuSE 8.0 laptop. Lately, I haven't been able to do it even on that same laptop, although it has been updated with YOU many times since...
On my newly-installed and updated SuSE 9.1 system, I get the following messages in /var/log/messages when I plug in the drive:
Jun 30 17:42:39 linux kernel: usb 1-2: new full speed USB device using address 2 Jun 30 17:42:39 linux kernel: usb 1-2: Product: USB 2.0 Storage Device Jun 30 17:42:39 linux kernel: usb 1-2: SerialNumber: 00042222200000039838 Jun 30 17:42:40 linux /etc/hotplug/usb.agent[3440]: need a device for this command Jun 30 17:42:47 linux kernel: Initializing USB Mass Storage driver... Jun 30 17:42:47 linux kernel: scsi0 : SCSI emulation for USB Mass Storage devices Jun 30 17:59:00 linux /USR/SBIN/CRON[3574]: (root) CMD ( rm -f /var/spool/cron/lastrun/cron.hourly)
...but when I attempt to `mount /dev/sda1` I get "/dev/sda1 is not a valid block device'. And `fdisk -l /dev/sda` returns "Unable to open /dev/sda".
You don't have to do it manually on 9.1 Look into /media directory, there should be a directory with cryptic name starting with usb there. Just change to that directory or try accessing anything in that directory, subfs will do the magic of mounting for you.
I seem to remember something about device naming changing with the 2.6 kernels. I also seem to remember that /var/log/messages used to tell me what specific device the SCSI emulation support mapped to the USB drive. That cryptic message "need a device for this command" seems to be the operative one, but it doesn't tell me anything I didn't already know!
Where do I go from here?
If you want to revert to the old way of doing thing, http://portal.suse.com/sdb/en/2004/05/hmeyer_91_revert_from_subfs.html Regards, -Kastus