Article View: linux.debian.ports.arm
Article #8Bug#1148115: Confirmed on Cubietruck (armhf), workaround tested successfully
From: Hans Heukenkamp
Date: Mon, 02 Nov 2026 10:50
Date: Mon, 02 Nov 2026 10:50
60 lines
4197 bytes
4197 bytes
Package: flash-kernel Version: flash-kernel Followup-For: Bug #1148115 X-Debbugs-Cc: debian-arm@lists.debian.org, hans.heukenkamp@microdoc.com User: debian-arm@lists.debian.org Usertags: armhf Dear Maintainer, I can confirm this bug on a Cubietruck 3 (Allwinner A20, armhf) running Debian 13 Trixie with a kernel from trixie-backports. **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 During kernel installation, flash-kernel failed with: ``` dpkg-query: no packages found matching run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 ``` The problem originates in `get_kernel_status()` in `/usr/share/flash-kernel/functions`. The function uses `dpkg-query --search` to identify the package owning `/boot/vmlinuz-$version`. With the new split kernel packaging, this file is no longer owned by a package. Instead, `linux-binary-7.2.11+deb13-armmp-lpae` provides the kernel binary at: ``` /usr/lib/modules/7.2.11+deb13-armmp-lpae/vmlinuz ``` I implemented a local workaround in `get_kernel_status()` that retains the existing package lookup and falls back to `/usr/lib/modules/$ver/vmlinuz` if the first lookup returns no package. **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 Cubietruck. The running kernel is now: ``` Linux cubie 7.2.11+deb13-armmp-lpae #1 SMP Debian 7.2.11-1~bpo13+1 (2026-10-18) armv7l GNU/Linux ``` This confirms that the fallback lookup resolves the installation failure and that the resulting kernel boots successfully on real armhf hardware. -- System Information: Debian Release: 13.7 APT prefers stable APT policy: (900, 'stable'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing') Architecture: armhf (armv7l) Kernel: Linux 7.2.11+deb13-armmp-lpae (SMP w/2 CPU threads) Kernel taint flags: TAINT_CRAP Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
Technical Details
Message-ID:
<NUXLX-9oeb-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NEe6t-579-1@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!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Hans Heukenkamp <hans.heukenkamp@microdoc.com> Newsgroups: linux.debian.bugs.dist,linux.debian.ports.arm,linux.debian.maint.boot Subject: Bug#1148115: Confirmed on Cubietruck (armhf), workaround tested successfully Date: Mon, 02 Nov 2026 11:50:01 +0100 Message-ID: <NUXLX-9oeb-5@gated-at.bofh.it> References: <NEe6t-579-1@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <1148115@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 2 10:49:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.65 Reply-To: Hans Heukenkamp <hans.heukenkamp@microdoc.com>, 1148115@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-arm@lists.debian.org, hans.heukenkamp@microdoc.com, 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: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000219 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 60 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 02 Nov 2026 11:47:18 +0100 X-Original-Message-ID: <179361643860.719.10007441352946016594.reportbug@cubie.bln.microdoc.intern> X-Original-References: <178962708079.8055.15555373853163272828.reportbug@localhost>