Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #74119 > unrolled thread
| Started by | Ben Dooks <ben.dooks@codethink.co.uk> |
|---|---|
| First post | 2022-01-06 11:50 +0100 |
| Last post | 2023-01-29 17:10 +0100 |
| Articles | 8 — 6 participants |
Back to article view | Back to linux.debian.kernel
Bug#1003210: Linux kernel module loading failing with "failed to validate module" error Ben Dooks <ben.dooks@codethink.co.uk> - 2022-01-06 11:50 +0100
Bug#1003210: Module loading also fails on boot Martijn van de Streek <martijn@vandestreek.xyz> - 2022-01-06 18:50 +0100
Bug#1003210: Wi-Fi, tun, and USB Hard Disks Jan Hasebos <jan@hasebos.net> - 2022-01-08 00:20 +0100
Bug#1003210: Linux kernel module loading failing with "failed to validate module" error Fabian Grünbichler <fabian.gruenbichler@student.tuwien.ac.at> - 2022-01-09 10:00 +0100
Bug#1003210: Linux kernel module loading failing with "failed to validate module" error Jan Hasebos <jan@hasebos.net> - 2022-01-09 21:00 +0100
Bug#1003210: Bug#1021919: virtionet device not found in debian testing netinst ISO 20221017 Cyril Brulebois <kibi@debian.org> - 2022-10-17 14:00 +0200
Bug#1003210: marked as done (Linux kernel module loading failing with "failed to validate module" error) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-01-29 17:10 +0100
Bug#1003210: marked as done (Linux kernel module loading failing with "failed to validate module" error) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-01-29 17:10 +0100
| From | Ben Dooks <ben.dooks@codethink.co.uk> |
|---|---|
| Date | 2022-01-06 11:50 +0100 |
| Subject | Bug#1003210: Linux kernel module loading failing with "failed to validate module" error |
| Message-ID | <DCyvf-72n-3@gated-at.bofh.it> |
Package: linux-image-5.15.0-2-amd64 Version: 5.15.5-2 Dmesg output when mmc card is inserted: [137854.880467] mmc0: cannot verify signal voltage switch [137855.004774] mmc0: new ultra high speed SDR104 SDHC card at address aaaa [137855.009414] BPF: type_id=6 bits_offset=416 [137855.009418] BPF: [137855.009419] BPF:Invalid name [137855.009420] BPF: [137855.009422] failed to validate module [mmc_block] BTF: -22 # cat /etc/debian_version bookworm/sid -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html
[toc] | [next] | [standalone]
| From | Martijn van de Streek <martijn@vandestreek.xyz> |
|---|---|
| Date | 2022-01-06 18:50 +0100 |
| Subject | Bug#1003210: Module loading also fails on boot |
| Message-ID | <DCF3I-2Oe-7@gated-at.bofh.it> |
| In reply to | #74119 |
I'm getting very similar errors on boot, when using an encrypted root
file system on LVM. Because it can't load the necessary modules, the
system does not allow me to enter the password to unlock my drive,
making the system unusable unless I boot an older kernel.
Output of lsblk:
------
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 476,9G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda4 8:4 0 300M 0 part /boot
└─sda5 8:5 0 476,1G 0 part
└─sda6_crypt 254:0 0 476,1G 0 crypt
├─Debian-Swap 254:1 0 14,9G 0 lvm
├─Debian-System 254:2 0 78,6G 0 lvm /
└─Debian-Home 254:3 0 382,6G 0 lvm /home
------
Part of the boot log. Other messages with different values for
"bits_offset" and "type_id" also show up, probably one for each module
that's trying to load.
------
Volume group "Debian" not found
Cannot process volume group Debian
BPF:* type_id=86261 bits_offset=960
BPF:
BPF:Invalid name
BPF:
BPF:* type_id=86261 bits_offset=960
BPF:
BPF:Invalid name
BPF:
modprobe: can't load module dm_mod (kernel/drivers/md/dm-mod.ko):
Invalid argument
BPF:* type_id=86261 bits_offset=960
BPF:
BPF:Invalid name
BPF:
cryptsetup: Waiting for encrypted source device UUID=[snip]...
------
-Martijn
[toc] | [prev] | [next] | [standalone]
| From | Jan Hasebos <jan@hasebos.net> |
|---|---|
| Date | 2022-01-08 00:20 +0100 |
| Subject | Bug#1003210: Wi-Fi, tun, and USB Hard Disks |
| Message-ID | <DD6GB-3la-3@gated-at.bofh.it> |
| In reply to | #74119 |
This seems to be affecting all modules that have a .BTF segment. I cannot connect to Wi-Fi, connect USB hard disks, make tunnels... ----- Wi-Fi ----- [19485.632072] wlp0s20f3: associated [19488.566876] BPF: type_id=44192 bits_offset=1536 [19488.566890] BPF: [19488.566894] BPF:Invalid name [19488.566898] BPF: [19488.566903] failed to validate module [ccm] BTF: -22 [19488.625747] wlp0s20f3: deauthenticating from xx:xx:xx:xx:xx:xx by local choice (Reason: 1=UNSPECIFIED) ----------------- ----- USB HD ----- [23635.967096] usb 2-4: new SuperSpeed USB device number 7 using xhci_hcd [23635.988048] usb 2-4: New USB device found, idVendor=1058, idProduct=25a2, bcdDevice=10.19 [23635.988063] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [23635.988073] usb 2-4: Manufacturer: Western Digital [23636.572415] BPF:[86240] Invalid name_offset:1510398 [23636.572427] failed to validate module [scsi_common] BTF: -22 [23636.628327] BPF:[86240] Invalid name_offset:1510398 [23636.628336] failed to validate module [scsi_common] BTF: -22 ------------------ ----- tun ----- [25017.274185] BPF:[86223] ENUM (anon) [25017.274187] BPF:size=4 vlen=11 [25017.274188] BPF: [25017.274189] BPF:Invalid name [25017.274189] BPF: [25017.274190] failed to validate module [tun] BTF: -22 --------------- -Jan
[toc] | [prev] | [next] | [standalone]
| From | Fabian Grünbichler <fabian.gruenbichler@student.tuwien.ac.at> |
|---|---|
| Date | 2022-01-09 10:00 +0100 |
| Message-ID | <DDCdr-6EU-3@gated-at.bofh.it> |
| In reply to | #74119 |
On Thu, Jan 06, 2022 at 10:18:23AM +0000, Ben Dooks wrote: > Package: linux-image-5.15.0-2-amd64 > Version: 5.15.5-2 > > Dmesg output when mmc card is inserted: > > > [137854.880467] mmc0: cannot verify signal voltage switch > [137855.004774] mmc0: new ultra high speed SDR104 SDHC card at address aaaa > [137855.009414] BPF: type_id=6 bits_offset=416 > [137855.009418] BPF: > [137855.009419] BPF:Invalid name > [137855.009420] BPF: > [137855.009422] failed to validate module [mmc_block] BTF: -22 > > # cat /etc/debian_version > bookworm/sid see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998716 for more info. the workaround: ensure the booted kernel and the on-disk kernel modules are from the same build: either reboot (possibly needs to regenerate initrd first) or downgrade the on-disk kernel to the booted version. TL;DRL: Debian either needs to start bumping ABI for every upload, or hard-disable generating split BTF info for kernel modules
[toc] | [prev] | [next] | [standalone]
| From | Jan Hasebos <jan@hasebos.net> |
|---|---|
| Date | 2022-01-09 21:00 +0100 |
| Message-ID | <DDMwa-4qF-1@gated-at.bofh.it> |
| In reply to | #74138 |
Fabian Grünbichler wrote: >the workaround: ensure the booted kernel and the on-disk kernel modules >are from the same build: either reboot[...] I was reluctant to reboot because the other person couldn't open their root disk anymore, but for me it started up fine, and now I can load modules again. Thank you!
[toc] | [prev] | [next] | [standalone]
| From | Cyril Brulebois <kibi@debian.org> |
|---|---|
| Date | 2022-10-17 14:00 +0200 |
| Subject | Bug#1003210: Bug#1021919: virtionet device not found in debian testing netinst ISO 20221017 |
| Message-ID | <FhwWJ-ePVV-3@gated-at.bofh.it> |
| In reply to | #74119 |
[Multipart message — attachments visible in raw view] — view raw
Hi Laurent, Laurent GUERBY <laurent@guerby.net> (2022-10-17): > Trying to install the testing netinst ISO in a VM (in proxmox): > > https://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-te > sting-amd64-netinst.iso > > The issue is that the installer fails to find an ethernet card which is > there in lspci (virtio ethernet from proxmox). > > Note : same VM under proxmox (just changing the ISO) finds the ethernet > card with officiel debian 11 netinst ISO. I'm seeing BFP issues, similar to those reported here: https://bugs.debian.org/1003210 except for the virtio_net module. Checking /var/lib/dpkg/status, it looks like we have kernel-image from 5.19.11-1 and nic-modules from 5.19.11-1+b1, which would mean kernel and modules from a different build, which was flagged in #1003210 as possibly problematic. Looping in kernel maintainers to get some input, and debian-cd for information given the way testing images are built… Cheers, -- Cyril Brulebois (kibi@debian.org) <https://debamax.com/> D-I release manager -- Release team member -- Freelance Consultant
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2023-01-29 17:10 +0100 |
| Subject | Bug#1003210: marked as done (Linux kernel module loading failing with "failed to validate module" error) |
| Message-ID | <FTipJ-20eq-27@gated-at.bofh.it> |
| In reply to | #74119 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Sun, 29 Jan 2023 16:02:54 +0000 with message-id <E1pMA8s-008Bvg-QI@fasolo.debian.org> and subject line Bug#1022202: fixed in linux 6.1.8-1 has caused the Debian Bug report #1022202, regarding Linux kernel module loading failing with "failed to validate module" error 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 owner@bugs.debian.org immediately.) -- 1022202: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022202 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2023-01-29 17:10 +0100 |
| Subject | Bug#1003210: marked as done (Linux kernel module loading failing with "failed to validate module" error) |
| Message-ID | <FTipJ-20eq-33@gated-at.bofh.it> |
| In reply to | #74119 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Sun, 29 Jan 2023 16:02:54 +0000 with message-id <E1pMA8s-008Bvd-Ox@fasolo.debian.org> and subject line Bug#1003210: fixed in linux 6.1.8-1 has caused the Debian Bug report #1003210, regarding Linux kernel module loading failing with "failed to validate module" error 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 owner@bugs.debian.org immediately.) -- 1003210: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003210 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web