Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
The information from /var/log/messages may be more complete, such as:
Feb 5 22:51:33 delllap kernel: usb-storage: device scan complete
Feb 5 22:51:33 delllap kernel: SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB)
Feb 5 22:51:33 delllap kernel: sda: assuming drive cache: write through
Feb 5 22:51:33 delllap kernel: SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB)
Feb 5 22:51:33 delllap kernel: sda: assuming drive cache: write through
Feb 5 22:51:33 delllap kernel: sda: sda1
Feb 5 22:51:33 delllap kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Feb 5 22:51:36 delllap hal-subfs-mount[1600]: SYMLINKS:: disk/by-id/usb-Maxtor_6_Y160L0_0F1007381A08 disk/by-path/usb-0F1007381A08:0:0:0
Feb 5 22:51:36 delllap hal-subfs-mount[1600]: MOUNT_POINT:: /media/usbdisk
Feb 5 22:51:36 delllap hal-subfs-mount[1600]: MOUNTPOINT:: /media/usbdisk
Feb 5 22:51:36 delllap hal-subfs-mount[1600]: Collected mount options and Called(0) /bin/mount -t subfs -o fs=floppyfss,sync,procuid,nosuid,nodev,exec,utf8=true /dev/sda1 "/media/usbdisk"
Also, check the output of lsmod. I was having the same problem on my desktop, but when I tried "modprobe ehcd-hcd" my usb drive appeared on the desktop. I believe that the uhci or ohci module is used for USB 1.1 while the ehci module is used for USB 2.0 devices. (See /usr/src/linux-<kernel-version>/Documentation/usb/ for documentation on kernel usb devices if you have the kernel-docs package installed.)
One last thing to check. I had a usb key drive that wouldn't show up. Manually mounting it, it showed up as empty. Somehow the partition type was changed to hidden fat32. Changing the partition type fixed the problem and my files were back.
$ sudo modprobe ehcd-hcd
FATAL: Module ehcd_hcd not found
$ sudo mount /dev/sg0 /mount/flash
mount: special device /dev/sg0 does not exist
$ sudo lsusb
sudo: lsusb: command not found
$ sudo tail -n 24 /var/log/messages
Feb 6 13:46:12 linfvdrdev2 kernel: usb 5-1: new high speed USB device using ehci_hcd and address 9
Feb 6 13:46:12 linfvdrdev2 kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Feb 6 13:46:12 linfvdrdev2 kernel: usb-storage: device found at 9
Feb 6 13:46:12 linfvdrdev2 kernel: usb-storage: waiting for device to settle before scanning
Feb 6 13:46:17 linfvdrdev2 kernel: Vendor: USB2.0 Model: CardReader CF RW Rev: 0.0>
Feb 6 13:46:17 linfvdrdev2 kernel: Type: Direct-Access ANSI SCSI revision: 00
Feb 6 13:46:17 linfvdrdev2 kernel: SCSI device sda: 125440 512-byte hdwr sectors (64 MB)
Feb 6 13:46:17 linfvdrdev2 kernel: sda: Write Protect is off
Feb 6 13:46:17 linfvdrdev2 kernel: sda: Mode Sense: 02 00 00 00
Feb 6 13:46:17 linfvdrdev2 kernel: sda: assuming drive cache: write through
Feb 6 13:46:17 linfvdrdev2 kernel: SCSI device sda: 125440 512-byte hdwr sectors (64 MB)
Feb 6 13:46:17 linfvdrdev2 kernel: sda: Write Protect is off
Feb 6 13:46:17 linfvdrdev2 kernel: sda: Mode Sense: 02 00 00 00
Feb 6 13:46:17 linfvdrdev2 kernel: sda: assuming drive cache: write through
Feb 6 13:46:17 linfvdrdev2 kernel: sda: sda1
Feb 6 13:46:17 linfvdrdev2 kernel: Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
Feb 6 13:46:17 linfvdrdev2 kernel: Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0
Feb 6 13:46:17 linfvdrdev2 kernel: usb-storage: device scan complete
Maybe a silly question, but have you tried reaching the stick as root?
edit: If you have HAL/hotplug/whatever, which you probably are, you may want to try "ls -lR /dev/|grep "hal"" (or grep for the time you are plugging it in). In debian, the device is created by root from group "hal" and at the time you're plugging it in.
How about checking lsmod output? lsscsi? Plugging in the device and running updatedb and locate sda? (Because the fun thing is, according to dmesg, it's putting it somewhere in sda.)
If you are using SuSE, a USB disk will be mounted under /media. It may be mounted as /media/usbdisk or if the partition has a label, that name may be used instead. Or the Manufacturer's name may be used as in /media/SansDisk/. The sg device is a low level scsi device that other devices use. You wouldn't mount that device. You may need to start the hal service. I'm thinking this may be the case because it isn't producing any logs in /var/log/messages. Try "sudo /usr/sbin/rchal --status" If on your computer, the USB port is USB 1.1, then the ehci-hcd module won't be used. Also, make sure that this line exists in your /etc/fstab file: usbfs /proc/bus/usb usbfs noauto 0 0 One last thing to check. Are you talking about a USB drive, or USB keydrive that plugs into the USB port. If you have an SD Flash Memory device, that is a different animal. I don't know if it would be supported, because the devices are proprietory. On my other laptop, I got a SD to USB adapter that can be used to enable mounting a SD disk like a normal key drive. This adapter came with the laptop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.