On 5/28/20 11:04 AM, Alan Stern wrote:
On Thu, May 28, 2020 at 10:02:07AM -0500, Zebediah Figura wrote:
On 5/28/20 2:54 AM, Greg KH wrote:
On Wed, May 27, 2020 at 11:23:13PM -0500, Zebediah Figura wrote:
Hello all,
I was asked to report this bug here. There's more details in the bug report,
but it's been proposed that there's a deadlock between device_reset() in
scsiglue.c and usb_stor_control_thread().
What bug report where? Can you provide a link and the details here in
the email?
Oops, meant to link it and forgot. Sorry about that.
https://bugzilla.kernel.org/show_bug.cgi?id=207877
This doesn't look like a deadlock to me, at least, not a deadlock
involving the device reset code.
Your next step should be to collect a usbmon trace showing what happens
when the problem occurs. See the instructions in
Documentation/usb/usbmon.rst.
Thanks, I've attached a usbmon trace to the bug. It seems the kernel
submits a bulk input transfer that never receives a response. I hope my
drive isn't broken...