Actions
Bug #4411
closedstrange USB hang with simtrace2 firmware + SMC USB hub
Start date:
02/21/2020
Due date:
% Done:
0%
Spec Reference:
Description
The problem seems to deteriorate quickly and take the entire USB stack of the kernel down.
We fist see, during lsusb:
Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 0 iInterface 13 0.7.0.44-1970-dirty can't get device qualifier: Resource temporarily unavailable can't get debug descriptor: Resource temporarily unavailable cannot read device status, Resource temporarily unavailable (11)
next, also the hub is affected:
Bus 001 Device 006: ID 1d50:4002 OpenMoko, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 bDeviceProtocol 2 TT per port bMaxPacketSize0 64 idVendor 0x1d50 OpenMoko, Inc. idProduct 0x4002 bcdDevice 0.00 iManufacturer 1 (error) iProduct 2 (error) iSerial 3 (error) bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0029 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 1 Single TT iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 bInterfaceProtocol 2 TT per port iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 12 can't get hub descriptor, LIBUSB_ERROR_TIMEOUT (Resource temporarily unavailable)
This is with a sysmoQMOD attached to a Raspi 3B with Raspbian 10 on it. That configuration was working for many weeks before, but starting last night (without any firmware upgrade) it shows above-mentioned behavior.
Rebooting both raspi and QMOD board also doesn't seem to recover. After reboot, a "simtrace2-list" and a "lsusb" (without "-v") works fine, but "lsusb -v" seems to run into the same timeouts + stuck bus again.
Updated by laforge about 4 years ago
- Priority changed from Urgent to Normal
couldn't reproduce this one day later on the same hardware without any changes.
Actions