2021-06-02 21:13:10 |
Filip Weiss |
bug |
|
|
added bug |
2021-06-02 21:13:10 |
Filip Weiss |
attachment added |
|
dmesg output https://bugs.launchpad.net/bugs/1930629/+attachment/5501970/+files/pi.dmesg.log |
|
2021-06-04 09:50:30 |
Juerg Haefliger |
nominated for series |
|
Ubuntu Focal |
|
2021-06-04 09:50:30 |
Juerg Haefliger |
bug task added |
|
linux-raspi (Ubuntu Focal) |
|
2021-06-04 09:53:28 |
Juerg Haefliger |
bug |
|
|
added subscriber Juerg Haefliger |
2021-06-04 11:12:05 |
Filip Weiss |
tags |
|
apport-collected arm64-image focal raspi-image staging uec-images |
|
2021-06-04 11:12:06 |
Filip Weiss |
description |
My raspberry pi 4 running Ubuntu 20.04 server is constantly having trouble the the usb controller.
I have 2 externally powered USB hubs connected that have a few HDDs plugged in.
After a seemingly random amount of time (between 1 minute and 2 days) the usb controller will crash completely. No USB devices are detected anymore after that, i have to reboot the system.
I have tried:
* Providing a lot of cooling (metal case + desktop size fan)
* Switching the USB Hubs to a different brand
* Switching the power supply of the USB hubs
* Switching the power supply of the raspberry
Nothing helped, so i concluded that this probably is a kernel bug. I think the USB controller should not crash at the very least.
I've attached my dmesg.
lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
linux-raspi version: 5.4.0.1035.70
uname -a
Linux pi 5.4.0-1035-raspi #38-Ubuntu SMP PREEMPT Tue Apr 20 21:37:03 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
lsusb (after crash)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
My raspberry pi 4 running Ubuntu 20.04 server is constantly having trouble the the usb controller.
I have 2 externally powered USB hubs connected that have a few HDDs plugged in.
After a seemingly random amount of time (between 1 minute and 2 days) the usb controller will crash completely. No USB devices are detected anymore after that, i have to reboot the system.
I have tried:
* Providing a lot of cooling (metal case + desktop size fan)
* Switching the USB Hubs to a different brand
* Switching the power supply of the USB hubs
* Switching the power supply of the raspberry
Nothing helped, so i concluded that this probably is a kernel bug. I think the USB controller should not crash at the very least.
I've attached my dmesg.
lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
linux-raspi version: 5.4.0.1035.70
uname -a
Linux pi 5.4.0-1035-raspi #38-Ubuntu SMP PREEMPT Tue Apr 20 21:37:03 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
lsusb (after crash)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
---
ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.4.0-1035-raspi.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
ImageMediaBuild: 20210201.1
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci-vt: -[0000:00]---00.0-[01]----00.0 VIA Technologies, Inc. VL805 USB 3.0 Host Controller
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
Package: linux-raspi
PackageArchitecture: arm64
PciMultimedia:
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:1D:06:FE vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
ProcVersionSignature: Ubuntu 5.4.0-1035.38-raspi 5.4.106
RelatedPackageVersions:
linux-restricted-modules-5.4.0-1035-raspi N/A
linux-backports-modules-5.4.0-1035-raspi N/A
linux-firmware 1.187.12
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
StagingDrivers: bcm2835_isp bcm2835_v4l2 bcm2835_mmal_vchiq bcm2835_codec snd_bcm2835 vc_sm_cma
Tags: arm64-image raspi-image focal uec-images staging
Uname: Linux 5.4.0-1035-raspi aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
acpidump: |
|
2021-06-04 11:12:07 |
Filip Weiss |
attachment added |
|
AlsaDevices.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502435/+files/AlsaDevices.txt |
|
2021-06-04 11:12:09 |
Filip Weiss |
attachment added |
|
CRDA.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502436/+files/CRDA.txt |
|
2021-06-04 11:12:10 |
Filip Weiss |
attachment added |
|
CurrentDmesg.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502437/+files/CurrentDmesg.txt |
|
2021-06-04 11:12:12 |
Filip Weiss |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502438/+files/Dependencies.txt |
|
2021-06-04 11:12:13 |
Filip Weiss |
attachment added |
|
Lspci.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502439/+files/Lspci.txt |
|
2021-06-04 11:12:14 |
Filip Weiss |
attachment added |
|
Lsusb-v.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502440/+files/Lsusb-v.txt |
|
2021-06-04 11:12:15 |
Filip Weiss |
attachment added |
|
ProcCpuinfo.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502441/+files/ProcCpuinfo.txt |
|
2021-06-04 11:12:16 |
Filip Weiss |
attachment added |
|
ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502442/+files/ProcCpuinfoMinimal.txt |
|
2021-06-04 11:12:18 |
Filip Weiss |
attachment added |
|
ProcInterrupts.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502443/+files/ProcInterrupts.txt |
|
2021-06-04 11:12:19 |
Filip Weiss |
attachment added |
|
ProcModules.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502444/+files/ProcModules.txt |
|
2021-06-04 11:12:21 |
Filip Weiss |
attachment added |
|
UdevDb.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502445/+files/UdevDb.txt |
|
2021-06-04 11:12:23 |
Filip Weiss |
attachment added |
|
WifiSyslog.txt https://bugs.launchpad.net/bugs/1930629/+attachment/5502446/+files/WifiSyslog.txt |
|
2021-06-07 08:41:01 |
Juerg Haefliger |
linux-raspi (Ubuntu Focal): status |
New |
Confirmed |
|
2021-06-07 08:41:25 |
Juerg Haefliger |
linux-raspi (Ubuntu): status |
New |
Invalid |
|
2021-06-08 14:50:48 |
Juerg Haefliger |
bug watch added |
|
https://github.com/raspberrypi/linux/issues/3981 |
|
2021-08-19 09:24:33 |
Juerg Haefliger |
linux-raspi (Ubuntu Focal): assignee |
|
Juerg Haefliger (juergh) |
|
2021-08-19 09:24:46 |
Juerg Haefliger |
nominated for series |
|
Ubuntu Hirsute |
|
2021-08-19 09:24:46 |
Juerg Haefliger |
bug task added |
|
linux-raspi (Ubuntu Hirsute) |
|
2021-08-19 09:24:46 |
Juerg Haefliger |
nominated for series |
|
Ubuntu Impish |
|
2021-08-19 09:24:46 |
Juerg Haefliger |
bug task added |
|
linux-raspi (Ubuntu Impish) |
|
2021-08-19 09:31:45 |
Juerg Haefliger |
linux-raspi (Ubuntu Impish): status |
Invalid |
New |
|
2021-08-19 09:31:54 |
Juerg Haefliger |
linux-raspi (Ubuntu Hirsute): assignee |
|
Juerg Haefliger (juergh) |
|
2021-08-19 09:31:58 |
Juerg Haefliger |
linux-raspi (Ubuntu Impish): assignee |
|
Juerg Haefliger (juergh) |
|
2021-08-27 22:24:17 |
Launchpad Janitor |
linux-raspi (Ubuntu): status |
New |
Confirmed |
|
2021-08-27 22:24:17 |
Launchpad Janitor |
linux-raspi (Ubuntu Hirsute): status |
New |
Confirmed |
|
2021-08-30 14:55:36 |
Juerg Haefliger |
description |
My raspberry pi 4 running Ubuntu 20.04 server is constantly having trouble the the usb controller.
I have 2 externally powered USB hubs connected that have a few HDDs plugged in.
After a seemingly random amount of time (between 1 minute and 2 days) the usb controller will crash completely. No USB devices are detected anymore after that, i have to reboot the system.
I have tried:
* Providing a lot of cooling (metal case + desktop size fan)
* Switching the USB Hubs to a different brand
* Switching the power supply of the USB hubs
* Switching the power supply of the raspberry
Nothing helped, so i concluded that this probably is a kernel bug. I think the USB controller should not crash at the very least.
I've attached my dmesg.
lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
linux-raspi version: 5.4.0.1035.70
uname -a
Linux pi 5.4.0-1035-raspi #38-Ubuntu SMP PREEMPT Tue Apr 20 21:37:03 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
lsusb (after crash)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
---
ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.4.0-1035-raspi.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
ImageMediaBuild: 20210201.1
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci-vt: -[0000:00]---00.0-[01]----00.0 VIA Technologies, Inc. VL805 USB 3.0 Host Controller
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
Package: linux-raspi
PackageArchitecture: arm64
PciMultimedia:
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:1D:06:FE vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
ProcVersionSignature: Ubuntu 5.4.0-1035.38-raspi 5.4.106
RelatedPackageVersions:
linux-restricted-modules-5.4.0-1035-raspi N/A
linux-backports-modules-5.4.0-1035-raspi N/A
linux-firmware 1.187.12
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
StagingDrivers: bcm2835_isp bcm2835_v4l2 bcm2835_mmal_vchiq bcm2835_codec snd_bcm2835 vc_sm_cma
Tags: arm64-image raspi-image focal uec-images staging
Uname: Linux 5.4.0-1035-raspi aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
acpidump: |
[ Impact ]
USB disks attached to a Pi experience something like:
[ 494.062055] sd 2:0:0:0: [sda] tag#12 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD
[ 494.069923] sd 2:0:0:0: [sda] tag#12 CDB: Write(10) 2a 00 00 02 6d 4f 00 00 48 00
[ 499.182085] sd 2:0:0:0: [sda] tag#13 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT
[ 499.190310] sd 2:0:0:0: [sda] tag#13 CDB: Write(10) 2a 00 00 02 6d 97 00 00 4d 00
[ 504.302113] sd 2:0:0:0: [sda] tag#19 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT
[ 504.310336] sd 2:0:0:0: [sda] tag#19 CDB: Write(10) 2a 00 00 00 95 da 00 00 01 00
And:
[ 535.538311] scsi host2: uas_eh_device_reset_handler start
[ 535.544699] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 535.554032] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ Test Case ]
See below.
[ Where Problems Could Occur ]
Modifications are limited to the USB host xhci driver so problems will likely show up when accessing devices that use this host driver.
[ Original Description ]
My raspberry pi 4 running Ubuntu 20.04 server is constantly having trouble the the usb controller.
I have 2 externally powered USB hubs connected that have a few HDDs plugged in.
After a seemingly random amount of time (between 1 minute and 2 days) the usb controller will crash completely. No USB devices are detected anymore after that, i have to reboot the system.
I have tried:
* Providing a lot of cooling (metal case + desktop size fan)
* Switching the USB Hubs to a different brand
* Switching the power supply of the USB hubs
* Switching the power supply of the raspberry
Nothing helped, so i concluded that this probably is a kernel bug. I think the USB controller should not crash at the very least.
I've attached my dmesg.
lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
linux-raspi version: 5.4.0.1035.70
uname -a
Linux pi 5.4.0-1035-raspi #38-Ubuntu SMP PREEMPT Tue Apr 20 21:37:03 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
lsusb (after crash)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
---
ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.4.0-1035-raspi.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
ImageMediaBuild: 20210201.1
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci-vt: -[0000:00]---00.0-[01]----00.0 VIA Technologies, Inc. VL805 USB 3.0 Host Controller
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
Package: linux-raspi
PackageArchitecture: arm64
PciMultimedia:
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:1D:06:FE vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
ProcVersionSignature: Ubuntu 5.4.0-1035.38-raspi 5.4.106
RelatedPackageVersions:
linux-restricted-modules-5.4.0-1035-raspi N/A
linux-backports-modules-5.4.0-1035-raspi N/A
linux-firmware 1.187.12
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
StagingDrivers: bcm2835_isp bcm2835_v4l2 bcm2835_mmal_vchiq bcm2835_codec snd_bcm2835 vc_sm_cma
Tags: arm64-image raspi-image focal uec-images staging
Uname: Linux 5.4.0-1035-raspi aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
acpidump: |
|
2021-09-01 17:23:46 |
Jim Basilio |
bug |
|
|
added subscriber Jim Basilio |
2021-09-08 08:50:42 |
Juerg Haefliger |
linux-raspi (Ubuntu Impish): status |
Confirmed |
Fix Committed |
|
2021-09-08 08:50:45 |
Juerg Haefliger |
linux-raspi (Ubuntu Hirsute): status |
Confirmed |
Fix Committed |
|
2021-09-08 08:50:49 |
Juerg Haefliger |
linux-raspi (Ubuntu Focal): status |
Confirmed |
Fix Committed |
|
2021-09-15 15:12:31 |
Ubuntu Kernel Bot |
tags |
apport-collected arm64-image focal raspi-image staging uec-images |
apport-collected arm64-image focal raspi-image staging uec-images verification-needed-hirsute |
|
2021-09-21 12:48:18 |
Ubuntu Kernel Bot |
tags |
apport-collected arm64-image focal raspi-image staging uec-images verification-needed-hirsute |
apport-collected arm64-image focal raspi-image staging uec-images verification-needed-focal verification-needed-hirsute |
|
2021-09-22 02:04:46 |
Launchpad Janitor |
linux-raspi (Ubuntu Impish): status |
Fix Committed |
Fix Released |
|
2021-09-22 02:04:46 |
Launchpad Janitor |
cve linked |
|
2021-3653 |
|
2021-09-22 02:04:46 |
Launchpad Janitor |
cve linked |
|
2021-3656 |
|
2021-09-22 08:59:18 |
Dave Jones |
tags |
apport-collected arm64-image focal raspi-image staging uec-images verification-needed-focal verification-needed-hirsute |
apport-collected arm64-image focal raspi-image staging uec-images verification-done-hirsute verification-needed-focal |
|
2021-09-27 16:07:54 |
Launchpad Janitor |
linux-raspi (Ubuntu Hirsute): status |
Fix Committed |
Fix Released |
|
2021-09-27 16:07:54 |
Launchpad Janitor |
cve linked |
|
2021-41073 |
|
2021-09-28 10:47:52 |
Dave Jones |
tags |
apport-collected arm64-image focal raspi-image staging uec-images verification-done-hirsute verification-needed-focal |
apport-collected arm64-image focal raspi-image staging uec-images verification-done-focal verification-done-hirsute |
|
2021-09-28 15:20:31 |
Launchpad Janitor |
linux-raspi (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|