rpi3b+ becomes unresponsive after closing a program
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
linux-raspi-5.4 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am running ROS2 on this raspberry pi 3B+ that is running as the main computer on a turtlebot3. There is two USB devices connected to the RPi, one is to communicate with the LIDAR and the other is to communicate with the control board, a OpenCR board.
After "bringing the robot up" I open a new shell in tmux, and run `ros2 topic echo battery_state` which starts outputting ROS2 messages to the terminal. Upon ctrl+c'ing out of this, the system become unresponsive. I repeated this while connected to the serial console and captured the error messages that are being output.
Issue I rose on github:
https:/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.4.0-1011-raspi aarch64
ApportVersion: 2.20.11-0ubuntu27
Architecture: arm64
CasperMD5CheckR
Date: Sun May 24 10:31:26 2020
SourcePackage: linux-raspi
UpgradeStatus: No upgrade log present (probably fresh install)
Serial console output:
MMC: mmc@7e202000: 0, mmcnr@7e300000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
In: serial
Out: vidconsole
Err: vidconsole
Net: No ethernet found.
starting USB...
Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
## Info: input data size = 6 = 0x6
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2603 bytes read in 6 ms (422.9 KiB/s)
## Executing script at 02400000
8378005 bytes read in 364 ms (21.9 MiB/s)
Total of 1 halfword(s) were the same
Decompressing kernel...
Uncompressed size: 25905664 = 0x18B4A00
29426757 bytes read in 1262 ms (22.2 MiB/s)
Booting Ubuntu (with booti) from mmc 0:...
## Flattened Device Tree blob at 02600000
Booting using the fdt blob at 0x2600000
Using Device Tree in place at 0000000002600000, end 0000000002609f2f
Starting kernel ...
[ 1.966598] spi-bcm2835 3f204000.spi: could not get clk: -517
ln: /tmp/mountroot-
ext4
Thu Jan 1 00:00:07 UTC 1970
date: invalid date ' Wed Apr 1 17:23:46 2020'
-.mount
dev-mqueue.mount
sys-kernel-
sys-kernel-
kmod-static-
systemd-
systemd-
ufw.service
sys-fs-
sys-kernel-
systemd-
systemd-
systemd-
keyboard-
systemd-
swapfile.swap
lvm2-monitor.
systemd-
systemd-
systemd-
systemd-
[ 14.813759] brcmfmac: brcmf_fw_
[ 15.128676] brcmfmac: brcmf_fw_
[ 15.174878] brcmfmac: brcmf_c_
systemd-
systemd-
netplan-
multipathd.service
[ 17.840942] brcmfmac: brcmf_cfg80211_
systemd-
snap-core18-
snap-core18-
snap-lxd-
snap-lxd-
snap-snapd-
systemd-
boot-firmware.mount
console-
Mounting Arbitrary Executable File Formats File System...
finalrd.service
[ OK ] Finished Tell Plymouth To Write Out Runtime Data.
[ OK ] Mounted Arbitrary Executable File Formats File System.
proc-sys-
[ OK ] Finished Create Volatile Files and Directories.
systemd-
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Finished Enable support for…onal executable binary formats.
binfmt-
[ OK ] Finished Update UTMP about System Boot/Shutdown.
systemd-
[ OK ] Finished Load AppArmor profiles.
apparmor.service
Starting Load AppArmor prof… managed internally by snapd...
[ OK ] Finished Load AppArmor prof…es managed internally by snapd.
snapd.apparmor.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Set.
[ OK ] Reached target System Time Synchronized.
systemd-
[ 25.080879] cloud-init[1148]: Cloud-init v. 20.1-10-
[ OK ] Finished Initial cloud-init job (pre-networking).
[ OK ] Reached target Network (Pre).
cloud-init-
Starting Network Service...
[ OK ] Started Network Service.
systemd-
Starting Wait for Network to be Configured...
Starting Network Name Resolution...
[ OK ] Finished Wait for Network to be Configured.
systemd-
Starting Initial cloud-init…b (metadata service crawler)...
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Host and Network Name Lookups.
systemd-
[ 29.538238] cloud-init[1170]: Cloud-init v. 20.1-10-
[ 29.538788] cloud-init[1170]: ci-info: +++++++
[ 29.540670] cloud-init[1170]: ci-info: +------
[ 29.541896] cloud-init[1170]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 29.543805] cloud-init[1170]: ci-info: +------
[ 29.545298] cloud-init[1170]: ci-info: | eth0 | False | . | . | . | b8:27:eb:89:55:2a |
[ 29.546816] cloud-init[1170]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 29.548589] cloud-init[1170]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 29.550684] cloud-init[1170]: ci-info: | wlan0 | True | 192.168.1.104 | 255.255.255.0 | global | b8:27:xx:dc:xx:xx |
[ 29.552179] cloud-init[1170]: ci-info: | wlan0 | True | fe80::ba27:
[ 29.554004] cloud-init[1170]: ci-info: +------
[ 29.555532] cloud-init[1170]: ci-info: +++++++
[ 29.557284] cloud-init[1170]: ci-info: +------
[ 29.558922] cloud-init[1170]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
[ 29.560561] cloud-init[1170]: ci-info: +------
[ 29.562171] cloud-init[1170]: ci-info: | 0 | 0.0.0.0 | 192.168.1.1 | 0.0.0.0 | wlan0 | UG |
[ 29.564460] cloud-init[1170]: ci-info: | 1 | 192.168.1.0 | 0.0.0.0 | 255.255.255.0 | wlan0 | U |
[ 29.566004] cloud-init[1170]: ci-info: | 2 | 192.168.1.1 | 0.0.0.0 | 255.255.255.255 | wlan0 | UH |
[ 29.567921] cloud-init[1170]: ci-info: +------
[ 29.569529] cloud-init[1170]: ci-info: +++++++
[ 29.571384] cloud-init[1170]: ci-info: +------
[ 29.573242] cloud-init[1170]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[ 29.575341] cloud-init[1170]: ci-info: +------
[ 29.577009] cloud-init[1170]: ci-info: | 1 | fe80::/64 | :: | wlan0 | U |
[ 29.578952] cloud-init[1170]: ci-info: | 3 | local | :: | wlan0 | U |
[ 29.580974] cloud-init[1170]: ci-info: | 4 | ff00::/8 | :: | wlan0 | U |
[ 29.582773] cloud-init[1170]: ci-info: +------
[ OK ] Finished Initial cloud-init job (metadata service crawler).
[ OK ] Reached target Cloud-config availability.
[ OK ] Reached target System Initialization.
cloud-init.service
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started Periodic ext4 Onlin…data Check for All Filesystems.
[ OK ] Started Discard unused blocks once a week.
[ OK ] Started Refresh fwupd metadata regularly.
[ OK ] Started Daily rotation of log files.
[ OK ] Started Daily man-db regeneration.
[ OK ] Started Message of the Day.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Paths.
[ OK ] Reached target Timers.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on Open-iSCSI iscsid Socket.
[ OK ] Listening on Socket unix for snap application lxd.daemon.
Starting Socket activation for snappy daemon.
[ OK ] Listening on UUID daemon activation socket.
[ OK ] Listening on Socket activation for snappy daemon.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Accounts Service...
Starting Avahi mDNS/DNS-SD Stack...
[ OK ] Started D-Bus System Message Bus.
dbus.service
[ OK ] Started Save initial kernel messages after boot.
dmesg.service
Starting Remove Stale Onlin…xt4 Metadata Check Snapshots...
[ OK ] Started irqbalance daemon.
irqbalance.service
Starting Dispatcher daemon for systemd-networkd...
[ OK ] Started Set the CPU Frequency Scaling governor.
ondemand.service
Starting System Logging Service...
Starting Snap Daemon...
Starting Login Service...
Starting WPA supplicant...
[ OK ] Finished Remove Stale Online ext4 Metadata Check Snapshots.
[ OK ] Started System Logging Service.
rsyslog.service
[ OK ] Started WPA supplicant.
wpa_supplicant.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Reached target Network.
avahi-daemon.
[ OK ] Reached target Network is Online.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
Starting LSB: automatic crash report generation...
Starting Deferred execution scheduler...
Starting Availability of block devices...
[ OK ] Started Regular background program processing daemon.
cron.service
Starting Service for snap application lxd.activate...
Starting OpenBSD Secure Shell server...
Starting Permit User Sessions...
[ OK ] Started Deferred execution scheduler.
atd.service
[ OK ] Finished Availability of block devices.
blk-availabilit
[ OK ] Started Login Service.
systemd-
[ OK ] Finished Permit User Sessions.
systemd-
Starting Hold until boot process finishes up...
Starting Terminate Plymouth Boot Screen...
Ubuntu 20.04 LTS whopper ttyS0
whopper login:
[ 379.937717] bcm2835-
[ 379.946532] bcm2835-
[ 379.957445] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 380.993421] bcm2835-
[ 381.002224] bcm2835-
[ 381.002229] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 382.049419] bcm2835-
[ 382.058204] bcm2835-
[ 382.069109] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 383.105431] bcm2835-
[ 383.117817] bcm2835-
[ 383.132371] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 384.161443] bcm2835-
[ 384.173864] bcm2835-
[ 384.188390] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 385.217451] bcm2835-
[ 385.229839] bcm2835-
[ 385.244342] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 386.273448] bcm2835-
[ 386.285902] bcm2835-
[ 386.300457] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 387.333453] bcm2835-
[ 387.345845] bcm2835-
[ 387.360371] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 388.385476] bcm2835-
[ 388.397857] bcm2835-
[ 388.412356] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 389.445471] bcm2835-
[ 389.457865] bcm2835-
[ 389.472366] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 390.117438] mmc0: timeout waiting for hardware interrupt.
[ 390.373441] mmc1: Timeout waiting for hardware interrupt.
[ 390.380828] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -110
[ 390.501480] bcm2835-
[ 390.513696] bcm2835-
[ 390.528025] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 391.553488] bcm2835-
[ 391.565694] bcm2835-
[ 391.580033] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 392.609489] bcm2835-
[ 392.621701] bcm2835-
[ 392.636036] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 393.665497] bcm2835-
[ 393.677717] bcm2835-
[ 393.692057] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 394.725504] bcm2835-
[ 394.737709] bcm2835-
[ 394.752122] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 395.777509] bcm2835-
[ 395.789895] bcm2835-
[ 395.804412] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 400.109498] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 400.117471] rcu: 3-...0: (0 ticks this GP) idle=3ce/
[ 400.353510] mmc0: timeout waiting for hardware interrupt.
[ 400.609504] mmc1: Timeout waiting for hardware interrupt.
[ 400.616877] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -110
[ 410.593565] mmc0: timeout waiting for hardware interrupt.
[ 410.849594] mmc1: Timeout waiting for hardware interrupt.
[ 410.856918] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -110
[ 420.837624] mmc0: timeout waiting for hardware interrupt.
[ 421.089625] mmc1: Timeout waiting for hardware interrupt.
[ 421.096834] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -110
[ 431.073685] mmc0: timeout waiting for hardware interrupt.
[ 431.329691] mmc1: Timeout waiting for hardware interrupt.
[ 431.336803] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -110
[ 441.313750] mmc0: timeout waiting for hardware interrupt.
[ 441.569749] mmc1: Timeout waiting for hardware interrupt.
[ 441.576783] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -110
[ 451.553804] mmc0: timeout waiting for hardware interrupt.
[ 451.809805] mmc1: Timeout waiting for hardware interrupt.
[ 451.816732] brcmfmac: brcmf_sdio_htclk: HT Avail request error: -110
CVE References
description: | updated |
summary: |
- rpi3b becomes unresponsive after closing a program + rpi3b+ becomes unresponsive after closing a program |
description: | updated |
Changed in linux-raspi (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in linux-raspi (Ubuntu Focal): | |
status: | Confirmed → Fix Committed |
Changed in linux-raspi (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux-raspi (Ubuntu): | |
status: | New → Invalid |
no longer affects: | linux-raspi (Ubuntu Bionic) |
no longer affects: | linux-raspi (Ubuntu Bionic) |
no longer affects: | linux-raspi-5.4 (Ubuntu Focal) |
Changed in linux-raspi-5.4 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-raspi-5.4 (Ubuntu Bionic): | |
status: | New → Fix Committed |
Reportedly this was not an issue with 18.04.3, although I cannot say I have personally tried this.