[Pkg-raspi-maintainers] Bug#1040674: config.txt during kernel upgrade spends time in non-bootable state

Joey Hess id at joeyh.name
Sun Jul 9 02:53:05 BST 2023


Package: raspi-firmware
Version: 1.20220830+ds-1
Severity: normal

While upgrading the kernel, my raspberry pi reset and failed to
come back up to a usable state. Serial console showed the last thing
output was the kernel saying it was running init. Investigation of the
SD card found this in config.txt (abbreviated to relevant lines):

kernel=vmlinuz-6.3.0-1-armmp.dpkg-new
initramfs initrd.img-6.1.0-9-armmp

Note the kernel and initrd version mismatch.
(The .dpkg-new being used in there also seems a bit problimatic..)

I had to edit it back to using vmlinuz-6.1.0-9-armmp to fix the problem.

It seems to me that since rpis are known to be rather picky about
power[1], it's especially important to make such a critical thing as a
kernel upgrade not fail if the power goes out.

-- 
see shy jo

[1] Though I suspect mine is just a bad board, since it regularly resets
when under load and was being powered by USB from my laptop, which
should be a good solid power supply.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-raspi-maintainers/attachments/20230708/c4b51850/attachment.sig>


More information about the Pkg-raspi-maintainers mailing list