Your message dated Mon, 12 Jan 2026 16:33:22 +0000
with message-id <[email protected]>
and subject line Bug#1125327: fixed in flash-kernel 3.110
has caused the Debian Bug report #1125327,
regarding since linux 6.18, flash-kernel fails to find dtbs in
/usr/lib/linux-image-*
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 [email protected]
immediately.)
--
1125327: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125327
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: flash-kernel
Version: 3.109
Severity: serious
Tags: patch
X-Debbugs-Cc: [email protected], [email protected]
Hi,
this is a bug for this (merged) MR on salsa:
https://salsa.debian.org/installer-team/flash-kernel/-/merge_requests/80
From the MR/commit description:
> Since Debian Linux commit 85b86360b6e4c1c63a698aa98edbdec963d72ebe,
> /usr/lib/linux-image-$kvers is a symlink to /lib/modules/$kvers/dtb and
> without -H, find will not traverse into it.
I'm not the best person to file this bug because the platforms I have here
(imx8mq, rk3588, a311d, ls1028a, imx8m+) are all not supported by flash-kernel,
so I can only use them with flash-kernel with a patched machine file. This is
why you will see a strange version in my logs.
I am maintaining a Debian "derivative" (we only patch five packages) for the
MNT Reform open hardware laptops and one of the packages we patch is
flash-kernel. We also patch it with the patch from above MR and this is what
convinces me that that MR fixes this problem.
Without that patch, we see this:
Preparing to unpack
…/flash-kernel_3.109+reform20250506T203207Z~bpo13+1_arm64.deb…
Unpacking flash-kernel (3.109+reform20250506T203207Z~bpo13+1) over (3.109)…
Setting up initramfs-tools (0.150)…
update-initramfs: deferring update (trigger activated)
Setting up flash-kernel (3.109+reform20250506T203207Z~bpo13+1)…
Using DTB: rockchip/rk3588-mnt-pocket-reform.dtb
flash-kernel: deferring update (trigger activated)
Processing triggers for man-db (2.13.1-1)…
Processing triggers for initramfs-tools (0.150)…
update-initramfs: Generating /boot/initrd.img-6.18.3-mnt-reform-arm64
Using DTB: rockchip/rk3588-mnt-pocket-reform.dtb
Couldn't find DTB rk3588-mnt-pocket-reform.dtb in
/usr/lib/linux-image-6.18.3-mnt-reform-arm64
or /etc/flash-kernel/dtbs
Installing into
/boot/dtbs/6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb
cp: cannot stat '': No such file or directory
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
old initramfs-tools package postinst maintainer script subprocess failed with
exit status 1
Errors were encountered while processing:
initramfs-tools
Error: Sub-process /usr/bin/dpkg returned an error code (1)
We can investigate why that is by looking at the sh -x output:
+ [ MNT Pocket Reform with RCORE RK3588 Module = MNT Pocket Reform with RCORE
RK3588 Module ]
+ state=gotmachine
+ [ gotmachine = fields ]
+ [ gotmachine = gotmachine ]
+ [ gotmachine != gotmachine ]
+ read field value
+ [ gotmachine = machine ]
+ [ gotmachine = fields ]
+ [ gotmachine = gotmachine ]
+ state=fields
+ read field value
+ [ fields = machine ]
+ [ fields = fields ]
+ echo rockchip/rk3588-mnt-pocket-reform.dtb
+ return 0
+ local field=rockchip/rk3588-mnt-pocket-reform.dtb
+ dtb_name=rockchip/rk3588-mnt-pocket-reform.dtb
+ [ -n rockchip/rk3588-mnt-pocket-reform.dtb ]
+ echo Using DTB: rockchip/rk3588-mnt-pocket-reform.dtb
Using DTB: rockchip/rk3588-mnt-pocket-reform.dtb
+ dirname rockchip/rk3588-mnt-pocket-reform.dtb
+ dtb_dir=rockchip
+ basename rockchip/rk3588-mnt-pocket-reform.dtb
+ dtb_name=rk3588-mnt-pocket-reform.dtb
+ [ -n ]
+ linux-version list
+ linux-version sort
+ tail -1
+ latest_version=6.18.3-mnt-reform-arm64
+ [ -n ]
+ [ -z ]
+ [ -n ]
+ [ no = yes ]
+ kvers=6.18.3-mnt-reform-arm64
+ handle_dtb
+ [ xrk3588-mnt-pocket-reform.dtb = x ]
+
dtbfile=/boot/dtbs/6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb
+ local dtb
+ [ x = xpostrm.d ]
+ find_dtb_file
+ local dtb
+ find /etc/flash-kernel/dtbs -name rk3588-mnt-pocket-reform.dtb
+ head -n 1
+ dtb=
+ [ -z ]
+ find /usr/lib/linux-image-6.18.3-mnt-reform-arm64 -name
rk3588-mnt-pocket-reform.dtb
+ head -n 1
+ dtb=
+ [ ! -f ]
+ error Couldn't find DTB rk3588-mnt-pocket-reform.dtb in
/usr/lib/linux-image-6.18.3-mnt-reform-arm64 or /etc/flash-kernel/dtbs
+ echo Couldn't find DTB rk3588-mnt-pocket-reform.dtb in
/usr/lib/linux-image-6.18.3-mnt-reform-arm64 or /etc/flash-kernel/dtbs
Couldn't find DTB rk3588-mnt-pocket-reform.dtb in
/usr/lib/linux-image-6.18.3-mnt-reform-arm64 or /etc/flash-kernel/dtbs
+ exit 1
+ local dtb=
+ echo Installing into
/boot/dtbs/6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb
Installing into
/boot/dtbs/6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb
+ mkdir -p /boot/dtbs/6.18.3-mnt-reform-arm64/rockchip
+ cp
/boot/dtbs/6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb.new
cp: cannot stat '': No such file or directory
The problem is, that "find /usr/lib/linux-image-6.18.3-mnt-reform-arm64" sees
a symlink and will not descend into it. This is why the problem is fixed by
adding the -H flag to find. With that flag in place we get:
Unpacking flash-kernel (3.109+reform20260112T074539Z+1) over
(3.109+reform20250826T191649Z+1)…
Setting up initramfs-tools (0.150)…
update-initramfs: deferring update (trigger activated)
Setting up flash-kernel (3.109+reform20260112T074539Z+1)…
Using DTB: rockchip/rk3588-mnt-pocket-reform.dtb
flash-kernel: deferring update (trigger activated)
Processing triggers for man-db (2.13.1-1)…
Processing triggers for initramfs-tools (0.150)…
update-initramfs: Generating /boot/initrd.img-6.18.3-mnt-reform-arm64
Using DTB: rockchip/rk3588-mnt-pocket-reform.dtb
Installing
/usr/lib/linux-image-6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb
into /boot/dtbs/6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb
Installing new rk3588-mnt-pocket-reform.dtb.
flash-kernel: installing version 6.18.3-mnt-reform-arm64
Generating boot script u-boot image... done.
Installing new boot.scr.
Processing triggers for flash-kernel (3.109+reform20260112T074539Z+1)…
Using DTB: rockchip/rk3588-mnt-pocket-reform.dtb
Installing
/usr/lib/linux-image-6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb
into /boot/dtbs/6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb
Taking backup of rk3588-mnt-pocket-reform.dtb.
Installing new rk3588-mnt-pocket-reform.dtb.
flash-kernel: installing version 6.18.3-mnt-reform-arm64
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
And as expected the dtb gets copied to where it should be:
m@m:~$ find /boot/dtbs/
/boot/dtbs/
/boot/dtbs/6.18.3-mnt-reform-arm64
/boot/dtbs/6.18.3-mnt-reform-arm64/rockchip
/boot/dtbs/6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb.bak
/boot/dtbs/6.18.3-mnt-reform-arm64/rockchip/rk3588-mnt-pocket-reform.dtb
/boot/dtbs/6.18.3-mnt-reform-arm64/rk3588-mnt-pocket-reform.dtb
Thanks!
cheers, josch
--- End Message ---
--- Begin Message ---
Source: flash-kernel
Source-Version: 3.110
Done: Ben Hutchings <[email protected]>
We believe that the bug you reported is fixed in the latest version of
flash-kernel, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ben Hutchings <[email protected]> (supplier of updated flash-kernel 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 12 Jan 2026 17:10:12 +0100
Source: flash-kernel
Architecture: source
Version: 3.110
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <[email protected]>
Changed-By: Ben Hutchings <[email protected]>
Closes: 1102690 1125327
Changes:
flash-kernel (3.110) unstable; urgency=medium
.
[ Ben Hutchings ]
* Team upload
.
[ Holger Wansing ]
* Change d/copyright, to remove FSF's (outdated) postal address.
.
[ Johannes Schauer Marin Rodrigues ]
* db/all.db: add MNT Reform 2 with BPI-CM4 Module
* Run find with -H because /usr/lib/linux-image-$kvers might be a symlink
(Closes: #1125327)
.
[ Dave Jones ]
* Always run flash-kernel
* Avoid a double run of handle_dtb and --force with no kvers
(Closes: #1102690)
* Defer if selected kernel is not fully "installed"
.
[ D-I role ]
* [l10n] Commit changed/added po files (from l10n-sync run at dillon)
Checksums-Sha1:
a29632968b0cced71c0c72c6c839b1d537af390d 1913 flash-kernel_3.110.dsc
04f348fd6fdf543e694ec5f187a05d3f6d9aa9e7 79316 flash-kernel_3.110.tar.xz
42385438876841f0fe7f1c102b82303ce3670e56 6365
flash-kernel_3.110_source.buildinfo
Checksums-Sha256:
6dfb92e1a0ce4ab015b541de46ad78c0e340a04a36141515da00dee8625cebcc 1913
flash-kernel_3.110.dsc
edaac8a04a6bba6ee1b2127d93508bf8fff4f921b5821ece3504573652936ecf 79316
flash-kernel_3.110.tar.xz
6cf9b39b818e5d1bb7472370eb83510664ee93366cf295060a5b63d30fba737c 6365
flash-kernel_3.110_source.buildinfo
Files:
7d70d7e21e82418a20010b66d8133394 1913 utils optional flash-kernel_3.110.dsc
f0895e8e02cb82d42721a58066faef8e 79316 utils optional flash-kernel_3.110.tar.xz
0a2d46fbd9ef4f492a2e2ccdd30f2a25 6365 utils optional
flash-kernel_3.110_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmllHeYACgkQ57/I7JWG
EQlmHg//cTNHDM4Fb7zy1n54L33ZYrS4XSwJAKL7Jf/rfz7TCNFs9cO3zxguXy7s
T3pcBrxZTwo4RDY4eI1yHCxQ5Nq2VDIeZhjiyF7ta0B9YOzfvdgL+yYRLHRnA1C0
GlJ+u36FsNnP0Uu5XIOKvRYHJ6x0AUSLY973z73gU6vCDSvAsvJXYWMiV13NBFd3
u0/0/pdgszV9J8WMerYLgDr/7FcJo5Sf+5MJFDdIclJDjtivnDjous367PSb5e4c
oO3GqP3yGxV7+rOxmooJxsIK6U0DewYeUp5II8NItuCWF62tGLX6lYogOeXaaS82
ThfCKKCmAVNk6CvJfzrVovy7h8rMHq3coS5f28pXDHi1whSc435e6dywAZ8uQsx+
88Y5GwtnVAh2CDU7L/Kycj9ObbPvFA/FTDIri8OUDZyPbTd5E+MbKAUHHrtk88uO
p+2AclX9NchumoYeNIHzpIyQWDjJ427bCJbMpGmoC+6FKgLo1Bl3ZHyRpa5G5JLH
liI3vTvr/0iNHJ0cujEVM8V2gL3uo3Fh8S9uRHM2RAWwv59qioiEGqwdhhssmXRS
5V2pSk/TyBahmVOHGoj4pR3kKgpc07sIopJhupuVl91/80T2VnKyW9ewdLrV5hKp
2SZgAua5I5wrzO9lLXeYlW7M3sMuV89QSdAP67VQ9l57pI5a5Rs=
=Qly7
-----END PGP SIGNATURE-----
pgpvpUS5YD8WA.pgp
Description: PGP signature
--- End Message ---