Opened 2 years ago
Last modified 18 months ago
#18185 assigned bug
System on usb hdd freezes regularly — at Version 1
Reported by: | zgdump | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/Disk/USB | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
Notebook: Asus G713QM-HX121 2021
Haiku: R1/beta4
After installation on a hdd connected via a usb 3.0 adapter, after a while the system freezes. First, the window used stops responding, then the loops begin, then the applications stop opening and after five minutres the system cannot be turned off normally.
Experimentally, it was found that the problem reproduces stably if I download or copy many small files to the system disk. Logs from syslog:
KERN: usb_disk: acquire_sem failed while waiting for data transfer: Operation timed out KERN: usb error control pipe 47: timeout waiting for queued request to complete DAEMON 'DHCP': /dev/net/usb_ecm/0: Timeout shift: 60000 msecs (try 6) DAEMON 'DHCP': /dev/net/usb_ecm/0: Send DHCP_DISCOVER to 255.255.255.255:67 KERN: usb_disk: acquire_sem failed while waiting for data transfer: Operation timed out KERN: usb_disk: receiving the command status wrapper failed: Operation timed out KERN: usb error control pipe 47: timeout waiting for queued request to complete Last message repeated 2 times KERN: usb xhci 1: transfer error on slot 4 endpoint 3: Stall KERN: usb error control pipe 47: timeout waiting for queued request to complete KERN: usb error xhci 1: cancel queued transfers: halted endpoint, reset! KERN: usb_disk: acquire_sem failed while waiting for data transfer: Operation timed out KERN: usb_disk: receiving the command status wrapper failed: Operation timed out KERN: usb error control pipe 47: timeout waiting for queued request to complete Last message repeated 2 times KERN: usb_disk: write failed: Operation timed out KERN: could not write back block 10489 (Operation timed out) KERN: usb xhci 1: transfer error on slot 4 endpoint 3: Stall KERN: usb error control pipe 47: timeout waiting for queued request to complete KERN: usb error xhci 1: cancel queued transfers: halted endpoint, reset! KERN: usb_disk: acquire_sem failed while waiting for data transfer: Operation timed out KERN: usb_disk: receiving the command status wrapper failed: Operation timed out KERN: usb error control pipe 47: timeout waiting for queued request to complete Last message repeated 2 times KERN: usb_disk: write failed: Operation timed out KERN: could not write back block 10490 (Operation timed out) KERN: usb xhci 1: transfer error on slot 4 endpoint 3: Stall KERN: usb error control pipe 47: timeout waiting for queued request to complete
But at the same time, some time the system can still show files from this disk, save them, and no more suspicious entries appear in the logs
Output of listdev:
device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1630: Renoir/Cezanne Root Complex device Generic system peripheral (IOMMU) [8|6|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1631: Renoir/Cezanne IOMMU device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1632: Renoir PCIe Dummy Host Bridge device Bridge (PCI bridge, Normal decode) [6|4|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1633: Renoir PCIe GPP Bridge device Display controller (VGA compatible controller, VGA controller) [3|0|0] vendor 10de: NVIDIA Corporation device 2520: GA106M [GeForce RTX 3060 Mobile / Max-Q] device Multimedia controller (Audio device) [4|3|0] vendor 10de: NVIDIA Corporation device 228e: GA106 High Definition Audio Controller device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1632: Renoir PCIe Dummy Host Bridge device Bridge (PCI bridge, Normal decode) [6|4|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1634: Renoir/Cezanne PCIe GPP Bridge device Network controller (Ethernet controller) [2|0|0] vendor 10ec: Realtek Semiconductor Co., Ltd. device 8168: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller device Bridge (PCI bridge, Normal decode) [6|4|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1634: Renoir/Cezanne PCIe GPP Bridge device Network controller [2|80|0] vendor 8086: Intel Corporation device 2723: Wi-Fi 6 AX200 device Bridge (PCI bridge, Normal decode) [6|4|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1634: Renoir/Cezanne PCIe GPP Bridge device Mass storage controller (Non-Volatile memory controller, NVM Ex [1|8|2] vendor 1c5c: SK hynix device 174a: Gold P31/PC711 NVMe Solid State Drive device Bridge (PCI bridge, Normal decode) [6|4|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1634: Renoir/Cezanne PCIe GPP Bridge device Mass storage controller (Non-Volatile memory controller, NVM Ex [1|8|2] vendor 1987: Phison Electronics Corporation device 5013: PS5013 E13 NVMe Controller device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1632: Renoir PCIe Dummy Host Bridge device Bridge (PCI bridge, Normal decode) [6|4|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1635: Renoir Internal PCIe GPP Bridge to Bus device Display controller (VGA compatible controller, VGA controller) [3|0|0] vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI] device 1638: Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] device Multimedia controller (Audio device) [4|3|0] vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI] device 1637: Renoir Radeon High Definition Audio Controller device Encryption controller [10|80|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 15df: Family 17h (Models 10h-1fh) Platform Security Processor device Serial bus controller (USB controller, XHCI) [c|3|30] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1639: Renoir/Cezanne USB 3.1 device Serial bus controller (USB controller, XHCI) [c|3|30] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1639: Renoir/Cezanne USB 3.1 device Multimedia controller [4|80|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 15e2: ACP/ACP3X/ACP6x Audio Coprocessor device Multimedia controller (Audio device) [4|3|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 15e3: Family 17h/19h HD Audio Controller device Serial bus controller (SMBus) [c|5|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 790b: FCH SMBus Controller device Bridge (ISA bridge) [6|1|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 790e: FCH LPC Bridge device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 166a: Cezanne Data Fabric; Function 0 device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 166b: Cezanne Data Fabric; Function 1 device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 166c: Cezanne Data Fabric; Function 2 device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 166d: Cezanne Data Fabric; Function 3 device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 166e: Cezanne Data Fabric; Function 4 device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 166f: Cezanne Data Fabric; Function 5 device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1670: Cezanne Data Fabric; Function 6 device Bridge (Host bridge) [6|0|0] vendor 1022: Advanced Micro Devices, Inc. [AMD] device 1671: Cezanne Data Fabric; Function 7 device Unclassified device (Non-VGA unclassified device) [0|0|0] vendor 0000: Unknown device 0000: Unknown
Output of listusb -v:
[Device /dev/bus/usb/0/1] Class .................. 0x00 ((Defined at Interface level) ()) Subclass ............... 0x00(Defined at Interface level) () Protocol ............... 0x00(Defined at Interface level) () Max Endpoint 0 Packet .. 8 USB Version ............ 2.0 Vendor ID .............. 0x046d (Logitech, Inc.) Product ID ............. 0xc534 (Unifying Receiver) Product Version ........ 0x2901 Manufacturer String .... "Logitech" Product String ......... "USB Receiver" Serial Number .......... "" [Configuration 0] Configuration String . "RQR29.01_B0016" [Interface 0] [Alternate 0 active] Class .............. 0x03 (Human Interface Device (No Subclass, None)) Subclass ........... 0x01Human Interface Device (Boot Interface Subclass, None) Protocol ........... 0x01Human Interface Device (Boot Interface Subclass, Keyboard) Interface String ... "" [Endpoint 0] MaxPacketSize .... 8 Interval ......... 8 Type ............. Interrupt Direction ........ Input [Descriptor 0] Type ............. 0x21 Data ............. 11 01 00 01 22 3b 00 [Interface 1] [Alternate 0 active] Class .............. 0x03 (Human Interface Device (No Subclass, None)) Subclass ........... 0x01Human Interface Device (Boot Interface Subclass, None) Protocol ........... 0x02Human Interface Device (Boot Interface Subclass, Mouse) Interface String ... "" [Endpoint 0] MaxPacketSize .... 20 Interval ......... 2 Type ............. Interrupt Direction ........ Input [Descriptor 0] Type ............. 0x21 Data ............. 11 01 00 01 22 b1 00 [Device /dev/bus/usb/0/2] Class .................. 0x00 ((Defined at Interface level) ()) Subclass ............... 0x00(Defined at Interface level) () Protocol ............... 0x00(Defined at Interface level) () Max Endpoint 0 Packet .. 64 USB Version ............ 2.0 Vendor ID .............. 0x0b05 (ASUSTek Computer, Inc.) Product ID ............. 0x1866 Product Version ........ 0x4022 Manufacturer String .... "ASUSTek Computer Inc." Product String ......... "N-KEY Device" Serial Number .......... "" [Configuration 0] Configuration String . "" [Interface 0] [Alternate 0 active] Class .............. 0x03 (Human Interface Device (No Subclass, None)) Subclass ........... 0x01Human Interface Device (Boot Interface Subclass, None) Protocol ........... 0x01Human Interface Device (Boot Interface Subclass, Keyboard) Interface String ... "" [Endpoint 0] MaxPacketSize .... 64 Interval ......... 4 Type ............. Interrupt Direction ........ Input [Descriptor 0] Type ............. 0x21 Data ............. 10 01 00 01 22 4b 01 [Device /dev/bus/usb/0/hub] Class .................. 0x09 (Hub (Unused, Full speed (or root) hub)) Subclass ............... 0x00Hub (Unused, Full speed (or root) hub) Protocol ............... 0x03Hub (Unused, TT per port) Max Endpoint 0 Packet .. 9 USB Version ............ 3.0 Vendor ID .............. 0x0000 Product ID ............. 0x0000 Product Version ........ 0x0300 Manufacturer String .... "HAIKU Inc." Product String ......... "XHCI RootHub" Serial Number .......... "" [Configuration 0] Configuration String . "" [Interface 0] [Alternate 0 active] Class .............. 0x09 (Hub (Unused, Full speed (or root) hub)) Subclass ........... 0x00Hub (Unused, Full speed (or root) hub) Protocol ........... 0x00Hub (Unused, Full speed (or root) hub) Interface String ... "" [Endpoint 0] MaxPacketSize .... 2 Interval ......... 255 Type ............. Interrupt Direction ........ Input [Descriptor 0] Type ............. 0x30 Data ............. 00 00 00 00 09 [Descriptor 1] Type ............. 0x06 Data ............. 00 00 0a 00 00 ff 50 24 98 80 ff ff ff ff 00 00 00 00 00 00 00 00 a0 24 57 82 ff ff ff ff 00 40 98 80 ff ff ff ff 01 Hub ports count......... 6 Hub Controller Current.. 0mA Port 1 status....... 0100.0000 Power Port 2 status....... 0103.0000 Connect Enable Power Port 3 status....... 0103.0000 Connect Enable Power Port 4 status....... 0100.0000 Power Port 5 status....... 0200.0000 Port 6 status....... 0200.0000 [Device /dev/bus/usb/1/0/3] Class .................. 0x00 ((Defined at Interface level) ()) Subclass ............... 0x00(Defined at Interface level) () Protocol ............... 0x00(Defined at Interface level) () Max Endpoint 0 Packet .. 64 USB Version ............ 2.16 Vendor ID .............. 0x1f75 (Innostor Technology Corporation) Product ID ............. 0x0611 (IS611 SATA/PATA Bridge Controller) Product Version ........ 0x0006 Manufacturer String .... "" Product String ......... "" Serial Number .......... "20201031" [Configuration 0] Configuration String . "" [Interface 0] [Alternate 0 active] Class .............. 0x08 (Mass Storage ()) Subclass ........... 0x06Mass Storage (SCSI, Control/Bulk/Interrupt) Protocol ........... 0x50Mass Storage (SCSI, Bulk-Only) Interface String ... "" [Endpoint 0] MaxPacketSize .... 512 Interval ......... 0 Type ............. Bulk Direction ........ Input [Endpoint 1] MaxPacketSize .... 512 Interval ......... 0 Type ............. Bulk Direction ........ Output [Device /dev/bus/usb/1/0/hub] Class .................. 0x09 (Hub (Unused, Full speed (or root) hub)) Subclass ............... 0x00Hub (Unused, Full speed (or root) hub) Protocol ............... 0x02Hub (Unused, TT per port) Max Endpoint 0 Packet .. 64 USB Version ............ 2.16 Vendor ID .............. 0x8564 (Transcend Information, Inc.) Product ID ............. 0x4100 Product Version ........ 0x9303 Manufacturer String .... "" Product String ......... "" Serial Number .......... "" [Configuration 0] Configuration String . "" [Interface 0] [Alternate 0 active] Class .............. 0x09 (Hub (Unused, Full speed (or root) hub)) Subclass ........... 0x00Hub (Unused, Full speed (or root) hub) Protocol ........... 0x01Hub (Unused, Single TT) Interface String ... "" [Endpoint 0] MaxPacketSize .... 1 Interval ......... 12 Type ............. Interrupt Direction ........ Input [Alternate 1] Class .............. 0x09 (Hub (Unused, Full speed (or root) hub)) Subclass ........... 0x00Hub (Unused, Full speed (or root) hub) Protocol ........... 0x02Hub (Unused, TT per port) Interface String ... "" [Endpoint 0] MaxPacketSize .... 1 Interval ......... 12 Type ............. Interrupt Direction ........ Input Hub ports count......... 4 Hub Controller Current.. 100mA Port 1 status....... 0100.0000 Power Port 2 status....... 0100.0000 Power Port 3 status....... 0100.0000 Power Port 4 status....... 0503.0000 Connect Enable Power [Device /dev/bus/usb/1/3] Class .................. 0xe0 (Wireless ()) Subclass ............... 0x01Wireless (Radio Frequency) Protocol ............... 0x01Wireless (Radio Frequency, Bluetooth) Max Endpoint 0 Packet .. 64 USB Version ............ 2.1 Vendor ID .............. 0x8087 (Intel Corp.) Product ID ............. 0x0029 (AX200 Bluetooth) Product Version ........ 0x0001 Manufacturer String .... "" Product String ......... "" Serial Number .......... "" [Configuration 0] Configuration String . "" [Interface 0] [Alternate 0 active] Class .............. 0xe0 (Wireless ()) Subclass ........... 0x01Wireless (Radio Frequency) Protocol ........... 0x01Wireless (Radio Frequency, Bluetooth) Interface String ... "" [Endpoint 0] MaxPacketSize .... 64 Interval ......... 1 Type ............. Interrupt Direction ........ Input [Endpoint 1] MaxPacketSize .... 64 Interval ......... 1 Type ............. Bulk Direction ........ Output [Endpoint 2] MaxPacketSize .... 64 Interval ......... 1 Type ............. Bulk Direction ........ Input [Interface 1] [Alternate 0 active] Class .............. 0xe0 (Wireless ()) Subclass ........... 0x01Wireless (Radio Frequency) Protocol ........... 0x01Wireless (Radio Frequency, Bluetooth) Interface String ... "" [Endpoint 0] MaxPacketSize .... 0 Interval ......... 1 Type ............. Isochronous Direction ........ Output [Endpoint 1] MaxPacketSize .... 0 Interval ......... 1 Type ............. Isochronous Direction ........ Input [Alternate 1] Class .............. 0xe0 (Wireless ()) Subclass ........... 0x01Wireless (Radio Frequency) Protocol ........... 0x01Wireless (Radio Frequency, Bluetooth) Interface String ... "" [Endpoint 0] MaxPacketSize .... 9 Interval ......... 1 Type ............. Isochronous Direction ........ Output [Endpoint 1] MaxPacketSize .... 9 Interval ......... 1 Type ............. Isochronous Direction ........ Input [Alternate 2] Class .............. 0xe0 (Wireless ()) Subclass ........... 0x01Wireless (Radio Frequency) Protocol ........... 0x01Wireless (Radio Frequency, Bluetooth) Interface String ... "" [Endpoint 0] MaxPacketSize .... 17 Interval ......... 1 Type ............. Isochronous Direction ........ Output [Endpoint 1] MaxPacketSize .... 17 Interval ......... 1 Type ............. Isochronous Direction ........ Input [Alternate 3] Class .............. 0xe0 (Wireless ()) Subclass ........... 0x01Wireless (Radio Frequency) Protocol ........... 0x01Wireless (Radio Frequency, Bluetooth) Interface String ... "" [Endpoint 0] MaxPacketSize .... 25 Interval ......... 1 Type ............. Isochronous Direction ........ Output [Endpoint 1] MaxPacketSize .... 25 Interval ......... 1 Type ............. Isochronous Direction ........ Input [Alternate 4] Class .............. 0xe0 (Wireless ()) Subclass ........... 0x01Wireless (Radio Frequency) Protocol ........... 0x01Wireless (Radio Frequency, Bluetooth) Interface String ... "" [Endpoint 0] MaxPacketSize .... 33 Interval ......... 1 Type ............. Isochronous Direction ........ Output [Endpoint 1] MaxPacketSize .... 33 Interval ......... 1 Type ............. Isochronous Direction ........ Input [Alternate 5] Class .............. 0xe0 (Wireless ()) Subclass ........... 0x01Wireless (Radio Frequency) Protocol ........... 0x01Wireless (Radio Frequency, Bluetooth) Interface String ... "" [Endpoint 0] MaxPacketSize .... 49 Interval ......... 1 Type ............. Isochronous Direction ........ Output [Endpoint 1] MaxPacketSize .... 49 Interval ......... 1 Type ............. Isochronous Direction ........ Input [Alternate 6] Class .............. 0xe0 (Wireless ()) Subclass ........... 0x01Wireless (Radio Frequency) Protocol ........... 0x01Wireless (Radio Frequency, Bluetooth) Interface String ... "" [Endpoint 0] MaxPacketSize .... 63 Interval ......... 1 Type ............. Isochronous Direction ........ Output [Endpoint 1] MaxPacketSize .... 63 Interval ......... 1 Type ............. Isochronous Direction ........ Input [Device /dev/bus/usb/1/hub] Class .................. 0x09 (Hub (Unused, Full speed (or root) hub)) Subclass ............... 0x00Hub (Unused, Full speed (or root) hub) Protocol ............... 0x03Hub (Unused, TT per port) Max Endpoint 0 Packet .. 9 USB Version ............ 3.0 Vendor ID .............. 0x0000 Product ID ............. 0x0000 Product Version ........ 0x0300 Manufacturer String .... "HAIKU Inc." Product String ......... "XHCI RootHub" Serial Number .......... "" [Configuration 0] Configuration String . "" [Interface 0] [Alternate 0 active] Class .............. 0x09 (Hub (Unused, Full speed (or root) hub)) Subclass ........... 0x00Hub (Unused, Full speed (or root) hub) Protocol ........... 0x00Hub (Unused, Full speed (or root) hub) Interface String ... "" [Endpoint 0] MaxPacketSize .... 2 Interval ......... 255 Type ............. Interrupt Direction ........ Input [Descriptor 0] Type ............. 0x30 Data ............. 00 00 00 00 09 [Descriptor 1] Type ............. 0x06 Data ............. 00 00 0a 00 00 ff 18 8d 9d 80 ff ff ff ff 00 00 00 00 00 00 00 00 a0 24 57 82 ff ff ff ff 00 00 a0 80 ff ff ff ff 01 Hub ports count......... 6 Hub Controller Current.. 0mA Port 1 status....... 0503.0000 Connect Enable Power Port 2 status....... 0100.0000 Power Port 3 status....... 0100.0000 Power Port 4 status....... 0103.0000 Connect Enable Power Port 5 status....... 0210.0000 Reset Port 6 status....... 0200.0000