ULTS 24 linux 6.8.0-22 modules misversioned
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Undecided
|
Kleber Sacilotto de Souza |
Bug Description
I get unexpected symbol versioning errors on loading a WiFi module, both built-in and external:
This is the built-in version:
petal# find /lib/modules/
/lib/modules/
petal# dpkg -S /lib/modules/
linux-modules-
petal# modinfo /lib/modules/
filename: /lib/modules/
license: Dual BSD/GPL
description: Realtek 802.11ac wireless 8821ce driver
author: Realtek Corporation
srcversion: D25FEEBE76FF505
alias: pci:v000010ECd0
alias: pci:v000010ECd0
depends: rtw88_pci,
retpoline: Y
intree: Y
name: rtw88_8821ce
vermagic: 6.8.0-22-generic SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: Build time autogenerated kernel key
sig_key: 6B:5D:B5:
petal# journalctl --since 'Apr 14 15:20:00' --grep rtw _TRANSPORT=kernel |& head -10
Apr 14 15:20:32 petal.ty.sabi.co.uk kernel: rtw_core: disagrees about version of symbol ieee80211_
Apr 14 15:20:32 petal.ty.sabi.co.uk kernel: rtw_core: Unknown symbol ieee80211_
Apr 14 15:20:32 petal.ty.sabi.co.uk kernel: rtw_core: disagrees about version of symbol ieee80211_
Apr 14 15:20:32 petal.ty.sabi.co.uk kernel: rtw_core: Unknown symbol ieee80211_
Apr 14 15:20:32 petal.ty.sabi.co.uk kernel: rtw_core: disagrees about version of symbol ieee80211_
Apr 14 15:20:32 petal.ty.sabi.co.uk kernel: rtw_core: Unknown symbol ieee80211_
Apr 14 15:20:32 petal.ty.sabi.co.uk kernel: rtw_core: disagrees about version of symbol ieee80211_
Apr 14 15:20:32 petal.ty.sabi.co.uk kernel: rtw_core: Unknown symbol ieee80211_
Apr 14 15:20:32 petal.ty.sabi.co.uk kernel: rtw_core: disagrees about version of symbol ieee80211_
Apr 14 15:20:32 petal.ty.sabi.co.uk kernel: rtw_core: Unknown symbol ieee80211_
petal# grep ieee80211_
alias symbol:
petal# find /lib/modules/
/lib/modules/
petal# dpkg -S /lib/modules/
linux-modules-
petal# modinfo /lib/modules/
filename: /lib/modules/
license: GPL
description: IEEE 802.11 subsystem
srcversion: B64ACC886876782
depends: cfg80211,libarc4
retpoline: Y
intree: Y
name: mac80211
vermagic: 6.8.0-22-generic SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: Build time autogenerated kernel key
sig_key: 6B:5D:B5:
sig_hashalgo: sha512
signature: 03:6C:13:
That looks like to me a packaging error, but then I compiled also an unofficial version of the driver from sources:
petal# git remote -v
origin https:/
origin https:/
petal# ls -ld rtw_8821ce.ko
-rw------- 1 root src 609816 Apr 14 21:57 rtw_8821ce.ko
petal# modinfo rtw_8821ce.ko
filename: /usr/src/
license: Dual BSD/GPL
description: Realtek 802.11ac wireless 8821ce driver
author: Realtek Corporation
srcversion: B84BA04B6691B1F
alias: pci:v000010ECd0
alias: pci:v000010ECd0
depends: rtw_pci,rtw_8821c
retpoline: Y
name: rtw_8821ce
vermagic: 6.8.0-22-generic SMP preempt mod_unload modversions
So I rebooted into kernel 5.15.0-102 and 'rtw88_8821ce' seems to work as always:
petal# modprobe rtw88_8821ce
petal# dmesg | tail -3
[81954.635875] rtw_8821ce 0000:01:00.0: sta 22:b0:01:a8:1e:4b with macid 0 left
[81954.736381] rtw_8821ce 0000:01:00.0: stop vif 60:e9:aa:a7:9d:31 on port 0
[81984.525318] rtw_8821ce 0000:01:00.0: Firmware version 24.11.0, H2C version 12
I tried to use '--force-vermagic' and '--force-
My guess is that there is something quite weird going on with 'linux-
Changed in linux (Ubuntu): | |
assignee: | nobody → Kleber Sacilotto de Souza (kleber-souza) |
So there are news after yet another reboot after several hundred package updates, but not of the kernel (AFAIK).
Both 'modprobe rtw88_8821ce' (the "official" modules) and 'modprobe rtw_8821ce' (from 'rtw88_lwfinger') succeed.
I think that the 'kmod' package is the same as before ('kmod_ 31+20240202- 2ubuntu5' ) so I wonder what else has changed.