[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1904082118490.1490-100000@netrider.rowland.org>
Date: Mon, 8 Apr 2019 21:21:07 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Kento.A.Kobayashi@...y.com
cc: jejb@...ux.ibm.com, <martin.petersen@...cle.com>,
<oneukum@...e.com>, <gregkh@...uxfoundation.org>,
<usb-storage@...ts.one-eyed-alien.net>, <Jacky.Cao@...y.com>,
<linux-kernel@...r.kernel.org>, <linux-scsi@...r.kernel.org>,
<linux-usb@...r.kernel.org>
Subject: RE: [PATCH] usb: uas: fix usb subsystem hang after power off hub
port
On Tue, 9 Apr 2019 Kento.A.Kobayashi@...y.com wrote:
> Hi,
>
> >So it looks as though the SCSI subsystem doesn't like to have a reset handler call scsi_remove_host. Commands dispatched by the removal routines are forced to wait for the reset recovery to finish, which won't happen until those commands have been completed.
>
> You mean reset handeler should not call scsi_remove_host, right?
> But actually, scsi_remove_host is called from reset handler in this case.
>
> >Is this a bug in the SCSI core?
> No, I think this is a bug in uas driver.
Actually I was asking James and Martin, not you.
In any case, even assuming the cause of the problem is on the USB side,
it's not clear whether the bug is in uas or in usbcore.
Alan Stern
Powered by blists - more mailing lists