5.4.0-58-generic: Raspberry Pi 3 arm64 occasionally unresponsive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Since upgrading to 5.4.0-56-generic my RPI3 devices started freezing randomly, about once every few hours.
-56, -58 and -59 are affected, reverting *only* the kernel back to -53 got me 3 days without freeze. Diagnostics so far have not turned up anything useful, still busy figuring out cross-compile bisect and a reasonably fast reproduction.
The devices are also known as (/proc/
raspberrypi,
raspberrypi,
I only use them in ARM64 mode, and I only run -generic kernels via Pete Batards EDKII builds.
(unreliable, slow) reproduction:
1. run affected aarch64 kernel
2. set low non-zero /proc/sys/
3. utilize xorg through vc4 kms
4. check dmesg when display freezes
symptom 1 (always the same -62):
13:52:01.832230 kernel: raspberrypi-
13:52:01.839310 kernel: raspberrypi-clk raspberrypi-clk: Failed to change pllb frequency: -62
Note: similar message in Bug 1889637
Exactly one Google search result for the exact message: https:/
symptom 2 (varying hangs):
[Dez15 16:09] INFO: task kworker/2:1:36 blocked for more than 120 seconds.
[ +0,000019] Tainted: G C E 5.4.0-58-generic #64-Ubuntu
[ +0,000004] "echo 0 > /proc/sys/
[ +0,000006] kworker/2:1 D 0 36 2 0x00000028
[ +0,000022] Workqueue: events dbs_work_handler
[ +0,000004] Call trace:
[ +0,000009] __switch_
[ +0,000008] __schedule+
[ +0,000005] schedule+0x40/0xb8
[ +0,000004] schedule_
[ +0,000005] __wait_
[ +0,000005] wait_for_
[ +0,000006] mbox_send_
[ +0,000006] rpi_firmware_
[ +0,000004] rpi_firmware_
[ +0,000010] raspberrypi_
[ +0,000008] clk_change_
[ +0,000004] clk_core_
[ +0,000003] clk_set_
[ +0,000006] dev_pm_
[ +0,000004] set_target+
[ +0,000007] __cpufreq_
[ +0,000004] od_dbs_
[ +0,000003] dbs_work_
[ +0,000006] process_
[ +0,000005] worker_
[ +0,000004] kthread+0xf0/0x118
[ +0,000004] ret_from_
non-kernel-version explanations ruled out:
network adapter is neither idle nor saturated (~32MiB / hour on enxb827eb..)
4 different power supply models, 2 of them bad but not correlated with frequency of hang
swap size & usage obviously does change system responsiveness, but not correlated with frequency of hang
hang reported with & without use of wifi of device or any other device within 1m
hang reported with & without config.txt dtoverlay=
hang reported with cpu_thermal-
hang reported with & without kernel cmdline memtest=2
hang reported with & without kernel cmdline dwc_otg.speed=1
hang reported with firmware-1.20200601 & firmware-1.20201201
hang reported with /proc/device-
hang reported with & without config.txt enable_
hang reported with config.txt boot_delay=2 bootcode_delay=2
hang reported with EFI "rpi3 tianocore 1.27" & "rpi3 tianocore 1.31"
hang reported with 5.4.0-56-generic usually after a few hours of uptime
hang reported with 5.4.0-58-generic usually after a few hours of uptime
hang reported with (hwe-edge) 5.8.0-31-generic usually after a few hours of uptime
hang reported with 5.4.0-59-generic usually after a few hours of uptime
never seen in versions 5.4.0-26-generic through 5.4.0-53-generic, with one notable exception while investigating:
similiar hang reported with 5.4.0-53-generic if and only if attempting to unload i2c_bcm2835 module
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.4.0-58-generic aarch64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.4.0-58-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.
Card1.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card1.Amixer.
CasperMD5CheckR
Date: Tue Dec 15 16:46:43 2020
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci:
Lspci-vt: -[0000:00]-
Lsusb:
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Raspberry Pi Foundation Raspberry Pi 3 Model B
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcFB: 0 vc4drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.187.6
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
StagingDrivers: snd_bcm2835 vchiq
UpgradeStatus: No upgrade log present (probably fresh install)
acpidump:
dmi.bios.date: 11/13/2020
dmi.bios.vendor: https:/
dmi.bios.version: UEFI Firmware v1.31
dmi.board.name: Raspberry Pi 3 Model B
dmi.board.vendor: Sony UK
dmi.board.version: A02082
dmi.chassis.type: 34
dmi.chassis.vendor: Sony UK
dmi.chassis.
dmi.modalias: dmi:bvnhttps/
dmi.product.family: Raspberry Pi
dmi.product.name: Raspberry Pi 3 Model B
dmi.product.sku: 0000000000A02082
dmi.product.
dmi.sys.vendor: Raspberry Pi Foundation
modified.
mtime.conffile.
---
ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.4.0-59-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/seq', '/dev/snd/
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.
CasperMD5CheckR
DistroRelease: Ubuntu 20.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci:
Lspci-vt: -[0000:00]-
Lsusb:
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Raspberry Pi Foundation Raspberry Pi 3 Model B
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcFB: 0 vc4drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.187.6
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
StagingDrivers: snd_bcm2835 vchiq
Tags: focal staging
Uname: Linux 5.4.0-59-generic aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
acpidump:
dmi.bios.date: 11/13/2020
dmi.bios.vendor: https:/
dmi.bios.version: UEFI Firmware v1.31
dmi.board.name: Raspberry Pi 3 Model B
dmi.board.vendor: Sony UK
dmi.board.version: A02082
dmi.chassis.type: 34
dmi.chassis.vendor: Sony UK
dmi.chassis.
dmi.modalias: dmi:bvnhttps/
dmi.product.family: Raspberry Pi
dmi.product.name: Raspberry Pi 3 Model B
dmi.product.sku: 0000000000A02082
dmi.product.
dmi.sys.vendor: Raspberry Pi Foundation
modified.
mtime.conffile.
description: | updated |
affects: | linux (Ubuntu) → linux-raspi (Ubuntu) |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1908423
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.