Your message dated Thu, 09 Jul 2020 19:32:14 +0000
with message-id <e1jtchg-0001f8...@fasolo.debian.org>
and subject line Bug#961377: fixed in raspi3-firmware 1.20190215-1+deb10u4
has caused the Debian Bug report #961377,
regarding raspi3-firmware: recent stable update causes non-booting systems
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
961377: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961377
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: raspi3-firmware
Version: 1.20190215-1+deb10u3
Severity: critical
Tags: patch buster
Justification: breaks the whole system

/etc/kernel/postinst.d/z50-raspi3-firmware in +deb10u3 contains:

   67   for dtn in ${dtb_path}/bcm*.dtb; do
   68     [ -e "${dtb}" ] && cp "${dtb}" /boot/firmware/
   69   done

It’s hard to see, a typo, and not in unstable (where commit
165f43a6ca14d240f199e8ab8924e503ca5f427d got it right), but
commit fc3df0e8c64c2c62a54e0efcd226e36f28ccd3a4 uses “dtn”,
not “dtb”, as for variable, but refers to “dtb”.

This causes creation of systems that cannot boot (user error
description “[…] but when I install the SD card on the Pi and
boot it, I end up with this multicolored starting screen. It
does not go any further.”) which is really tricky to debug.

The following patch causes the four files…
-rwxr-xr-x 1 root root    13593 May 23 20:53 bcm2837-rpi-3-a-plus.dtb
-rwxr-xr-x 1 root root    13637 May 23 20:53 bcm2837-rpi-3-b-plus.dtb
-rwxr-xr-x 1 root root    13445 May 23 20:53 bcm2837-rpi-3-b.dtb
-rwxr-xr-x 1 root root    13433 May 23 20:53 bcm2837-rpi-cm3-io3.dtb
… to show up in /boot/firmware/ and should (I cannot boot-test
it currently) therefore fix this problem:


diff --git a/debian/kernel/postinst.d/z50-raspi3-firmware 
b/debian/kernel/postinst.d/z50-raspi3-firmware
index 5d3dd8e..04ebb1d 100755
--- a/debian/kernel/postinst.d/z50-raspi3-firmware
+++ b/debian/kernel/postinst.d/z50-raspi3-firmware
@@ -64,7 +64,7 @@ else
 fi
 
 if [ "$KERNEL" = "auto" ]; then
-  for dtn in ${dtb_path}/bcm*.dtb; do
+  for dtb in ${dtb_path}/bcm*.dtb; do
     [ -e "${dtb}" ] && cp "${dtb}" /boot/firmware/
   done
 


-- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.5.0-1-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages raspi3-firmware depends on:
ii  dosfstools  4.1-2

raspi3-firmware recommends no packages.

raspi3-firmware suggests no packages.

-- Configuration Files:
/etc/default/raspi3-firmware changed:
CMA=128M


-- no debconf information

--- End Message ---
--- Begin Message ---
Source: raspi3-firmware
Source-Version: 1.20190215-1+deb10u4
Done: Gunnar Wolf <gw...@debian.org>

We believe that the bug you reported is fixed in the latest version of
raspi3-firmware, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 961...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gunnar Wolf <gw...@debian.org> (supplier of updated raspi3-firmware package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 24 May 2020 15:56:47 -0500
Source: raspi3-firmware
Architecture: source
Version: 1.20190215-1+deb10u4
Distribution: buster
Urgency: medium
Maintainer: pkg-raspi <pkg-raspi-maintain...@lists.alioth.debian.org>
Changed-By: Gunnar Wolf <gw...@debian.org>
Closes: 961377
Changes:
 raspi3-firmware (1.20190215-1+deb10u4) buster; urgency=medium
 .
   * Fixes ugly typo that _still_ caused unbootable systems :-( Thanks to
     Thorsten Glaser for a sharp set of eyes! (Closes: #961377)
   * Updated Vcs-Git, Vcs-Browser
Checksums-Sha1:
 44d39ffd790426983810d06601053f131bd6014e 1573 
raspi3-firmware_1.20190215-1+deb10u4.dsc
 de60241e2024a00b9e26f6dc659560e4e7e3ee28 23468 
raspi3-firmware_1.20190215-1+deb10u4.debian.tar.xz
 d8ab017154290f4c9944796298790197510bf1bc 6537 
raspi3-firmware_1.20190215-1+deb10u4_source.buildinfo
Checksums-Sha256:
 c5c7b8fdfb5c1ba75a2bcad3413b2c2ce7dbe57fba923744f6fa33442f03bd9f 1573 
raspi3-firmware_1.20190215-1+deb10u4.dsc
 e415bff6e382701ccfab6eedca9cd58013dfc20fb7332e06414df3521bef1709 23468 
raspi3-firmware_1.20190215-1+deb10u4.debian.tar.xz
 544d1a3803b25f3b9a260f04ffc3e07c9e832fa82ceb6aa2e6b5df94aa5f58e1 6537 
raspi3-firmware_1.20190215-1+deb10u4_source.buildinfo
Files:
 c9eea3638e3a1724458a73313997be1e 1573 non-free/misc optional 
raspi3-firmware_1.20190215-1+deb10u4.dsc
 06e80789fe6232060df3fabb6d73b8b7 23468 non-free/misc optional 
raspi3-firmware_1.20190215-1+deb10u4.debian.tar.xz
 28726d00a23d686ae740c8e25bfe2bda 6537 non-free/misc optional 
raspi3-firmware_1.20190215-1+deb10u4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQRgswk9lhCOXLlxQu/i9jtDU/RZiQUCXwO4AgAKCRDi9jtDU/RZ
iWd6AP9irY9lU8r6ER5deoXCZw+q9E2/n2fnjpNktB4sL7/cZwD/RTsrNF4eVheu
HQ31txv1WKxQ4XJdObm0btbzbbT3Dgk=
=zHaP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to