[Pkg-raspi-maintainers] Bug#1041096: raspi-firmware: kernel removal can render raspi unbootable

Andreas Kloeckner inform at tiker.net
Fri Jul 14 21:52:24 BST 2023


Package: raspi-firmware
Version: 1.20230405+ds-1
Severity: important

Dear Maintainer,

When removing a no-longer-in-use kernel recently, the raspi-firmware
postrm script, presumably the fact that this line [1] is not executed
on kernel removals, left me with a /boot/firmware/config.txt containing
the line

kernel=auto

which in turn left the Raspi (Model 4B in case it matters) firmware
very confused, and the machine unbootable.

Andreas

[1] https://salsa.debian.org/debian/raspi-firmware/-/blob/9cafcd85f8aed1ec0c0f609b98af591fae367ba2/debian/kernel/postinst.d/z50-raspi-firmware#L128


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'stable-security'), (500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages raspi-firmware depends on:
ii  dosfstools  4.2-1
ii  dpkg        1.21.22

raspi-firmware recommends no packages.

Versions of packages raspi-firmware suggests:
pn  bluez-firmware         <none>
pn  firmware-brcm80211     <none>
ii  firmware-misc-nonfree  20230515-3



More information about the Pkg-raspi-maintainers mailing list