On Wed, Mar 16, 2022 at 02:57:22PM +0100, gregkh@xxxxxxxxxxxxxxxxxxx wrote: > On Wed, Mar 16, 2022 at 01:39:57PM +0000, Schmid, Carsten wrote: > > Hi Greg, Mathias, > > > > i have a USB stick that - when plugged in - forces a USB storage hang message. > > Prior to that message i can see USBDEVFS_CONTROL timeout messages. > > (BTW the stick works fine on a desktop system with a recent kernel) > > The stick is having a USB-C connector, and is connected to a USB2 port through an adapter (that i also used on the Desktop system for a quick check, and it worked there on a USB2 port) > > > > I built a reproducer and collected traces (see attachment). > > As there is no MAINTAINER given for drivers/usb/core, i send that to you and the USB mailing list to ask someone to look into that. > > > > >From the kernel's dmesg, these are the entries when trace has been recorded. > > > > [159909.172301] usb 1-1: new high-speed USB device number 13 using xhci_hcd > > [159909.314291] usb 1-1: New USB device found, idVendor=058f, idProduct=6387 > > [159909.314299] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > > [159909.314303] usb 1-1: Product: Intenso Flash Line > > [159909.314306] usb 1-1: Manufacturer: ALCOR > > [159909.314310] usb 1-1: SerialNumber: E13DF681 > > [159909.317093] usb-storage 1-1:1.0: USB Mass Storage device detected > > [159909.319468] scsi host2: usb-storage 1-1:1.0 > > [159909.614535] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd NmeDefaultPrio rqt 192 rq 51 len 2 ret -110 > > [159909.665513] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd NmeDefaultPrio rqt 192 rq 51 len 2 ret -110 > > [159909.729510] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd NmeDefaultPrio rqt 192 rq 51 len 2 ret -110 > > [159909.780610] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd NmeDefaultPrio rqt 192 rq 51 len 2 ret -110 > > Why is usbfs being used for a storage device? What userspace program do > you have that is poking at the device? The name of the program is mentioned right in the error message (the "cmd" item): NmeDefaultPrio. Don't know what package that program belongs to. Alan Stern