SlackwareThis Forum is for the discussion of Slackware 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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Warning!!
The problem discussed in this thread appears to be due to a hardware problem. If you are curious, feel free to read on. If you are looking for a solution to your own problem I suggest the link lestoil suggested to me:
I used to be able to mount my USB key easily, but it's been a while since I've used Linux seriously and now I can't figure out how to mount the stupid thing.
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
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.
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.
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.
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
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.
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 --
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.