Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #90622 > unrolled thread
| Started by | james morris <morisja@gmail.com> |
|---|---|
| First post | 2025-12-31 18:20 +0100 |
| Last post | 2026-01-22 14:40 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.kernel
Bug#1124400: update-initramfs no longer includes /lib/modules/<kver>/updates directory james morris <morisja@gmail.com> - 2025-12-31 18:20 +0100
Bug#1124400: Ben Hutchings <ben@decadent.org.uk> - 2026-01-22 14:40 +0100
Processed: Re: Bug#1124400: "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-01-22 14:40 +0100
| From | james morris <morisja@gmail.com> |
|---|---|
| Date | 2025-12-31 18:20 +0100 |
| Subject | Bug#1124400: update-initramfs no longer includes /lib/modules/<kver>/updates directory |
| Message-ID | <M881z-74pB-1@gated-at.bofh.it> |
Package: initramfs-tools Version: 0.148.3 * summary update-initramfs no longer includes /lib/modules/<kver>/updates directory, this means out of tree drivers are not loaded during boot. I could not find reference to this behaviour change in release notes * update-initramfs in debian 12 (initramfs-tools 0.142) includes the updates directory when building initrd.img, example: root@testhost:~# update-initramfs -u -v 2>&1 > /root/update.1 root@testhost:~# grep sfc /root/update.1 Adding module /lib/modules/6.12.51-u1-amd64/kernel/drivers/net/ethernet/sfc/falcon/sfc-falcon.ko.xz Adding module /lib/modules/6.12.51-u1-amd64/updates/dkms/sfc.ko.xz root@testhost:~# lsinitramfs /boot/initrd.img-6.12.51-u1-amd64 | grep sfc usr/lib/modules/6.12.51-u1-amd64/kernel/drivers/net/ethernet/sfc usr/lib/modules/6.12.51-u1-amd64/kernel/drivers/net/ethernet/sfc/falcon usr/lib/modules/6.12.51-u1-amd64/kernel/drivers/net/ethernet/sfc/falcon/sfc-falcon.ko usr/lib/modules/6.12.51-u1-amd64/updates/dkms/sfc.ko Reference : https://man7.org/linux/man-pages/man5/depmod.d.5.html Behaviour aligns to: By default, depmod will give a higher priority to a directory with the name updates * update-initramfs in debian 13 (initramfs-tools 0.148.3) does not include the updates directory, this means the dkms modules are not loaded correctly at boot. # modules are present root@testhost:~# find /lib/modules/6.12.51-u1-amd64/ -type f | grep sfc /lib/modules/6.12.51-u1-amd64/kernel/drivers/net/ethernet/sfc/falcon/sfc-falcon.ko.xz /lib/modules/6.12.51-u1-amd64/kernel/drivers/net/ethernet/sfc/sfc.ko.xz /lib/modules/6.12.51-u1-amd64/updates/dkms/sfc_char.ko.xz /lib/modules/6.12.51-u1-amd64/updates/dkms/sfc_resource.ko.xz /lib/modules/6.12.51-u1-amd64/updates/dkms/sfc.ko.xz root@testhost:~# update-initramfs -uv 2>&1 > /root/update.1 root@testhost:~# grep sfc /root/update.1 <nothing> # eventual initrd.img does not include the modules root@testhost:~# lsinitramfs /boot/initrd.img-6.12.51-u1-amd64 | grep sfc usr/lib/modules/6.12.51-u1-amd64/kernel/drivers/net/ethernet/sfc usr/lib/modules/6.12.51-u1-amd64/kernel/drivers/net/ethernet/sfc/falcon usr/lib/modules/6.12.51-u1-amd64/kernel/drivers/net/ethernet/sfc/falcon/sfc-falcon.ko.xz usr/lib/modules/6.12.51-u1-amd64/kernel/drivers/net/ethernet/sfc/sfc.ko.xz * other A very similar issue was reported here on ubutnu 24.02 ( I believe deb13 based) https://discourse.ubuntu.com/t/update-initramfs-ignores-dkms-module/63923 * workaround My current workaround is to install dracut fully.
[toc] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2026-01-22 14:40 +0100 |
| Subject | Bug#1124400: |
| Message-ID | <Mg34J-crAk-1@gated-at.bofh.it> |
| In reply to | #90622 |
[Multipart message — attachments visible in raw view] — view raw
Control: reassign -1 src:dracut 109-7 On Sun, 2026-01-18 at 15:51 -0500, james morris wrote: > I have traced this to dracut-install, PR submitted to dracut-ng > project via https://github.com/dracut-ng/dracut-ng/issues/2071 So I'm reassigning this to the corresponding Debian packages. Ben. -- Ben Hutchings I'm always amazed by the number of people who take up solipsism because they heard someone else explain it. - E*Borg on alt.fan.pratchett
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2026-01-22 14:40 +0100 |
| Subject | Processed: Re: Bug#1124400: |
| Message-ID | <Mg34J-crAk-7@gated-at.bofh.it> |
| In reply to | #90622 |
Processing control commands: > reassign -1 src:dracut 109-7 Bug #1124400 [initramfs-tools] update-initramfs no longer includes /lib/modules/<kver>/updates directory Bug reassigned from package 'initramfs-tools' to 'src:dracut'. No longer marked as found in versions initramfs-tools/0.148.3. Ignoring request to alter fixed versions of bug #1124400 to the same values previously set Bug #1124400 [src:dracut] update-initramfs no longer includes /lib/modules/<kver>/updates directory Marked as found in versions dracut/109-7. -- 1124400: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1124400 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web