[Bugme-new] [Bug 32432] New: USB Disconnects / resets after commit b963801164618e25fbdc0cd452ce49c3628b46c8

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Fri Apr 1 05:54:48 PDT 2011


https://bugzilla.kernel.org/show_bug.cgi?id=32432

           Summary: USB Disconnects / resets after commit
                    b963801164618e25fbdc0cd452ce49c3628b46c8
           Product: Drivers
           Version: 2.5
    Kernel Version: 2.6.27 - 2.6.38
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
        AssignedTo: greg at kroah.com
        ReportedBy: jools at oxfordinspire.co.uk
        Regression: Yes


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 at 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.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list