USB Disconnects / resets after commit b963801164618e25fbdc0cd452ce49c3628b46c8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From bug https://bugzilla.kernel.org/show_bug.cgi?id=32432 - I was
advised to post it here. patch referred to is on bugtracker.

After commit b963801164618e25fbdc0cd452ce49c3628b46c8
(USB: ehci-hcd unlink speedups) I have instability with an external USB
drive
on a Intel Mac Mini. USB device will stop working after some
minutes/hours/or a
few days.

Manually reverting the commit fixes it and the USB device is completely
stable.
 I spent a long time trying to track the bug down, firstly trying every
single
USB quirk mode and kernel configs, and eventually found reverting this
commit
fixed it. I am currently running a 2.6.27 kernel with the attached
patch. The
patch still applies to GIT HEAD as of 01/04/2011

The errors looked like

Jun  7 22:56:05 malus kernel: usb 1-1: reset high speed USB device using
ehci_hcd and address 2
Jun  7 22:56:16 malus kernel: usb 1-1: reset high speed USB device using
ehci_hcd and address 2
Jun  7 22:56:19 malus kernel: usb 1-1: USB disconnect, address 2
Jun  7 22:56:20 malus kernel: sd 4:0:0:0: Device offlined - not ready
after error recovery

the usb device in question:
root@malus:/usr/local/src# cat /proc/scsi/usb-storage/4
   Host scsi4: usb-storage
       Vendor: Super Top
      Product: USB 2.0  IDE DEVICE
Serial Number: ST  Killer
     Protocol: Transparent SCSI
    Transport: Bulk
       Quirks: IGNORE_RESIDUE

Has a quirk active by default, but as everything was fine prior to the patch
and the fact that I am not the only person who has had issues with this
commit,
I wonder if there is a problem in the code somewhere or something that
could be
done.

Other people with issues pointing to that commit

http://lkml.org/lkml/2009/5/22/405 (USB/DVB - Old Technotrend TT-connect
S-2400
regression tracked down)
http://kerneltrap.com/mailarchive/linux-usb/2008/12/19/4459054/thread
9usb: Fix
PS3 EHCI suspend)

hardware on machine

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and
945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME,
943/940GML
Express Integrated Graphics Controller (rev 03)
00:07.0 Performance counters: Intel Corporation Device 27a3 (rev 03)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port
1 (rev
02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port
2 (rev
02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
Controller
#1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
Controller
#2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
Controller
#3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI
Controller
#4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI
Controller
(rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge
(rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller
(rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family)
SATA AHCI
Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E
Gigabit Ethernet Controller (rev 22)
02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless
Network Adapter (rev 01)
03:03.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 61)

let me know if I can provide other information. The machine is question is a
production machine in a hosting facility, so my priority was to get this
working as I have now.

Best Regards

Jools
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux