LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-22-2005, 06:42 PM   #1
mrgoodtrips
LQ Newbie
 
Registered: Mar 2005
Posts: 11

Rep: Reputation: 0
USB 2.0 Jump Drive


Hello,

I have a Memorex USB 2.0 jump drive that I want to be able to mount in Slackware. I have the drive formatted using FAT, and it is visible in Windows and I can mount it without issue on a machine where I run RedHat Enterprise. When I try to mount it on my slackware box, however, I get an error saying "mount: No medium found." I am able to mount other USB drives on the box, which I believe are USB 1.0 or 1.1.

I have tried googling around for a good solution, and I have also tried recompiling the kernel for USB 2.0 support, inserting an "ehci" module, and various other work-arounds, but to no avail. Is it possible that I need to download a more up to date driver and recompile? Has anyone seen this before with slackware?

Any help would be greatly appreciated, and I'll be happy to post file dumps or error message text if that would help a kind soul troubleshoot my problem - just tell me what you want to see.

Thanks in advance.
 
Old 09-22-2005, 07:22 PM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
First try fdisk -l to see if it's detected as a device.

What is the exact command you are using to mount it? It should be something like this:

mount -t vfat /dev/sda1 /mnt/mountpoint

If yours is not sda1 use yours.
 
Old 09-22-2005, 07:48 PM   #3
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Rep: Reputation: 30
I would recommend a look at:

1) lsusb
2) and cat /proc/bus/usb/devices

...just see if the device is being recognized at a low level. Also, if you use any custom rules, have a look at /etc/udev/rules.d/udev.rules to ensure there's nothing odd...I don't really think your isse is in the rules though. Just fyi, I have a dual partitioned jump drive working this way with some custom rules on a 2.6.13 kernel.

HTH
 
Old 09-22-2005, 08:21 PM   #4
jaws_tas
LQ Newbie
 
Registered: Jan 2005
Posts: 25

Rep: Reputation: 15
Similar problem

I had a similar problem with fedora 4 not mounting the drives on my USB 2.0 Zaurus. It was identified by the usb subsystem but not correctly handled by the usb-storage module. So I could see it in dmesg, but I got the same error "no medium found".

I found a kernel upgrade to 2.6.12-1 fixed the problem. Maybe this will work for you too.
 
Old 09-23-2005, 10:47 AM   #5
mrgoodtrips
LQ Newbie
 
Registered: Mar 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Hi guys - thanks for the responses.

@jaws_tas: Unfortunately, upgrading the kernel is not an option. The entire OS is a production level setup for target machines in the field, and everything is under tight version control. We're also making use of a RTAI kernel which needs the base we currently have. That sounds like a good suggestion though.

@rhb327: I do not have the executable "lsusb" residing anywhere in the filesystem. A "locate lsusb" came up with nothing. I also do not have a usb directory in "/proc/bus". The closest thing that I seem to have is a /proc/scsi directory where USB jump drives appear when I connect them. A dump of /proc/scsi/usb-storage-0/0 is:

Code:
   Host scsi1: usb-storage
       Vendor: Memorex
      Product: TD 2C
Serial Number: 09B08150A363897B
     Protocol: Transparent SCSI
    Transport: Bulk
         GUID: 08ec000809b08150a363897b
     Attached: No
This indicates to me that it does recognize the device.

@dracolich: You are exactly right regarding the command that I've been trying to use ("mount -t vfat /dev/sda1 /mnt/usb" to be exact.) The contents of fdisk -l are:

Code:
Disk /dev/hda: 255 heads, 63 sectors, 4998 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      4967  39890403+  83  Linux
/dev/hda2          4967      4998    256000   82  Linux swap
This seems odd, considering that both dmesg and the proc files indicate that the OS recognizes the drive. When I try fdisk -l /dev/sda1 I get nothing at all....

Edit: I tried fdisk again with my USB 1.0, which I know to work and there was an entry in there for /dev/sda1. Clearly, the drive is not being recognized in the partition table. Does anyone know what the next logical step I should take is?

Again, thanks all for the help - if I can get this up and running, I will be quite a happy man.

Last edited by mrgoodtrips; 09-23-2005 at 10:51 AM.
 
Old 09-23-2005, 08:30 PM   #6
wpyh
Member
 
Registered: Jun 2004
Location: Beijing
Distribution: Slackware 9.1 but FUBAR with packages I compile myself, and OpenBSD (not exactly a distro) on QEMU
Posts: 153

Rep: Reputation: 35
I don't understand "the drive is not being recognised in the partition table". But I suggest you run fdisk -l /dev/sda, then see what happens.
 
Old 09-27-2005, 10:43 AM   #7
mrgoodtrips
LQ Newbie
 
Registered: Mar 2005
Posts: 11

Original Poster
Rep: Reputation: 0
fdisk -l /dev/sda

returns nothing.
 
Old 09-27-2005, 05:50 PM   #8
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
maybe it is being detected as a different device?

maybe "dmesg" can reveal something.

EDIT: Of course after you plug in the usb stick.
 
Old 09-28-2005, 10:12 AM   #9
mrgoodtrips
LQ Newbie
 
Registered: Mar 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Once I plug in the jump drive, the contents (last 25 lines) or dmesg are as follows:

Code:
UNMAPPING AREA 101b AT KERNEL REQUEST.
BCRSI module version BCRSI_1.0_20050710 tasks started
UNMAPPING AREA 1010 AT KERNEL REQUEST.
Intel(R) PRO/1000 Network Driver - version 5.5.4
Copyright (c) 1999-2004 Intel Corporation.
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Half Duplex
keyboard: Timeout - AT keyboard not present?(f4)
keyboard: Timeout - AT keyboard not present?(f4)
hub.c: new USB device 00:1d.1-1, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: new USB device 00:1d.1-1.3, assigned address 3
input0: USB HID v1.10 Keyboard [Logitech Logitech USB Keyboard] on usb2:3.0
input1: USB HID v1.10 Pointer [Logitech Logitech USB Keyboard] on usb2:3.1
hub.c: new USB device 00:1d.1-1.4, assigned address 4
input2: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb2:4.0
hub.c: new USB device 00:1d.2-2, assigned address 2
scsi1 : SCSI emulation for USB Mass Storage devices
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
hub.c: already running port 2 disabled by hub (EMI?), re-enabling...
usb.c: USB disconnect on device 00:1d.2-2 address 2
hub.c: Cannot enable port 2 of hub 1, disabling port.
hub.c: Maybe the USB cable is bad?
The bolded section is what, I believe, is relevant to me plugging in the jump drive. The rest appears to be me loading a network module, and the other USB/hub stuff is the result of me having the PC set up on a KVM switch that operates on USB.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount AND write to USB jump drive TimmerKahuna Linux - Hardware 5 08-13-2006 01:31 PM
USB jump drive dink27 Linux - Hardware 28 06-20-2005 06:44 PM
USB 2.0 jump drive in USB 1.1 slot won't work? zwyrbla Slackware 2 09-27-2004 08:26 PM
How do I get Slack 10 to see my usb jump drive? zwyrbla Linux - Newbie 8 08-23-2004 08:59 PM
USB jump drive and SUSE 9.0 mc8:36 Linux - Hardware 0 06-28-2004 10:35 AM


All times are GMT -5. The time now is 08:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration