Impact:
jammy:linux-kvm does not have CONFIG_CFG80211 enabled.
Module rtl8821ce-dkms requires it, otherwise build will fail.
Build was not performed before because of this rule:
# Only build on wifi enabled kernels
if ! grep -q '^CONFIG_CFG80211=[ym]$' $kernel_source_dir/.config; then
BUILD_EXCLUSIVE_KERNEL="^$"
fi
But in the last update: 5.5.2.1-0ubuntu11~0.22.04.1 this was overridden by
BUILD_EXCLUSIVE_KERNEL="^5.15.*"
instead of appending the new exclude rule.
This lead to new regression in autopkgtest for jammy:linux-kvm-5.15.0-1029.34.
Fix
Append the last rule:
BUILD_EXCLUSIVE_KERNEL+=" ^5.15.*"
Tescase
autopkgtest rtl8821ce fails during build with the error from below
[SRU Justification]
Impact:
jammy:linux-kvm does not have CONFIG_CFG80211 enabled.
Module rtl8821ce-dkms requires it, otherwise build will fail.
Build was not performed before because of this rule:
# Only build on wifi enabled kernels CFG80211= [ym]$' $kernel_ source_ dir/.config; then _KERNEL= "^$"
if ! grep -q '^CONFIG_
BUILD_EXCLUSIVE
fi
But in the last update: 5.5.2.1- 0ubuntu11~ 0.22.04. 1 this was overridden by _KERNEL= "^5.15. *"
BUILD_EXCLUSIVE
instead of appending the new exclude rule.
This lead to new regression in autopkgtest for jammy:linux- kvm-5.15. 0-1029. 34.
Fix
Append the last rule:
BUILD_EXCLUSIVE _KERNEL+ =" ^5.15.*"
Tescase
autopkgtest rtl8821ce fails during build with the error from below
Regression potential: rx_mgmt_ khz" [/var/lib/ dkms/rtl8821ce/ 5.5.2.1/ build/rtl8821ce .ko] undefined! mgmt_tx_ status" [/var/lib/ dkms/rtl8821ce/ 5.5.2.1/ build/rtl8821ce .ko] undefined! apply_custom_ regulatory" [/var/lib/ dkms/rtl8821ce/ 5.5.2.1/ build/rtl8821ce .ko] undefined! alloc_reply_ skb" [/var/lib/ dkms/rtl8821ce/ 5.5.2.1/ build/rtl8821ce .ko] undefined! dkms/rtl8821ce/ 5.5.2.1/ build/rtl8821ce .ko] undefined! inform_ bss_frame_ data" [/var/lib/ dkms/rtl8821ce/ 5.5.2.1/ build/rtl8821ce .ko] undefined! unlink_ bss" [/var/lib/ dkms/rtl8821ce/ 5.5.2.1/ build/rtl8821ce .ko] undefined! connect_ done" [/var/lib/ dkms/rtl8821ce/ 5.5.2.1/ build/rtl8821ce .ko] undefined! dkms/rtl8821ce/ 5.5.2.1/ build/rtl8821ce .ko] undefined! dkms/rtl8821ce/ 5.5.2.1/ build/rtl8821ce .ko] undefined! Makefile. modpost: 133: /var/lib/ dkms/rtl8821ce/ 5.5.2.1/ build/Module. symvers] Error 1 dkms/rtl8821ce/ 5.5.2.1/ build/Module. symvers' linux-headers- 5.15.0- 1029-kvm' ======= ====== 5.5.2.1/ build/make. log ------- ------- --] @@@@@@@ @@@@@@ summary amd64-rtl8821ce -20230214- 023910- lrg-root1 from image adt/ubuntu- jammy-amd64- server- 20230213. img (UUID ed711e13- 2823-486e- 8ade-d9996e82af 9a)...
None. Build is skipped so no tests are performed.
...
ERROR: modpost: "cfg80211_
ERROR: modpost: "cfg80211_
ERROR: modpost: "wiphy_
ERROR: modpost: "__cfg80211_
ERROR: modpost: "cfg80211_new_sta" [/var/lib/
ERROR: modpost: "cfg80211_
ERROR: modpost: "cfg80211_
ERROR: modpost: "cfg80211_
ERROR: modpost: "cfg80211_put_bss" [/var/lib/
ERROR: modpost: "cfg80211_roamed" [/var/lib/
WARNING: modpost: suppressed 18 unresolved symbol warnings because there were too many)
make[2]: *** [scripts/
make[2]: *** Deleting file '/var/lib/
make[1]: *** [Makefile:1821: modules] Error 2
make[1]: Leaving directory '/usr/src/
make: *** [Makefile:2262: modules] Error 2
=======
./rtl8821ce/
autopkgtest [02:46:16]: test dkms-autopkgtest: -------
dkms-autopkgtest FAIL non-zero exit status 1
autopkgtest [02:46:17]: test dkms-autopkgtest: - - - - - - - - - - results - - - - - - - - - -
autopkgtest [02:46:17]: @@@@@@@
dkms-autopkgtest FAIL non-zero exit status 1
Creating nova instance adt-jammy-