From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932299Ab3BMI2l (ORCPT ); Wed, 13 Feb 2013 03:28:41 -0500 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:45903 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758952Ab3BMI2j (ORCPT ); Wed, 13 Feb 2013 03:28:39 -0500 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 80.134.164.145 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+xC8scqPe+yh719b31W2NIqBmcoCCeiuU= Message-ID: <511B4EB1.9010708@googlemail.com> Date: Wed, 13 Feb 2013 09:28:33 +0100 From: =?ISO-8859-1?Q?Holger_Hoffst=E4tte?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Sarah Sharp CC: Jonathan Nieder , stable@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Greg KH , Tilman Schmidt , Matthias Schniedermeyer Subject: Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5) References: <20130128045658.GA3488@kroah.com> <20130128143907.GA2940@kroah.com> <20130128204639.GB7759@google.com> <20130212004023.GA8427@xanatos> <511A1AF1.9080107@googlemail.com> <20130212204224.GC8427@xanatos> In-Reply-To: <20130212204224.GC8427@xanatos> X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12.02.2013 21:42, Sarah Sharp wrote: > [..] > I think I see the issue. Your host controller reports the Inactive > state after a USB disconnect. My host controllers go to the RxDetect > state on a disconnect. > > The patches that went into 3.8 and the stable kernels to better handle > the Inactive state were not designed to handle a connected device going > to the Inactive state. I thought that would be a rare case, but > apparently it's not. > > There was a further set of patches queued for 3.9 to deal with connected > devices going to the Inactive state, but they looked like they were too > big for stable: > > d3b9d7a USB: Fix connected device switch to Inactive state. > a24a607 USB: Rip out recursive call on warm port reset. > 2d4fa94 USB: Prepare for refactoring by adding extra udev checks. > 0fe51aa USB: Don't use EHCI port sempahore for USB 3.0 hubs. > > Can you retry with Greg's usb-next branch? > > git clone git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git -b usb-next > > If that fixes your problem, we should either get those additional > patches into 3.8 and the stable trees, or do a revert of the whole > series and just let 3.9 carry the full patchset. Good news! This one does indeed work as expected - the device can be removed and is gone for good. Upstream & Stable plz :) thanks all! Holger