You are not logged in.

#1 2006-03-25 17:29:58

tompouceuh
Member
Registered: 2006-03-22
Posts: 30

USB Storage problem

Hi

I want to mount my usb stick but I'm not able myself, so I'll ask you help tongue

Here's my hwd -ec output of the usb stick:
USB Mass Storage
  unknown         : Dell Memory Key


the module is unknown and here the dmesg:
usb 4-6: new high speed USB device using ehci_hcd and address 5

Could you help me please? Thanks!

- tompouceuh

Offline

#2 2006-03-25 17:47:48

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,557
Website

Re: USB Storage problem

Ok, try this. Issue the command (as root) "tail -f /var/log/messages.log" on a console.
Then plug in the usb drive and post the output of the tail command on the screen.

Rick

Offline

#3 2006-03-25 18:08:40

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: USB Storage problem

make sure sd_mod and usb_storage modules are loaded

Offline

#4 2006-03-25 18:45:57

tompouceuh
Member
Registered: 2006-03-22
Posts: 30

Re: USB Storage problem

ar 25 13:44:00 lmek usb 4-6: new high speed USB device using ehci_hcd and address 6
Mar 25 13:44:00 lmek scsi1 : SCSI emulation for USB Mass Storage devices
Mar 25 13:44:05 lmek Vendor: M-SysT5   Model: Dell Memory Key   Rev: 5.00
Mar 25 13:44:05 lmek Type:   Direct-Access                      ANSI SCSI revision: 00
Mar 25 13:44:05 lmek SCSI device sda: 123903 512-byte hdwr sectors (63 MB)
Mar 25 13:44:05 lmek sda: Write Protect is off
Mar 25 13:44:05 lmek SCSI device sda: 123903 512-byte hdwr sectors (63 MB)
Mar 25 13:44:05 lmek sda: Write Protect is off
Mar 25 13:44:05 lmek /dev/scsi/host1/bus0/target0/lun0: p1
Mar 25 13:44:05 lmek Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0

and penguin:
[root@lmek dev]# modprobe sd_mod
FATAL: Module sd_mod not found.

(and if you want to help me more,
I have some others questions:
I can play my mov files on kaffeine but I don't have sound. Every others filetypes have sounds so what am I suppose to understand? tongue
And the last:
My partitions from fstab are always mounted for root only I'm always obligated to do a umount in root, and mount in my user shell to access my data from my partitions.
Here's my fstab:
/dev/discs/disc0/part1 /mnt/windows vfat defaults,rw,user 0 0
/dev/discs/disc0/part2 /mnt/things vfat defaults,rw,user 0 0
) Thanks a lot again!

Thanks for helping me!

Offline

#5 2006-03-25 20:57:23

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: USB Storage problem

For your fstab, unless you use an old kernel, you shouldn't use
/dev/discs/disc0/part1
/dev/discs/disc0/part2
Instead use
/dev/hda1
/dev/hda2

Don't use the defaults option with the user option as they conflicts. Read the mount man page to see what are the defaults options and set the one you want explicitly.

Offline

#6 2006-03-25 22:01:21

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,557
Website

Re: USB Storage problem

After looking at the output of your tail I can tell that your usb is detected as sda, so the next step is to :
1. as root create a directory under /mnt (something like usbhd)
2. edit your etc/fstab and add this line:
/dev/sda               /mnt/usbhd vfat     rw,user,noauto          0      0
3. Plug the USB drive and type (you do not need to be root for this) mount /dev/sda and if you go to the directory /mnt/usbhd you should be able to access your files now.
4. Make a link to the device in your desktop (in KDE that is very simple) and you are done.

Offline

#7 2006-04-05 11:21:49

matersci
Member
From: Hellas
Registered: 2006-01-19
Posts: 167

Re: USB Storage problem

Hi.
I have the same problem (special device /dev/sda1 does not exist) and the output of the tail command after plugging my usb stick stops at:

Apr  5 14:07:36 upnet usb 5-2: new high speed USB device using ehci_hcd and address 6
Apr  5 14:07:37 upnet usb 5-2: configuration #1 chosen from 1 choice

Any ideas? Thanks

Offline

#8 2006-04-05 11:27:45

CyRiX_BlAcK
Member
Registered: 2006-03-02
Posts: 35

Re: USB Storage problem

have you tried sdb1 instead of sda1?

simple mistake i know, but still it could happen.

Offline

#9 2006-04-05 11:36:01

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,557
Website

Re: USB Storage problem

matersci you should get a description of the USB with tail.
Run the command again, plug and wait for a min. or so and then unplug the device and post your output.

Also try "dmesg", after you did the above and post the last few lines about the usb device.

Offline

#10 2006-04-05 11:59:50

matersci
Member
From: Hellas
Registered: 2006-01-19
Posts: 167

Re: USB Storage problem

Apr  5 14:51:06 upnet usb 5-2: new high speed USB device using ehci_hcd and address 5
Apr  5 14:51:07 upnet usb 5-2: configuration #1 chosen from 1 choice
Apr  5 14:53:16 upnet usb 5-2: USB disconnect, address 5

and

usb 5-2: new high speed USB device using ehci_hcd and address 5
usb 5-2: configuration #1 chosen from 1 choice
usb 5-2: USB disconnect, address 5

using udev-089-1

Offline

#11 2006-04-05 21:51:31

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,557
Website

Re: USB Storage problem

hum ...  :? the output of your tail command is rather ... odd.
So I did a little googling and found that the problem is with ehci_hcd which you are using. See this:

Unloading ehci_hcd before plugging in the drive allows slow access ('full speed') to the drive without any problem.

Also it is indicated that :

When plugging in the USB2 drive /var/log/messages continues with:

Dec 7 21:24:38 localhost kernel: usb 4-8: new high speed USB device using address 2
Dec 7 21:24:43 localhost kernel: usb 4-8: control timeout on ep0out

and that's it. Everythng like usbview, lsusb, cat /proc/bus/usb/devices just hangs without showing anything.

That is your case. So, looks like you have your work cut out.
Hope this helps.

Rick

Offline

#12 2006-04-06 17:54:43

matersci
Member
From: Hellas
Registered: 2006-01-19
Posts: 167

Re: USB Storage problem

Everything OK after adding usb_storage module to rc.conf. This was not necessary before. Must be something with new udev.
Now the output of tail command is:

Apr  6 20:46:17 upnet usb 5-2: new high speed USB device using ehci_hcd and address 5
Apr  6 20:46:17 upnet usb 5-2: configuration #1 chosen from 1 choice
Apr  6 20:46:17 upnet scsi4 : SCSI emulation for USB Mass Storage devices
Apr  6 20:46:22 upnet Vendor:           Model: USB Flash Memory  Rev: 6.00
Apr  6 20:46:22 upnet Type:   Direct-Access                      ANSI SCSI revision: 02
Apr  6 20:46:22 upnet SCSI device sdb: 1001472 512-byte hdwr sectors (513 MB)
Apr  6 20:46:22 upnet sdb: Write Protect is off
Apr  6 20:46:22 upnet SCSI device sdb: 1001472 512-byte hdwr sectors (513 MB)
Apr  6 20:46:22 upnet sdb: Write Protect is off
Apr  6 20:46:22 upnet sdb: sdb1
Apr  6 20:46:22 upnet sd 4:0:0:0: Attached scsi removable disk sdb
Apr  6 20:46:22 upnet sd 4:0:0:0: Attached scsi generic sg1 type 0
Apr  6 20:46:26 upnet UDF-fs: No partition found (1)
Apr  6 20:46:26 upnet UDF-fs: No partition found (1)
Apr  6 20:46:26 upnet Unable to identify CD-ROM format.
Apr  6 20:46:27 upnet Unable to identify CD-ROM format.
Apr  6 20:47:13 upnet usb 5-2: USB disconnect, address 5


Thanks

Offline

Board footer

Powered by FluxBB