🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #2237

Bug#1148115: Confirmed on Cubietruck (armhf), workaround tested successfully

#2237
From: Johannes Schauer Marin Rodrigues
Date: Tue, 03 Nov 2026 23:30
103 lines
5950 bytes
--===============0755327108455999497==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi,

Quoting Hans Heukenkamp (2026-11-02 11:47:18)
> I can confirm this bug on a Cubietruck 3 (Allwinner A20, armhf) running
> Debian 13 Trixie with a kernel from trixie-backports.
>=20
> **Affected packages:**
> - flash-kernel 3.110~bpo13+1
> - linux-image-7.2.11+deb13-armmp-lpae 7.2.11-1~bpo13+1
> - initramfs-tools 0.148.4

you would usually provide this information using BTS control lines and I do=
n't
think it would be correct to mark packages like initramfs-tools to be affec=
ted
by this problem.

> During kernel installation, flash-kernel failed with:
>=20
> ```
> dpkg-query: no packages found matching
> run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return =
code 1
> ```
>=20
> The problem originates in `get_kernel_status()` in `/usr/share/flash-kern=
el/functions`.

You are so far just copying what I said in my original bug report. Do you
intend to confirm what I said or am I missing any detail you wanted to add?

> The function uses `dpkg-query --search` to identify the package owning `/=
boot/vmlinuz-$version`. With the new split kernel packaging, this file is n=
o longer owned by a package. Instead, `linux-binary-7.2.11+deb13-armmp-lpae=
` provides the kernel binary at:
>=20
> ```
> /usr/lib/modules/7.2.11+deb13-armmp-lpae/vmlinuz
> ```

Yes, that's what my original report already said. Why do you repeat this?

> I implemented a local workaround in `get_kernel_status()` that retains th=
e existing package lookup and falls back to `/usr/lib/modules/$ver/vmlinuz`=
 if the first lookup returns no package.

Okay, what is your local workaround? Do you mind sharing your solution?

Did you try out my patch?

>=20
> **Results:**
> - `flash-kernel` completed successfully.
> - `dpkg --configure -a` completed without errors.
> - Both `flash-kernel` and `initramfs-tools` are fully configured.
> - The regenerated `boot.scr` successfully booted Linux 7.2.11 on the Cubi=
etruck.
>=20
> The running kernel is now:
>=20
> ```
> Linux cubie 7.2.11+deb13-armmp-lpae #1 SMP Debian 7.2.11-1~bpo13+1 (2026-=
10-18) armv7l GNU/Linux
> ```
>=20
> This confirms that the fallback lookup resolves the installation failure =
and that the resulting kernel boots successfully on real armhf hardware.

What "fallback lookup" are you talking about here? You didn't share what you
actually changed and what led to a resolution of your problem.

Am I talking to an LLM?

cheers, josch
--===============0755327108455999497==
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: signature
Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

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

iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmrqbK4ACgkQ8sulx4+9
g+ExfRAAijCwe5FQmUwunWj1b2rBrXz+IvFKrN9QYSkwXrSYJX73YzkGAIPUezcQ
/J78D69fXO8r/dVjeH8jMyPLFzZKBWwXRZKteNdCxfylFerdCJAP6hXCvUgaCkvn
eDBeFTb5p6ads7JWmug47SE71IYoqTXDzKSphmuXdlifoj6dJFHYKYJc1VecN0SF
Jya8K6nPogAiTnJ0nJsQfMCgw471+MMmSgDN947zcsEkssL7Gamz2pITD7Fm/hiY
sPaOfhYGbO3GNyu6OhAGXy8vm2dFdRIl5h5LhSpOpiXpj5xM1RiUyV5ix737tzV0
ZIBBnwdFHxGsfyNpjSp5ILZRejcVqcRdKch8RoHyc3DD8bhSy9+/1PdQhei4J+1M
Sbb6bXv47jgS2+cbV6dQGsOb1u973hXvlYFbI6ftRLGFmqfUzClSAkSECGI5bQbL
MgyfXqxrgLSgyS1n4+6YXyeywaTV8QlOyxABz3Q7KmsbM5/KZWK+qNAZ1rfNQuJd
6+a6xjoEoHoCEYHLKwtVKBaF/l76MLSzw+PtZ6RWzOdOnLYAHIBbm++TD43CGdfX
LV1OxU9GEAymMvVTTm/lAW2Rk3l6NQ9JDen16MvsaZzurxI4oJQ5JRLDOEa01LJN
PpudFIlEwYnP4tfAh7ZMB+6btbTIvnJc6Lrap0tsV6wsWszWUK4=
=mtD+
-----END PGP SIGNATURE-----

--===============0755327108455999497==--
Technical Details
Message-ID: <NVw6Z-9GWp-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NEe6t-579-1@gated-at.bofh.it> <NUXLX-9oeb-5@gated-at.bofh.it> <NEe6t-579-1@gated-at.bofh.it> <NUXLX-9oeb-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Johannes Schauer Marin Rodrigues <josch@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1148115: Confirmed on Cubietruck (armhf), workaround tested successfully
Date: Wed, 04 Nov 2026 00:30:01 +0100
Message-ID: <NVw6Z-9GWp-1@gated-at.bofh.it>
References: <NEe6t-579-1@gated-at.bofh.it> <NUXLX-9oeb-5@gated-at.bofh.it> <NEe6t-579-1@gated-at.bofh.it> <NUXLX-9oeb-5@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <1148115@bugs.debian.org>, Hans Heukenkamp <hans.heukenkamp@microdoc.com>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Tue Nov  3 23:25:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Johannes Schauer Marin Rodrigues <josch@debian.org>, 1148115@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-boot@lists.debian.org
X-Debian-Pr-Message: followup 1148115
X-Debian-Pr-Package: flash-kernel
X-Debian-Pr-Keywords: forky sid patch
X-Debian-Pr-Source: flash-kernel
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="===============0755327108455999497=="
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: alot/0.0.0
X-Debian-User: josch
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/837018
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 103
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 04 Nov 2026 00:22:25 +0100
X-Original-Message-ID: <179374814595.684046.5734530410262040592@localhost>
X-Original-References: <178962708079.8055.15555373853163272828.reportbug@localhost> <179361643860.719.10007441352946016594.reportbug@cubie.bln.microdoc.intern> <178962708079.8055.15555373853163272828.reportbug@localhost> <179361643860.719.10007441352946016594.reportbug@cubie.bln.microdoc.intern>