USB Mass Storage not detected
Quote:
I followed directions on this site: http://www.linux-usb.org/USB-guide/c607.html#AEN609 (and a couple others that I can't seem to remember now) and I keep getting to the same point... No devices are every listed in /dev/proc/usb/devices. I did read one thread on this site that seemed to indicate to me that I am going to need to be compiling modules, but want to make sure before I go making things worse. Current contents of the drivers: usbdevfs hub usb-storage also the output from dmesg: usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 19:56:21 Jan 20 2005 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb.c: registered new driver usb-storage and modprobe usb-storage 62336 0 (unused) usbcore 58860 1 [usb-storage] And this is where I scratch my head and go huhhhh? :newbie: |
What version of SW and what kernel? Are you using udev? With that info the right help will come.You can scan LQ tutorials hardware section for articles on usb/firewire hard drives and flash card readers to get you started. And at linuxforums.org there is How to mount usb flash drives in linux. Have fun.
|
What is the output of dmesg when you plug in the USB key? If it's recognised, it should be something like this:
Code:
root@sphritzs:/home/leon$ tail -f /var/log/messages Code:
# mount /dev/sda1 /mnt/your-mount-point-here/ |
try modprobe sg
|
When I plug in the USB device, there is no change in dmesg (actually, the one I posted was with the device plugged in).
"modprobe sg".... Didn't know about the "sg" driver. I had looked at a couple of other modules related to scsi, but didn't know about that one. I'll give it a try when I get home tonight (at work right now). Just a little more history. I had backed up a bunch of data to a USB drive I borrowed from work (OS was basic install of 8.x), and wiped my hard drive. I haven't used a USB drive since, and then recently my boss asked me about this data. Fast forward a year and I have done a fresh install on that machine (Slack 10.x). So I took the drive home, plugged it in, tried to mount /dev/sda1... nothing. That was two weeks ago. |
Oops! Others already said this...Darn my slow connection....lol
|
try
Code:
fdisk -l and then mount it Code:
mount /dev/sdc1 /mnt/usb |
my USB entry in fstab ;
/dev/sda1 /mnt/USBdrive auto user,rw,noauto 0 0 as root in /mnt i = mkdir USBdrive rebooted.....et voilą. good luck ps = i also uncommented the usb mass storage entry in /etc/rc.d/rc.modules |
I don't seem to have the sg module. Shouldn't that have installed with my installation (Slackware 10.1)? I will attempt to compile it over the next couple of days.
"fdisk -l" showed only /dev/hda1-9 and I've already uncommented the modprobe line for the usb-storage. It appears as though my USB device is not being detected at all. |
this thread helped me get mine working...
|
detpenguin:
None of that helped. My device does not appear to be being detected at all. I followed all of the steps and the output from my dmesg only changed after hotplug restarts: usb.c: registered new driver usbdevfs usb.c: registered new driver hub Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered. uhci.c: USB Universal Host Controller Interface driver v1.1 usb-uhci.c: $Revision: 1.275 $ time 19:56:21 Jan 20 2005 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb-uhci.c: $Revision: 1.275 $ time 19:56:21 Jan 20 2005 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: v1.275:USB Universal Host Controller Interface driver uhci.c: USB Universal Host Controller Interface driver v1.1 usb.c: deregistering driver usb-storage usb.c: deregistering driver usbdevfs usb.c: deregistering driver hub usb.c: registered new driver usbdevfs usb.c: registered new driver hub uhci.c: USB Universal Host Controller Interface driver v1.1 usb-uhci.c: $Revision: 1.275 $ time 19:56:21 Jan 20 2005 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: v1.275:USB Universal Host Controller Interface driver |
kavius http://www.linuxquestions.org/linux/...d_Reader_HowTo should get things going for you. Though it is for card readers it applies to flash drives and hard drives. Step by step. It's an LQ tutorial.
|
lestoil:
Sorry, for some reason I didn't notice your first post. SW 10.1, Kernel 2.4.29. I have since downloaded the code for 2.6.13 from the slackware site and compiled that. No help. Infact my sound card doesn't work... booo. Kind of ironic, since the data I am trying to get off the USB device are all of my music files <chuckle />. Fortunately, I backed up the 2.4 kernel so no worries there. I tried the link you suggested: no effect. After recompiling the kernel, and rebooting, I plug in the device and cat /proc/scsi/scsi. There are no attached devices listed. |
plug your usb key in, and as root in a terminal type
Quote:
|
This one is totally meaningless to me....
root@loki:/usr/src/linux-2.6.13# tail /var/log/messages Feb 6 03:58:04 loki udev[2488]: removing device node '/dev/vcc/1' Feb 6 03:58:04 loki udev[2494]: removing device node '/dev/vcc/a1' Feb 6 03:58:05 loki udev[2506]: configured rule in '/etc/udev/rules.d/udev.rules' at line 99 applied, added symlink '%k' Feb 6 03:58:05 loki udev[2506]: configured rule in '/etc/udev/rules.d/udev.rules' at line 99 applied, 'vcs7' becomes 'vcc/%n' Feb 6 03:58:05 loki udev[2506]: creating device node '/dev/vcc/7' Feb 6 03:58:05 loki udev[2512]: configured rule in '/etc/udev/rules.d/udev.rules' at line 101 applied, added symlink '%k' Feb 6 03:58:05 loki udev[2512]: configured rule in '/etc/udev/rules.d/udev.rules' at line 101 applied, 'vcsa7' becomes 'vcc/a%n' Feb 6 03:58:05 loki udev[2512]: creating device node '/dev/vcc/a7' Feb 6 04:17:35 loki -- MARK -- Feb 6 04:37:35 loki -- MARK -- Current time is 04:59 |
All times are GMT -5. The time now is 05:57 AM. |