raspberrypi / raspberrypi/linux

USB SSD disconnects randomly: xHCI host not responding to stop endpoint command

Open
#5,060 111 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Description

Describe the bug

I have intermittent system crashes with the following setup:

  • Raspberry Pi 4B, rev 1.1, 4 GB RAM
  • USB case: Axagon EE25-XA6 (ASMedia ASM225CM, enabled UASP and TRIM, USB 3.0)
  • SSDs tried: Samsung 840 (non-EVO or PRO) 240 GB, Corsair Force LS 120 GB
  • Official Pi 4 power supply
  • Tried with multiple, high quality USB 3.0 A-to-microB cables
  • The SoC is not overclocked, the Pi has an actively cooled Aluminium Armour case, temps are kept below 55 Celsius
  • The OS is up-to-date

The system boots fine, but crashes randomly after 6-24 hours. dmesg (logs captured via serial port) shows that the USB disk disconnects.

I've ran SSD speeds tests with dd, and successfully read the whole SSD with 300+ MB/s, also written 20+ GB into a test file without problems.

I'm running a few services in Docker, like PiHole, UniFi Controller, Prometheus + Grafana, Blynk local server, Mosquitto MQTT server.

The SSD has an extra partition for ZFS in addition to the standard boot and rootfs partitions. That ZFS volume stores the Docker containers and their data.

My other Pi 4 configuration (8 GB, rev 1.5) uses the same USB 3.0 case, but it runs stable, never had a crash like that. However, it writes less frequently to the SSD since it doesn't run Docker containers.

Steps to reproduce the behaviour

Unfortunately, there are no fix reproduction steps. I've tried disabling USB AutoSuspend via cmdline.txt, but it didn't help. I've also tried a different power supply without luck.
However, the system doesn't crash if I plug the USB disk into a USB 2.0 port.

Device (s)

Raspberry Pi 4 Mod. B

System

/etc/rpi-issue

Raspberry Pi reference 2022-04-04
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 27a8050c3c06e567c794620394a8c2d74262a516, stage2

vcgencmd version

Mar 24 2022 13:19:26
Copyright (c) 2012 Broadcom
version e5a963efa66a1974127860b42e913d2374139ff5 (clean) (release) (start)

uname -a

Linux services 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux

sudo rpi-eeprom-update

BOOTLOADER: up to date
   CURRENT: Tue Apr 26 10:24:28 UTC 2022 (1650968668)
    LATEST: Tue Apr 26 10:24:28 UTC 2022 (1650968668)
   RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
            Use raspi-config to change the release.

  VL805_FW: Dedicated VL805 EEPROM
     VL805: up to date
   CURRENT: 000138a1
    LATEST: 000138a1

lsusb -tv

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
        ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 2109:3431 VIA Labs, Inc. Hub

sudo lsusb -vd 174c:55aa

Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x174c ASMedia Technology Inc.
  idProduct          0x55aa ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
  bcdDevice            1.00
  iManufacturer           2 AXAGON USB3.0 External HDD
  iProduct                3 AXAGON USB3.0 External HDD
  iSerial                 1 AAAABBBBCCCC0003
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0079
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           4
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     98
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Data-in pipe (0x03)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Data-out pipe (0x04)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Status pipe (0x02)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               0
        Command pipe (0x01)
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x0016
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x0000f41e
      BESL Link Power Management (LPM) Supported
    BESL value     1024 us
    Deep BESL value    61440 us
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        2047 micro seconds
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x000d
  Self Powered
  U1 Enabled
  U2 Enabled

sudo lshw

services
    description: Computer
    product: Raspberry Pi 4 Model B Rev 1.1
    serial: 100000004c4deb14
    width: 64 bits
    capabilities: smp cp15_barrier setend swp tagged_addr_disabled
  *-core
       description: Motherboard
       physical id: 0
     *-cpu:0
          description: CPU
          product: cpu
          physical id: 1
          bus info: cpu@0
          size: 1500MHz
          capacity: 1500MHz
          capabilities: fp asimd evtstrm crc32 cpuid cpufreq
     *-cpu:1
          description: CPU
          product: cpu
          physical id: 2
          bus info: cpu@1
          size: 1500MHz
          capacity: 1500MHz
          capabilities: fp asimd evtstrm crc32 cpuid cpufreq
     *-cpu:2
          description: CPU
          product: cpu
          physical id: 3
          bus info: cpu@2
          size: 1500MHz
          capacity: 1500MHz
          capabilities: fp asimd evtstrm crc32 cpuid cpufreq
     *-cpu:3
          description: CPU
          product: cpu
          physical id: 4
          bus info: cpu@3
          size: 1500MHz
          capacity: 1500MHz
          capabilities: fp asimd evtstrm crc32 cpuid cpufreq
     *-memory
          description: System memory
          physical id: 5
          size: 3793MiB
     *-pci
          description: PCI bridge
          product: BCM2711 PCIe Bridge
          vendor: Broadcom Inc. and subsidiaries
          physical id: 0
          bus info: pci@0000:00:00.0
          version: 10
          width: 32 bits
          clock: 33MHz
          capabilities: pci pm pciexpress normal_decode bus_master cap_list
          resources: memory:600000000-6000fffff
        *-usb
             description: USB controller
             product: VL805 USB 3.0 Host Controller
             vendor: VIA Technologies, Inc.
             physical id: 0
             bus info: pci@0000:01:00.0
             version: 01
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:46 memory:600000000-600000fff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 5.15.32-v8+ xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 5.15
                capabilities: usb-2.00
                configuration: driver=hub slots=1 speed=480Mbit/s
              *-usb
                   description: USB hub
                   product: USB2.0 Hub
                   vendor: VIA Labs, Inc.
                   physical id: 1
                   bus info: usb@1:1
                   version: 4.21
                   capabilities: usb-2.10
                   configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 5.15.32-v8+ xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.15
                capabilities: usb-3.00
                configuration: driver=hub slots=4 speed=5000Mbit/s
              *-usb
                   description: Mass storage device
                   product: AXAGON USB3.0 External HDD
                   vendor: AXAGON USB3.0 External HDD
                   physical id: 1
                   bus info: usb@2:1
                   logical name: scsi0
                   version: 1.00
                   serial: AAAABBBBCCCC0003
                   capabilities: usb-3.10 scsi
                   configuration: driver=uas speed=5000Mbit/s
                 *-disk
                      description: SCSI Disk
                      product: Force LS SSD
                      vendor: Corsair
                      physical id: 0.0.0
                      bus info: scsi@0:0.0.0
                      logical name: /dev/sda
                      version: 0
                      serial: 3000CCCCBBBBAAAA
                      size: 111GiB (120GB)
                      capabilities: gpt-1.00 partitioned partitioned:gpt
                      configuration: ansiversion=6 guid=91639514-c964-49a3-bb8c-90f7d0a1c96e logicalsectorsize=512 sectorsize=512
                    *-volume:0
                         description: Windows FAT volume
                         vendor: mkfs.fat
                         physical id: 1
                         bus info: scsi@0:0.0.0,1
                         logical name: /dev/sda1
                         logical name: /boot
                         version: FAT16
                         serial: 048b-0011
                         size: 253MiB
                         capacity: 255MiB
                         capabilities: fat initialized
                         configuration: FATs=2 filesystem=fat label=boot mount.fstype=vfat mount.options=rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro name=Microsoft basic data state=mounted
                    *-volume:1
                         description: EXT4 volume
                         vendor: Linux
                         physical id: 2
                         bus info: scsi@0:0.0.0,2
                         logical name: /dev/sda2
                         version: 1.0
                         serial: b79fd5d8-0ff9-47f0-9d99-33e8c30786af
                         size: 39GiB
                         capacity: 39GiB
                         capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                         configuration: created=2022-06-06 19:25:35 filesystem=ext4 label=rootfs lastmountpoint=/ modified=2022-06-07 22:28:48 mounted=2022-06-10 18:17:01 name=Linux filesystem state=clean
                    *-volume:2
                         description: EFI partition
                         physical id: 3
                         bus info: scsi@0:0.0.0,3
                         logical name: /dev/sda3
                         serial: 30f1e2a0-24bb-4f21-929c-60f405bd6719
                         capacity: 71GiB
                         configuration: name=Linux filesystem
  *-network:0
       description: Ethernet interface
       physical id: 1
       logical name: eth0
       serial: dc:a6:32:31:02:13
       size: 1Gbit/s
       capacity: 1Gbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=bcmgenet driverversion=5.15.32-v8+ duplex=full ip=10.80.0.2 link=yes multicast=yes port=twisted pair speed=1Gbit/s
  *-network:1
       description: Ethernet interface
       physical id: 2
       logical name: br-482150e1dbb6
       serial: 02:42:bc:9e:88:86
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.20.0.1 link=yes multicast=yes speed=10Gbit/s
  *-network:2
       description: Ethernet interface
       physical id: 3
       logical name: docker0
       serial: 02:42:67:67:d3:22
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes
  *-network:3
       description: Ethernet interface
       physical id: 4
       logical name: br-7777bfeb3730
       serial: 02:42:50:bc:ca:c7
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.21.0.1 link=yes multicast=yes speed=10Gbit/s
  *-network:4
       description: Ethernet interface
       physical id: 5
       logical name: br-d9dca40fffc1
       serial: 02:42:c2:c6:5e:d0
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.24.0.1 link=yes multicast=yes speed=10Gbit/s
  *-network:5
       description: Ethernet interface
       physical id: 6
       logical name: br-e50cc143ca3d
       serial: 02:42:81:f8:5d:2f
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.23.0.1 link=yes multicast=yes speed=10Gbit/s
  *-network:6
       description: Ethernet interface
       physical id: 7
       logical name: br-e59a5e6c415e
       serial: 02:42:dd:20:96:9a
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.19.0.1 link=yes multicast=yes speed=10Gbit/s
  *-network:7
       description: Ethernet interface
       physical id: 8
       logical name: br-1d1c33aac596
       serial: 02:42:77:1a:ef:6e
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.18.0.1 link=yes multicast=yes speed=10Gbit/s
  *-network:8
       description: Ethernet interface
       physical id: 9
       logical name: veth27303d5
       serial: 36:84:56:77:44:4e
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full ip=169.254.240.41 link=yes multicast=yes port=twisted pair speed=10Gbit/s
  *-network:9
       description: Ethernet interface
       physical id: a
       logical name: veth419a0fd
       serial: 96:b5:bb:a7:d5:1f
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full ip=169.254.69.105 link=yes multicast=yes port=twisted pair speed=10Gbit/s
  *-network:10
       description: Ethernet interface
       physical id: b
       logical name: vethd0e141a
       serial: 62:5b:95:41:fa:67
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full ip=169.254.237.119 link=yes multicast=yes port=twisted pair speed=10Gbit/s
  *-network:11
       description: Ethernet interface
       physical id: c
       logical name: vethd824777
       serial: 82:78:97:db:21:f7
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full ip=169.254.2.78 link=yes multicast=yes port=twisted pair speed=10Gbit/s
  *-network:12
       description: Ethernet interface
       physical id: d
       logical name: veth7d5d161
       serial: 7a:48:fb:cf:0a:9c
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full ip=169.254.55.254 link=yes multicast=yes port=twisted pair speed=10Gbit/s
  *-network:13
       description: Ethernet interface
       physical id: e
       logical name: vethaed77d8
       serial: be:5d:df:01:26:45
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full ip=169.254.91.13 link=yes multicast=yes port=twisted pair speed=10Gbit/s
  *-network:14
       description: Ethernet interface
       physical id: f
       logical name: vethdc19914
       serial: be:59:17:46:01:d7
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full ip=169.254.194.23 link=yes multicast=yes port=twisted pair speed=10Gbit/s
  *-network:15
       description: Ethernet interface
       physical id: 10
       logical name: veth9c36494
       serial: 4e:af:25:e0:26:77
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full ip=169.254.20.104 link=yes multicast=yes port=twisted pair speed=10Gbit/s
  *-network:16
       description: Ethernet interface
       physical id: 11
       logical name: veth2e1e7c9
       serial: 06:6a:7d:f7:07:39
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full ip=169.254.216.214 link=yes multicast=yes port=twisted pair speed=10Gbit/s

sudo gdisk -l /dev/sda

GPT fdisk (gdisk) version 1.0.6

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 234441648 sectors, 111.8 GiB
Model: Force LS SSD
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 91639514-C964-49A3-BB8C-90F7D0A1C96E
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 234441614
Partitions will be aligned on 2048-sector boundaries
Total free space is 6108 sectors (3.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          524288   255.0 MiB   0700  Microsoft basic data
   2          526336        83886080   39.7 GiB    8300  Linux filesystem
   3        83888128       234441614   71.8 GiB    8300  Linux filesystem
Logs
... (normal kernel messages after booting)
[   49.775023] br-7777bfeb3730: port 1(veth0489e80) entered disabled state
[   49.776023] eth0: renamed from veth9d11393
[   49.816458] br-7777bfeb3730: port 1(veth0489e80) entered blocking state
[   49.816483] br-7777bfeb3730: port 1(veth0489e80) entered forwarding state
[164061.642655] sd 0:0:0:0: [sda] tag#3 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT 
[164061.650878] sd 0:0:0:0: [sda] tag#3 CDB: opcode=0x2a 2a 00 05 d8 e5 80 00 00 10 00
... (messages like these repeating for 16 seconds)
[164077.002902] sd 0:0:0:0: [sda] tag#18 uas_eh_abort_handler 0 uas-tag 19 inflight: CMD OUT 
[164077.011301] sd 0:0:0:0: [sda] tag#18 CDB: opcode=0x2a 2a 00 0a 4b 9d 60 00 00 90 00
[164077.046927] scsi host0: uas_eh_device_reset_handler start
[164077.046927] scsi host0: uas_eh_device_reset_handler start
[164077.187758] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[164077.187758] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[164077.215063] scsi host0: uas_eh_device_reset_handler success
[164077.215063] scsi host0: uas_eh_device_reset_handler success
[164084.137487] xhci_hcd 0000:01:00.0: WARNING: Host System Error
[164084.137487] xhci_hcd 0000:01:00.0: WARNING: Host System Error
[164089.279106] xhci_hcd 0000:01:00.0: xHCI host not responding to stop endpoint command.
[164089.287150] xhci_hcd 0000:01:00.0: USBSTS: HCHalted HSE EINT
[164089.293004] xhci_hcd 0000:01:00.0: xHCI host controller not responding, assume dead
[164089.300916] xhci_hcd 0000:01:00.0: HC died; cleaning up
[164089.306352] usb 1-1: USB disconnect, device number 2
[164089.279106] [164089.312578] usb 2-1: USB disconnect, device number 2
xhci_hcd[164089.318189] sd 0:0:0:0: [sda] tag#17 uas_zap_pending 0 uas-tag 2 inflight: CMD 
[164089.326243] sd 0:0:0:0: [sda] tag#17 CDB: opcode=0x2a 2a 00 05 d8 e5 80 00 00 10 00
[164089.334097] sd 0:0:0:0: [sda] tag#18 uas_zap_pending 0 uas-tag 3 inflight: CMD 
[164089.334113] sd 0:0:0:0: [sda] tag#17 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=DRIVER_OK cmd_age=57s
[164089.341594] sd 0:0:0:0: [sda] tag#18 CDB: opcode=0x2a 2a 00 05 d8 e5 90 00 00 10 00
[164089.341601] sd 0:0:0:0: [sda] tag#19 uas_zap_pending 0 uas-tag 4 inflight: CMD 
[164089.351572] sd 0:0:0:0: [sda] tag#17 CDB: opcode=0x2a 2a 00 05 d8 e5 80 00 00 10 00
[164089.359410] sd 0:0:0:0: [sda] tag#19 CDB: opcode=0x2a 2a 00 02 4e 27 68 00 00 90 00
[164089.359416] sd 0:0:0:0: [sda] tag#20 uas_zap_pending 0 uas-tag 5 inflight: CMD 
[164089.359420] sd 0:0:0:0: [sda] tag#20 CDB: opcode=0x2a 2a 00 0a 4b a2 c0 00 00 90 00
[164089.359428] sd 0:0:0:0: [sda] tag#19 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=DRIVER_OK cmd_age=56s
[164089.359437] sd 0:0:0:0: [sda] tag#19 CDB: opcode=0x2a 2a 00 02 4e 27 68 00 00 90 00
[164089.359444] blk_update_request: I/O error, dev sda, sector 38676328 op 0x1:(WRITE) flags 0x800 phys_seg 18 prio class 0
[164089.359552] Aborting journal on device sda2-8.
[164089.366921] blk_update_request: I/O error, dev sda, sector 98100608 op 0x1:(WRITE) flags 0x700 phys_seg 2 prio class 0
[164089.374762] sd 0:0:0:0: [sda] tag#21 uas_zap_pending 0 uas-tag 6 inflight: CMD 
[164089.374777] sd 0:0:0:0: [sda] tag#20 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=DRIVER_OK cmd_age=54s
[164089.374786] sd 0:0:0:0: [sda] tag#20 CDB: opcode=0x2a 2a 00 0a 4b a2 c0 00 00 90 00
[164089.374792] blk_update_request: I/O error, dev sda, sector 172729024 op 0x1:(WRITE) flags 0x700 phys_seg 18 prio class 0
[164089.374805] zio pool=tank vdev=/dev/sda3 error=5 type=2 offset=45486538752 size=73728 flags=180880
[164089.382610] zio pool=tank vdev=/dev/sda3 error=5 type=2 offset=7276789760 size=8192 flags=184880
[164089.390099] sd 0:0:0:0: [sda] tag#21 CDB: opcode=0x2a 2a 00 04 51 e7 38 00 00 08 00
[164089.390108] sd 0:0:0:0: [sda] tag#22 uas_zap_pending 0 uas-tag 7 inflight: CMD 
[164089.512187] sd 0:0:0:0: [sda] tag#22 CDB: opcode=0x2a 2a 00 04 51 e7 20 00 00 08 00
[164089.520039] sd 0:0:0:0: [sda] tag#23 uas_zap_pending 0 uas-tag 8 inflight: CMD 
[164089.527535] sd 0:0:0:0: [sda] tag#23 CDB: opcode=0x2a 2a 00 04 51 e6 f8 00 00 08 00
Additional context

Based on the posts under https://github.com/raspberrypi/linux/issues/4930, the two issues maybe connected.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the captured dmesg, lsusb -tv, and xHCI/USB details in the report, then compare the stable USB 2.0 behavior with USB 3.0/UASP. Done would require a reproducible diagnosis and a confirmed kernel fix or documented resolution; the issue supplies no reproduction steps or target file.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, raspberry-pi
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.