Your message dated Fri, 06 Dec 2019 21:26:56 +0000
with message-id <e1idl7o-0006ve...@fasolo.debian.org>
and subject line Bug#941971: fixed in raspi-firmware 1.20190819-2
has caused the Debian Bug report #941971,
regarding raspi3-firmware: serial console output sent to bluetooth port with 
kernel 5.x
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.)


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

I’ve set the severity high because this MIGHT break hardware,
but it it doesn’t (I don’t know enough to judge) feel free to
classify as less critical.

/etc/kernel/postinst.d/z50-raspi3-firmware contains this gem:

   90   serial="ttyAMA0,115200"
   91   kernelmajor=$(echo "${latest_kernel_basename}" | sed 's,^vmlinuz-,,g' | 
cut -d. -f 1)
   92   kernelminor=$(echo "${latest_kernel_basename}" | cut -d. -f 2)
   93   if [ $kernelmajor -ge 4 ]; then
   94     if [ $kernelminor -ge 14 ]; then
   95       # Since Linux 4.14, /dev/ttyS1 is the UART on the pinheader.
   96       serial="ttyS1,115200"
   97     fi
   98   fi

The intent is to set serial to ttyAMA0 for Linux << 4.14
and to ttyS1 for Linux >= 4.14, but this fails obviously
using the old location for 5.0‥5.13, 6.0‥6.13, …

You’ll wish to use this instead:

        serial="ttyAMA0,115200"
        kernelmajmin=$(($(echo $latest_kernel_basename | sed -n \
            's/^vmlinu.-\([0-9]*\)\.\([0-9]*\)\..*$/\1*1000+\2/p')))
        if test $kernelmajmin -ge 4014; then
                # Since Linux 4.14, /dev/ttyS1 is the UART on the pinheader.
                serial="ttyS1,115200"
        fi

This must be fixed in stable, since the 5.x kernel is in
backports, or at least in unstable and available via backports
and the backports kernel must Breaks the versions prior to this fix.

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

Kernel: Linux 5.2.0-0.bpo.2-arm64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_CRAP
Locale: LANG=C.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

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: raspi-firmware
Source-Version: 1.20190819-2

We believe that the bug you reported is fixed in the latest version of
raspi-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 941...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Romain Perier <romain.per...@gmail.com> (supplier of updated raspi-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: SHA512

Format: 1.8
Date: Thu, 10 Oct 2019 13:18:57 +0200
Source: raspi-firmware
Binary: raspi-firmware raspi3-firmware
Built-For-Profiles: cross nopython nodoc pkg.linux.notools
Architecture: source armhf all
Version: 1.20190819-2
Distribution: unstable
Urgency: medium
Maintainer: pkg-raspi <pkg-raspi-maintain...@lists.alioth.debian.org>
Changed-By: Romain Perier <romain.per...@gmail.com>
Description:
 raspi-firmware - Raspberry Pi family GPU firmware and bootloaders
 raspi3-firmware - transitional package
Closes: 941971
Changes:
 raspi-firmware (1.20190819-2) unstable; urgency=medium
 .
   * Fix serial console output sent to bluetooth port with kernel 5.x.
     Thanks to Thorsten Glaser (Closes: #941971)
Checksums-Sha1:
 9b4cb0964bb60aea866026814c89b04871304242 2211 raspi-firmware_1.20190819-2.dsc
 8b469408b8e87b551033157415c0e05f1e407363 24396 
raspi-firmware_1.20190819-2.debian.tar.xz
 674eed2f908c2c049661f23745bf810420491a21 5957 
raspi-firmware_1.20190819-2_armhf.buildinfo
 2d09271f8ccd18ec1becffe240d59b339a2e3c1b 5713316 
raspi-firmware_1.20190819-2_armhf.deb
 0bae8a23bd6ecca776dae80f5618dc1e40402bf1 10588 
raspi3-firmware_1.20190819-2_all.deb
Checksums-Sha256:
 b246cf6092d08d6205637b902346f5dbb3f37f33ae719030076c070bf26f593f 2211 
raspi-firmware_1.20190819-2.dsc
 20ea426639e8c74d378ad48aed6036f861808dd10693a9321072d3a99f601e07 24396 
raspi-firmware_1.20190819-2.debian.tar.xz
 c4fd077bbb59ed5f33e06a84e419e7f32a111cbc8ae26288cdcd9bf36dcc8ebb 5957 
raspi-firmware_1.20190819-2_armhf.buildinfo
 ca497aed559edc67f0e8df10bcf61cb6a6ef7749db9426858d8eb70a17220252 5713316 
raspi-firmware_1.20190819-2_armhf.deb
 4db7515fe909385913f62ebb718664dfc2242354a4e8a8a4613eb1267a890881 10588 
raspi3-firmware_1.20190819-2_all.deb
Files:
 fb15ac9aaa681c8e10dcec3b0cc824f1 2211 non-free/misc optional 
raspi-firmware_1.20190819-2.dsc
 27bb0a00bd2662c00b508711434794c7 24396 non-free/misc optional 
raspi-firmware_1.20190819-2.debian.tar.xz
 56a188a11cca24982a9a09122077514a 5957 non-free/misc optional 
raspi-firmware_1.20190819-2_armhf.buildinfo
 29084ff5738c325ef75b67d276425873 5713316 non-free/misc optional 
raspi-firmware_1.20190819-2_armhf.deb
 5ce56093ae1423d73dbfebb0e5291701 10588 non-free/oldlibs optional 
raspi3-firmware_1.20190819-2_all.deb

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

iQIzBAEBCgAdFiEEbpWHxyX/nlEWTnf8WhIh6CKeimAFAl3qwggACgkQWhIh6CKe
imC5lw//VoZr8cq33eubUrDnu6nQv1Kt0rxPLLNhuexbPBTTSzxNb/J8+CCbeedH
VnNKVI0H9kJnUotLBsopKmZmAZnhPUZ+dYvepiKKdY6zd/vEqqeqd2DoYuwtKl61
If1kMAH4ZPHuoADaRXr2j/WJJ6mChkpIhYpMvJIUanWwq8KV7S8GSYLupAstSD44
yXeS8Egwv2D2uV4KtlqEt5axFMqRlz+AG3TJ1F25HWQZXBax7uM0hsCIL+ZBopj0
xaJ1cXEK62m1lfYbeDrolZIBddLqv6AEWC28U32i2M2fAV+3ZoTPXQomJSjEuRNV
SvRpIHidBJNHeFiiZJQRLwNG8+raOTCBbDveEG+xSZAbYQKxN/rt9C34HKOvpspY
hXtbsgykNNTcYv7LHvEmsfnIIDav4b83hyqbrqcMTu7nxugCWKK1fn1HwZUdET60
G0tJb9Jish8J2aD55ivuugS5h0vteFoKbCAmSaaFs75judHJDjgVvjpNqVoxQjey
0xVMsfm+4h0ACtszkuk61bw7/lAmgiUbm7W/q1cuQLCccPxkJo/ekS0TNQiuhguF
gO3MBmw3a86Nto45iPb6Z93pMykpD0+dB030z0pKeBYLvVeP4rl5W7/eA2qn7aQe
/R9PuNCBFEDZAKj9Pm9ENy4za+qaCdvtKsDnGjvpZuH4TQhrJ/w=
=jEh+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to