rpi don't boot with 5.4.0-1004-raspi2

Bug #1868222 reported by mickkael
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-raspi2 (Ubuntu)
Fix Released
Undecided
Balint Harmath
Focal
Fix Released
Undecided
Balint Harmath

Bug Description

-> tested on raspberry 3b+ and 4b
After a fresh install of Ubuntu 20.04 (focal-preinstalled-server-arm64+raspi3.img), the rpi boots normally.
Then execute an apt update/upgrade

The Raspberry doesn't boot (no output on the console)

Reverting the device tree to the previous version resolve the issue (a .bak is kept during the upgrade) (file bcm2710-rpi-3-b-plus.dtb for Raspberry 3b+, bcm2711-rpi-4-b.dtb for Rpi 4b)

package linux-modules-5.4.0-1004-raspi2

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Focal Fossa (development branch)"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

$ dpkg -S bcm2710-rpi-3-b-plus.dtb
linux-modules-5.4.0-1004-raspi2: /lib/firmware/5.4.0-1004-raspi2/device-tree/broadcom/bcm2710-rpi-3-b-plus.dtb
linux-modules-5.4.0-1001-raspi2: /lib/firmware/5.4.0-1001-raspi2/device-tree/broadcom/bcm2710-rpi-3-b-plus.dtb
linux-modules-5.3.0-1017-raspi2: /lib/firmware/5.3.0-1017-raspi2/device-tree/broadcom/bcm2710-rpi-3-b-plus.dtb

$ apt show linux-modules-5.4.0-1004-raspi2
Package: linux-modules-5.4.0-1004-raspi2
Version: 5.4.0-1004.4
Priority: optional
Section: universe/kernel
Source: linux-raspi2
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 176 MB
Download-Size: 29.9 MB
APT-Manual-Installed: no
APT-Sources: http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages
Description: Linux kernel extra modules for version 5.4.0 on ARMv8 SMP
 Contains the corresponding System.map file, the modules built by the
 packager, and scripts that try to ensure that the system is not left in an
 unbootable state after an update.
 .
 Supports Generic processors.
 .
 Geared toward desktop and server systems.
 .
 You likely do not want to install this package directly. Instead, install
 the linux-raspi2 meta-package, which will ensure that upgrades work
 correctly, and that supporting packages are also installed.

Revision history for this message
mickkael (mickkael) wrote :

I have tried the focal-proposed repo.
# echo "deb http://ports.ubuntu.com/ubuntu-ports focal-proposed universe" > /etc/apt/sources.list
$ sudo apt update && sudo apt -t focal-proposed install linux-raspi2 && sudo reboot

Reboot is fine, and the dtb file is the latest version.

-> linux-modules-5.4.0-1006-raspi2 fix the issue. Tested on both rpi4b and rpi3b+

Revision history for this message
Balint Harmath (bharmath) wrote :

The author provided that he resolved the case with an update package.

Changed in linux-raspi2 (Ubuntu):
assignee: nobody → Balint Harmath (bharmath)
status: New → Invalid
Revision history for this message
Juerg Haefliger (juergh) wrote :

@mickkael, Yes, that's a known issue and - as you've noticed - we have a fixed kernel in -proposed. We're still doing final testing before releasing it and building new Focal images.

I'll keep the ticket open until fixed images are available.

Changed in linux-raspi2 (Ubuntu Focal):
status: Invalid → Confirmed
Revision history for this message
Juerg Haefliger (juergh) wrote :

Fixed kernel packages 5.4.0-1006.6 have been released and updated images are available from http://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/current/.

Changed in linux-raspi2 (Ubuntu Focal):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.