You are not logged in.
Hi all,
I'm running an up-to-date Arch64 system with a USB 3.0-capable motherboard (via xhci-hcd driver). This is a desktop system that is either in use or in sleep mode most of the time (I don't reboot often). Most of the time, auto-mounting of USB sticks or my camera works perfectly. Plug the device in, it shows up in Nautilus.
However, over the past 4-5 months I've experienced intermittent failures of auto-mount, always after the computer has been through several suspend/resume cycles. When I plug a USB storage device in, I can see it with lsusb, but it doesn't auto-mount. The only way to restore automount functionality is to reboot (restarting GNOME shell, the X server, or logging out don't do it). I've searched the forums, double checked my package installations, udev rules, etc., but can't find any problem. I finally caught some info in the logs tonight; can someone please help me understand what's going on?
This was the first time auto-mount failed after working fine a few minutes before (prior to suspend/resume). Immediately after plugging the device I got this:
Apr 26 22:20:45 localhost kernel: [ 2038.156072] usb 4-2: new high-speed USB device number 5 using ehci_hcd
Apr 26 22:20:51 localhost kernel: [ 2043.336116] usb 4-2: unable to read config index 0 descriptor/start: -110
Apr 26 22:20:51 localhost kernel: [ 2043.336122] usb 4-2: chopping to 0 config(s)
Apr 26 22:21:01 localhost mtp-probe: checking bus 4, device 5: "/sys/devices/pci0000:00/0000:00:1d.7/usb4/4-2"
Apr 26 22:21:01 localhost mtp-probe: bus: 4, device: 5 was not an MTP device
Apr 26 22:21:01 localhost kernel: [ 2053.349929] usb 4-2: string descriptor 0 read error: -110
Apr 26 22:21:01 localhost kernel: [ 2053.350079] usb 4-2: no configuration chosen from 0 choices
Apr 26 22:21:32 localhost dbus[550]: [system] Failed to activate service 'org.freedesktop.Avahi': timed outA few minutes later, I unplugged the device and plugged it into a different USB hub, and automount worked! It looks like this time a scsi driver was invoked somehow....what's going on?
Apr 26 22:24:08 localhost kernel: [ 2239.954372] usb 4-2: USB disconnect, device number 5
Apr 26 22:24:11 localhost kernel: [ 2243.725259] usb 1-4.4: new high-speed USB device number 7 using ehci_hcd
Apr 26 22:24:12 localhost mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.4"
Apr 26 22:24:12 localhost mtp-probe: bus: 1, device: 7 was not an MTP device
Apr 26 22:24:12 localhost kernel: [ 2243.868321] scsi10 : usb-storage 1-4.4:1.0
Apr 26 22:24:13 localhost kernel: [ 2244.872117] scsi 10:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 2
Apr 26 22:24:13 localhost kernel: [ 2244.873597] sd 10:0:0:0: [sdc] 16547840 512-byte logical blocks: (8.47 GB/7.89 GiB)
Apr 26 22:24:13 localhost kernel: [ 2244.874156] sd 10:0:0:0: [sdc] Write Protect is off
Apr 26 22:24:13 localhost kernel: [ 2244.874158] sd 10:0:0:0: [sdc] Mode Sense: 03 00 00 00
Apr 26 22:24:13 localhost kernel: [ 2244.874713] sd 10:0:0:0: [sdc] No Caching mode page present
Apr 26 22:24:13 localhost kernel: [ 2244.874719] sd 10:0:0:0: [sdc] Assuming drive cache: write through
Apr 26 22:24:13 localhost kernel: [ 2244.877956] sd 10:0:0:0: [sdc] No Caching mode page present
Apr 26 22:24:13 localhost kernel: [ 2244.877962] sd 10:0:0:0: [sdc] Assuming drive cache: write through
Apr 26 22:24:13 localhost kernel: [ 2245.077743] sdc:
Apr 26 22:24:13 localhost kernel: [ 2245.080294] sd 10:0:0:0: [sdc] No Caching mode page present
Apr 26 22:24:13 localhost kernel: [ 2245.080299] sd 10:0:0:0: [sdc] Assuming drive cache: write through
Apr 26 22:24:13 localhost kernel: [ 2245.080304] sd 10:0:0:0: [sdc] Attached SCSI removable disk
Apr 26 22:24:13 localhost udisksd[1189]: Mounted /dev/sdc at /run/media/ryan/AC78-A3D1 on behalf of uid 1000
Apr 26 22:24:19 localhost kernel: [ 2251.412395] usb 4-1: USB disconnect, device number 4
Apr 26 22:24:25 localhost kernel: [ 2257.086102] usb 1-4.4: USB disconnect, device number 7
Apr 26 22:24:25 localhost udisksd[1189]: Cleaning up mount point /run/media/ryan/AC78-A3D1 (device 8:32 no longer exist)
Apr 26 22:24:28 localhost kernel: [ 2260.191445] usb 4-2: new high-speed USB device number 6 using ehci_hcd
Apr 26 22:24:33 localhost kernel: [ 2265.371566] usb 4-2: unable to read config index 0 descriptor/start: -110
Apr 26 22:24:33 localhost kernel: [ 2265.371571] usb 4-2: chopping to 0 config(s)
Apr 26 22:24:38 localhost dbus[550]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out
Apr 26 22:24:43 localhost kernel: [ 2275.385332] usb 4-2: string descriptor 0 read error: -110
Apr 26 22:24:43 localhost kernel: [ 2275.385632] usb 4-2: no configuration chosen from 0 choices
Apr 26 22:24:43 localhost kernel: [ 2275.385686] usb 4-2: USB disconnect, device number 6
Apr 26 22:25:09 localhost dbus[550]: [system] Failed to activate service 'org.freedesktop.Avahi': timed outLast edited by rsking84 (2012-04-27 02:38:43)
Offline
Just a guess, but do you have any sort of powersaving enabled?
What's the power status of each port after you come back from suspend? You can check this with "cat /sys/bus/usb/devices/<id>/power/level
Last edited by Gcool (2012-04-27 06:51:26)
Burninate!
Offline
@Gcool - thanks for the tip. All devices are set to "auto."
A new development this morning is that the lsusb command returns nothing while I have a usb stick plugged into the malfunctioning hub. As soon as I unplug it, I get the expected output.
Offline
I am getting this problem as well. lsusb command does not show my device as being plugged into the computer. The only way to get anything off of any USB storage device is to reboot the system. Very annoying. Again, after suspend/resume is when this problem turns up.
What can I contribute to help solve this issue?
Offline