All of lore.kernel.org
 help / color / mirror / Atom feed
* Crash/hung task in usb-storage thread
@ 2019-05-23 11:57 Schmid, Carsten
  2019-05-23 12:04 ` Greg KH
  2019-05-23 16:50 ` Alan Stern
  0 siblings, 2 replies; 13+ messages in thread
From: Schmid, Carsten @ 2019-05-23 11:57 UTC (permalink / raw)
  To: linux-usb

Hi USB maintainers,

we recently have seen a problem with usb-storage when trying to read from a device.
This happened on a 4.14.86 kernel.

The kernel's dmesg shows: (log has been submitted via DLT)
1200.862250 kernel: usb 1-3.1: reset high-speed USB device number 10 using xhci_hcd
1285.466289 kernel: usb 1-3.1: reset high-speed USB device number 10 using xhci_hcd
1291.911286 kernel: usb-storage: Error in queuecommand_lck: us->srb = ffff9d66b02e3528
1292.018079 kernel: usb-storage: Error in queuecommand_lck: us->srb = ffff9d66b02e3528
1292.043073 kernel: usb-storage: Error in queuecommand_lck: us->srb = ffff9d66b02e3528
1292.069078 kernel: usb-storage: Error in queuecommand_lck: us->srb = ffff9d66b02e3528
1292.093066 kernel: usb-storage: Error in queuecommand_lck: us->srb = ffff9d66b02e3528

These messages continue until the hung task mechanism steps in:
1472.135076 kernel: usb-storage: Error in queuecommand_lck: us->srb = ffff9d66b02e3528
1472.135628 kernel: INFO: task usb-storage:7930 blocked for more than 120 seconds.
1472.135633 kernel: Tainted: P U W O 4.14.86-apl #1
1472.135634 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
1472.135637 kernel: usb-storage D 0 7930 2 0x80000080
1472.135642 kernel: Call Trace:
1472.135656 kernel: __schedule+0x1c2/0x7b0
1472.135661 kernel: schedule+0x2e/0x90
1472.135664 kernel: schedule_timeout+0x230/0x470
1472.135678 kernel: ? usb_hcd_submit_urb+0x98/0xba0 [usbcore]
1472.135719 kernel: ? schedule_timeout+0x230/0x470
1472.135728 kernel: ? usb_hcd_submit_urb+0x98/0xba0 [usbcore]
1472.135731 kernel: ? __switch_to_asm+0x40/0x70
1472.135733 kernel: ? __switch_to_asm+0x34/0x70
1472.135735 kernel: ? __switch_to_asm+0x40/0x70
1472.135737 kernel: ? __switch_to_asm+0x34/0x70
1472.135741 kernel: wait_for_common+0xb5/0x170
1472.135744 kernel: ? wait_for_common+0xb5/0x170
1472.135748 kernel: ? wake_up_q+0x80/0x80
1472.135752 kernel: wait_for_completion+0x18/0x20
1472.135760 kernel: usb_sg_wait+0x114/0x170 [usbcore]
1472.135946 kernel: usb_stor_bulk_transfer_sglist.part.3+0x62/0xb0 [usb_storage]
1472.135951 kernel: usb_stor_bulk_srb+0x46/0x80 [usb_storage]
1472.135955 kernel: usb_stor_Bulk_transport+0x123/0x390 [usb_storage]
1472.135960 kernel: usb_stor_invoke_transport+0x3c/0x520 [usb_storage]
1472.135965 kernel: ? wait_for_common+0xb5/0x170
1472.135968 kernel: ? wait_for_common+0x149/0x170
1472.135971 kernel: ? wake_up_q+0x80/0x80
1472.135975 kernel: usb_stor_transparent_scsi_command+0x9/0x10 [usb_storage]
1472.135979 kernel: usb_stor_control_thread+0x1eb/0x2d0 [usb_storage]
1472.135984 kernel: kthread+0x122/0x140
1472.135988 kernel: ? fill_inquiry_response+0x20/0x20 [usb_storage]
1472.135991 kernel: ? kthread_create_on_node+0x60/0x60
1472.135994 kernel: ret_from_fork+0x35/0x40
1472.163072 kernel: usb-storage: Error in queuecommand_lck: us->srb = ffff9d66b02e3528

There has been a similar bug being fixed in 3.17 kernel series, maybe the bug has been re-introduced?
https://bugzilla.kernel.org/show_bug.cgi?id=88341

As USB seems to be the causing subsystem, i submit this query here.

Any idea what could cause this?


Best regards
Carsten

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-05-24 15:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-23 11:57 Crash/hung task in usb-storage thread Schmid, Carsten
2019-05-23 12:04 ` Greg KH
2019-05-23 12:16   ` AW: " Schmid, Carsten
2019-05-23 12:26     ` Greg KH
2019-05-23 12:30       ` AW: " Schmid, Carsten
2019-05-23 12:35         ` Greg KH
2019-05-23 13:16           ` AW: " Schmid, Carsten
2019-05-23 18:05             ` Greg KH
2019-05-23 16:50 ` Alan Stern
2019-05-24 13:33   ` AW: " Schmid, Carsten
2019-05-24 14:59     ` Greg KH
2019-05-24 15:24     ` AW: " Alan Stern
2019-05-24 15:47       ` AW: " Schmid, Carsten

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.