You are not logged in.

#1 2008-09-01 10:30:40

Devastator
Member
From: Poland
Registered: 2008-05-27
Posts: 179

[SOLVED] USB memory stick not working

Hi, I've searched through the forum, found some similiar topics, but I didn't found a solution to my problem.

I am using thunar-volman to manage removable storage devices (as far as I know it uses hal). It works well with most devices, but when I insert my new Corsair Flash Voyager (16 GB), it does not work (even the /dev/sdb device does not show up).

dmesg shows several -110 errors, lsusb hangs when the USB stick is plugged.

I may post full commands outputs later if needed.

Hope it is resolveable, and thanks in advance!

Last edited by Devastator (2008-10-30 23:28:45)


Some applications are WYSIWYG, and some are WYSIWTF.

Offline

#2 2008-09-01 13:25:29

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: [SOLVED] USB memory stick not working

How it's formatted?

F


do it good first, it will be faster than do it twice the saint wink

Offline

#3 2008-09-01 13:36:02

Devastator
Member
From: Poland
Registered: 2008-05-27
Posts: 179

Re: [SOLVED] USB memory stick not working

it's one FAT partition.
32 I suppose.
Also I forgot to mention, that earlier it worked with Linux (I managed to put my whole music collection on it wink ), but after some upgrades about two weeks ago and/or my modifications in system (nothing special - mainly cleaning up the mess with directories' permissions) it stopped working, though on other systems it still works.

I have no idea why...

P.S. The error is:
(from /var/log/errors.log)

Sep  1 16:54:13 bananana usb 4-1: device descriptor read/64, error -110
Sep  1 16:54:28 bananana usb 4-1: device descriptor read/64, error -110
Sep  1 16:54:43 bananana usb 4-1: device descriptor read/64, error -110
Sep  1 16:54:58 bananana usb 4-1: device descriptor read/64, error -110
Sep  1 16:55:09 bananana usb 4-1: device not accepting address 4, error -110
Sep  1 16:55:19 bananana usb 4-1: device not accepting address 5, error -110
Sep  1 16:55:19 bananana hub 4-0:1.0: unable to enumerate USB device on port 1

P.P.S. lsusb command hangs for a long while, and does not list the USB stick, but other devices are shown correctly.

Last edited by Devastator (2008-09-01 15:09:02)


Some applications are WYSIWYG, and some are WYSIWTF.

Offline

#4 2008-09-02 17:47:00

Devastator
Member
From: Poland
Registered: 2008-05-27
Posts: 179

Re: [SOLVED] USB memory stick not working

I did some more research.
I launched

> /etc/rc.d/hal stop
> hald --daemon=no --verbose=yes

and here is the result that appeared after I plugged my USB:

19:30:42.533 [i] osspec.c:241: SEQNUM=2439, ACTION=add, SUBSYSTEM=usb, DEVPATH=/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3, DEVNAME=/dev/bus/usb/007/016, IFINDEX=0
19:30:42.533 [i] hotplug.c:138: /sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3 is a device (subsystem)
19:30:42.533 [i] osspec.c:966: hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3'->'/sys/devices/pci0000:00/0000:00:1d.7/usb7'
19:30:42.533 [i] device.c:4406: add_dev: subsys=usb sysfs_path=/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3 dev=/dev/bus/usb/007/016 parent_dev=0x0a043050
19:30:42.540 [i] device.c:4254: Add callouts completed udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62
19:30:42.540 [D] device_store.c:516: adding 0xa070dd0 to (linux.sysfs_path,/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3)
19:30:42.540 [i] hald.c:108: Added device to GDL; udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62
19:30:42.644 [i] osspec.c:241: SEQNUM=2440, ACTION=add, SUBSYSTEM=usb, DEVPATH=/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0, DEVNAME=, IFINDEX=0
19:30:42.644 [i] hotplug.c:138: /sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0 is a device (subsystem)
19:30:42.644 [i] osspec.c:966: hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0'->'/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3'
19:30:42.644 [i] device.c:4406: add_dev: subsys=usb sysfs_path=/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0 dev= parent_dev=0x0a070dd0
19:30:42.655 [i] device.c:4254: Add callouts completed udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62_if0
19:30:42.655 [D] device_store.c:516: adding 0xa023b80 to (linux.sysfs_path,/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0)
19:30:42.655 [i] hald.c:108: Added device to GDL; udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62_if0
19:30:42.655 [i] osspec.c:241: SEQNUM=2442, ACTION=add, SUBSYSTEM=usb_endpoint, DEVPATH=/sys/class/usb_endpoint/usbdev7.16_ep81, DEVNAME=/dev/usbdev7.16_ep81, IFINDEX=0
19:30:42.655 [i] hotplug.c:138: /sys/class/usb_endpoint/usbdev7.16_ep81 is a device (subsystem)
19:30:42.655 [i] osspec.c:966: hal_util_find_known_parent: '/sys/class/usb_endpoint/usbdev7.16_ep81'->'/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0'
19:30:42.655 [i] device.c:4406: add_dev: subsys=usb_endpoint sysfs_path=/sys/class/usb_endpoint/usbdev7.16_ep81 dev=/dev/usbdev7.16_ep81 parent_dev=0x0a023b80
19:30:42.655 [i] osspec.c:241: SEQNUM=2443, ACTION=add, SUBSYSTEM=usb_endpoint, DEVPATH=/sys/class/usb_endpoint/usbdev7.16_ep02, DEVNAME=/dev/usbdev7.16_ep02, IFINDEX=0
19:30:42.655 [i] hotplug.c:138: /sys/class/usb_endpoint/usbdev7.16_ep02 is a device (subsystem)
19:30:42.655 [i] osspec.c:966: hal_util_find_known_parent: '/sys/class/usb_endpoint/usbdev7.16_ep02'->'/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0'
19:30:42.655 [i] device.c:4406: add_dev: subsys=usb_endpoint sysfs_path=/sys/class/usb_endpoint/usbdev7.16_ep02 dev=/dev/usbdev7.16_ep02 parent_dev=0x0a023b80
19:30:42.655 [i] osspec.c:241: SEQNUM=2445, ACTION=add, SUBSYSTEM=usb_endpoint, DEVPATH=/sys/class/usb_endpoint/usbdev7.16_ep00, DEVNAME=/dev/usbdev7.16_ep00, IFINDEX=0
19:30:42.655 [i] hotplug.c:138: /sys/class/usb_endpoint/usbdev7.16_ep00 is a device (subsystem)
19:30:42.655 [i] osspec.c:966: hal_util_find_known_parent: '/sys/class/usb_endpoint/usbdev7.16_ep00'->'/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3'
19:30:42.655 [i] device.c:4406: add_dev: subsys=usb_endpoint sysfs_path=/sys/class/usb_endpoint/usbdev7.16_ep00 dev=/dev/usbdev7.16_ep00 parent_dev=0x0a070dd0
19:30:42.656 [i] osspec.c:241: SEQNUM=2441, ACTION=add, SUBSYSTEM=scsi_host, DEVPATH=/sys/class/scsi_host/host10, DEVNAME=, IFINDEX=0
19:30:42.656 [i] hotplug.c:138: /sys/class/scsi_host/host10 is a device (subsystem)
19:30:42.656 [i] osspec.c:966: hal_util_find_known_parent: '/sys/class/scsi_host/host10'->'/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0'
19:30:42.656 [i] device.c:4406: add_dev: subsys=scsi_host sysfs_path=/sys/class/scsi_host/host10 dev= parent_dev=0x0a023b80
19:30:42.659 [i] osspec.c:241: SEQNUM=2444, ACTION=add, SUBSYSTEM=usb_device, DEVPATH=/sys/class/usb_device/usbdev7.16, DEVNAME=/dev/usbdev7.16, IFINDEX=0
19:30:42.659 [i] hotplug.c:138: /sys/class/usb_device/usbdev7.16 is a device (subsystem)
19:30:42.659 [i] osspec.c:966: hal_util_find_known_parent: '/sys/class/usb_device/usbdev7.16'->'/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3'
19:30:42.659 [i] device.c:4406: add_dev: subsys=usb_device sysfs_path=/sys/class/usb_device/usbdev7.16 dev=/dev/usbdev7.16 parent_dev=0x0a070dd0
19:30:42.660 [i] device.c:4254: Add callouts completed udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62_usbraw
19:30:42.660 [D] device_store.c:516: adding 0xa025330 to (linux.sysfs_path,/sys/class/usb_device/usbdev7.16)
19:30:42.661 [i] hald.c:108: Added device to GDL; udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62_usbraw
[6236]: 19:30:43.003 [i] addon-storage.c:355: Checking whether device /dev/sr0 is locked on HAL
[6236]: 19:30:43.003 [i] addon-storage.c:363: ... device /dev/sr0 is not locked on HAL

and this appeared after about two minutes:

19:32:15.095 [i] osspec.c:241: SEQNUM=2446, ACTION=remove, SUBSYSTEM=usb_endpoint, DEVPATH=/sys/class/usb_endpoint/usbdev7.16_ep81, DEVNAME=/dev/usbdev7.16_ep81, IFINDEX=0
19:32:15.095 [i] device.c:4476: remove_dev: subsys=usb_endpoint sysfs_path=/sys/class/usb_endpoint/usbdev7.16_ep81
19:32:15.095 [W] device.c:4480: Error removing device
19:32:15.097 [i] osspec.c:241: SEQNUM=2448, ACTION=remove, SUBSYSTEM=scsi_host, DEVPATH=/sys/class/scsi_host/host10, DEVNAME=, IFINDEX=0
19:32:15.097 [i] device.c:4476: remove_dev: subsys=scsi_host sysfs_path=/sys/class/scsi_host/host10
19:32:15.097 [W] device.c:4480: Error removing device
19:32:15.098 [i] osspec.c:241: SEQNUM=2447, ACTION=remove, SUBSYSTEM=usb_endpoint, DEVPATH=/sys/class/usb_endpoint/usbdev7.16_ep02, DEVNAME=/dev/usbdev7.16_ep02, IFINDEX=0
19:32:15.098 [i] device.c:4476: remove_dev: subsys=usb_endpoint sysfs_path=/sys/class/usb_endpoint/usbdev7.16_ep02
19:32:15.098 [W] device.c:4480: Error removing device
19:32:15.098 [i] osspec.c:241: SEQNUM=2449, ACTION=remove, SUBSYSTEM=usb, DEVPATH=/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0, DEVNAME=, IFINDEX=0
19:32:15.098 [i] hotplug.c:114: /sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0 is a device (store)
19:32:15.098 [i] device.c:4476: remove_dev: subsys=usb sysfs_path=/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0
19:32:15.098 [i] device.c:4268: Remove callouts completed udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62_if0
19:32:15.098 [D] device_store.c:519: removing 0xa023b80 from (linux.sysfs_path,/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/7-3:1.0)
19:32:15.098 [i] hald.c:143: Removed device from GDL; udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62_if0
19:32:15.099 [i] osspec.c:241: SEQNUM=2450, ACTION=remove, SUBSYSTEM=usb_endpoint, DEVPATH=/sys/class/usb_endpoint/usbdev7.16_ep00, DEVNAME=/dev/usbdev7.16_ep00, IFINDEX=0
19:32:15.099 [i] device.c:4476: remove_dev: subsys=usb_endpoint sysfs_path=/sys/class/usb_endpoint/usbdev7.16_ep00
19:32:15.099 [W] device.c:4480: Error removing device
19:32:15.100 [i] osspec.c:241: SEQNUM=2451, ACTION=remove, SUBSYSTEM=usb_device, DEVPATH=/sys/class/usb_device/usbdev7.16, DEVNAME=/dev/usbdev7.16, IFINDEX=0
19:32:15.100 [i] hotplug.c:114: /sys/class/usb_device/usbdev7.16 is a device (store)
19:32:15.100 [i] device.c:4476: remove_dev: subsys=usb_device sysfs_path=/sys/class/usb_device/usbdev7.16
19:32:15.100 [i] device.c:4268: Remove callouts completed udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62_usbraw
19:32:15.100 [D] device_store.c:519: removing 0xa025330 from (linux.sysfs_path,/sys/class/usb_device/usbdev7.16)
19:32:15.101 [i] hald.c:143: Removed device from GDL; udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62_usbraw
19:32:15.102 [i] osspec.c:241: SEQNUM=2452, ACTION=remove, SUBSYSTEM=usb, DEVPATH=/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3, DEVNAME=/dev/bus/usb/007/016, IFINDEX=0
19:32:15.102 [i] hotplug.c:114: /sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3 is a device (store)
19:32:15.102 [i] device.c:4476: remove_dev: subsys=usb sysfs_path=/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3
19:32:15.102 [i] device.c:4268: Remove callouts completed udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62
19:32:15.103 [D] device_store.c:519: removing 0xa070dd0 from (linux.sysfs_path,/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3)
19:32:15.103 [i] hald.c:143: Removed device from GDL; udi=/org/freedesktop/Hal/devices/usb_device_1b1c_ad0_00080221310B5088EE62
[6236]: 19:32:17.006 [i] addon-storage.c:355: Checking whether device /dev/sr0 is locked on HAL
[6236]: 19:32:17.007 [i] addon-storage.c:363: ... device /dev/sr0 is not locked on HAL

after that lsusb command worked like I described before - a long hang-up, and listing devices without the USB stick.

Anyone has any idea what may be wrong?

Last edited by Devastator (2008-09-02 17:50:37)


Some applications are WYSIWYG, and some are WYSIWTF.

Offline

#5 2008-09-10 09:18:26

Devastator
Member
From: Poland
Registered: 2008-05-27
Posts: 179

Re: [SOLVED] USB memory stick not working

I hoped that a new kernel (2.6.26-5) would help, but it still doen not work hmm.

Here's part of logs /var/log/kernel.log when I connect other USB memory:

Sep 10 11:06:37 bananana usb 4-3: new high speed USB device using ehci_hcd and address 5
Sep 10 11:06:38 bananana usb 4-3: configuration #1 chosen from 1 choice
Sep 10 11:06:38 bananana scsi7 : SCSI emulation for USB Mass Storage devices
Sep 10 11:06:38 bananana usb-storage: device found at 5
Sep 10 11:06:38 bananana usb-storage: waiting for device to settle before scanning
Sep 10 11:06:43 bananana scsi 7:0:0:0: Direct-Access     JetFlash TS1GJFV30        8.07 PQ: 0 ANSI: 2
Sep 10 11:06:43 bananana sd 7:0:0:0: [sdb] 2002942 512-byte hardware sectors (1026 MB)
Sep 10 11:06:43 bananana sd 7:0:0:0: [sdb] Write Protect is off
Sep 10 11:06:43 bananana sd 7:0:0:0: [sdb] Mode Sense: 03 00 00 00
Sep 10 11:06:43 bananana sd 7:0:0:0: [sdb] Assuming drive cache: write through
Sep 10 11:06:43 bananana sd 7:0:0:0: [sdb] 2002942 512-byte hardware sectors (1026 MB)
Sep 10 11:06:43 bananana sd 7:0:0:0: [sdb] Write Protect is off
Sep 10 11:06:43 bananana sd 7:0:0:0: [sdb] Mode Sense: 03 00 00 00
Sep 10 11:06:43 bananana sd 7:0:0:0: [sdb] Assuming drive cache: write through
Sep 10 11:06:43 bananana sdb: sdb1
Sep 10 11:06:43 bananana sd 7:0:0:0: [sdb] Attached SCSI removable disk
Sep 10 11:06:43 bananana sd 7:0:0:0: Attached scsi generic sg2 type 0
Sep 10 11:06:43 bananana usb-storage: device scan complete

and here is when I plug my Corsair USB Drive:

Sep 10 11:08:02 bananana usb 4-3: new high speed USB device using ehci_hcd and address 6
Sep 10 11:08:02 bananana usb 4-3: configuration #1 chosen from 1 choice
Sep 10 11:08:02 bananana scsi8 : SCSI emulation for USB Mass Storage devices
Sep 10 11:08:02 bananana usb-storage: device found at 6
Sep 10 11:08:02 bananana usb-storage: waiting for device to settle before scanning
Sep 10 11:08:13 bananana usb 4-3: reset high speed USB device using ehci_hcd and address 6
Sep 10 11:08:28 bananana usb 4-3: device descriptor read/64, error -110
Sep 10 11:08:43 bananana usb 4-3: device descriptor read/64, error -110
Sep 10 11:08:43 bananana usb 4-3: reset high speed USB device using ehci_hcd and address 6
Sep 10 11:08:58 bananana usb 4-3: device descriptor read/64, error -110
Sep 10 11:09:14 bananana usb 4-3: device descriptor read/64, error -110
Sep 10 11:09:14 bananana usb 4-3: reset high speed USB device using ehci_hcd and address 6

Could someone at least tell me where it could be broken? Because right now I don't even know where to start hmm.

Some kernel module? udev?


Some applications are WYSIWYG, and some are WYSIWTF.

Offline

#6 2008-09-10 10:47:36

apaige
Member
Registered: 2008-06-15
Posts: 96

Re: [SOLVED] USB memory stick not working

I'm sorry I don't have an answer, but I have a similar problem (albeit not as systematic) with my Voyager GT sticks. While I can mount them and use them, I eventually get the same error messages in situations of heavy I/O activity on them (e2fsck has shown to trigger the problem quite often). That's happened on three different PCs, and you can find numerous reports of the same problem with various motherboards, kernel versions, USB stick brands & models, even external hard drives connected through USB.

I'm still not sure what to blame, the kernel drivers or the sticks themselves (I find it hard to believe I managed to get *two* faulty sticks in a row of the same model), although recently I've come to assume the latter.

For one thing, my recently purchased Acer Aspire One netbook seems to feature USB hardware of better quality than that of my PC's and my previous laptop's: I get the full bandwidth of each stick simultaneously when both are plugged-in, which isn't the case on my other machines.

Second, I also purchased two SDHC cards for my netbook. The first one is a cheap card branded "ProLine" (never heard of it) and I also get similar error messages for it, albeit not as serious: data doesn't seem to be corrupted as far as I can tell, but I/O operations are rather flaky (it always takes me two or three attempts for fdisk to run on it). The second one is a SanDisk Extreme III card, which has a good reputation, and so far hasn't triggered a single error.

So, if a reputed SDHC card works flawlessly while a cheaper no-name card doesn't, maybe the same applies to USB sticks. What bugs me is that I thought Corsair was a reputable brand. The sticks didn't come cheap either. In any case, I've come to completely distrust USB sticks, while my Sandisk Extreme III SDHC card makes me happy.

Edit: I know it's not exactly an acceptable solution, but disabling USB2 (i.e. blacklisting the ehci_hcd module) has proven to make the problem go away. Gotta hate the utterly slow speeds of USB 1.1 though :-/

Last edited by apaige (2008-09-10 10:59:12)

Offline

#7 2008-09-10 15:20:23

Devastator
Member
From: Poland
Registered: 2008-05-27
Posts: 179

Re: [SOLVED] USB memory stick not working

Okay, I has done some more research, and I found out, that Corsair Flash Voyager USB memory sticks are somewhat bugged, and descriptor read error is quite common issue. In that case I'll try to replace it with some other, Linux-compatibile USB stick...

huh, it's the first time I has any problems with Linux-incompatibile hardware...

Thanks @apaige for pointing out what it may be, otherwise I'll put my system inside out in search for the bug wink

here's the interesting thread: http://www.houseofhelp.com/forums/showt … hp?t=71249


P.S. It finished up with "it's not hardware problem, but it is your software problem. Please contact your OS provider"... great sad.

Last edited by Devastator (2008-09-13 12:34:13)


Some applications are WYSIWYG, and some are WYSIWTF.

Offline

#8 2008-10-30 23:17:02

Devastator
Member
From: Poland
Registered: 2008-05-27
Posts: 179

Re: [SOLVED] USB memory stick not working

Okay, problem solved - I've just bought EMTEC 16 GB flash usb, and it works well (copying, formatting from linux, windows, and so on). big_smile


Some applications are WYSIWYG, and some are WYSIWTF.

Offline

Board footer

Powered by FluxBB