** Description changed:
SRU Justification
[ Impact ]
In Linux v7.3-rc1 commit 914781c72813 ("wifi: cfg80211: convert cookie
output to input parameter")
changed the semantics of the cookie and with that the variable types of
remain_on_channel and mgmt_tx
address this by importing the upstream fix; this makes the module impossible
to be compiled from Linux v7.3-rc1 commit 914781c72813 onwards.
[ Fix ]
Import upstream commit
https://source.mnt.re/reform/qcacld2/-/commit/2c001c25748e9e7922b31d5038ff5c4e3f195619
[ Test case ]
Follow the following steps:
- - Install the correct series package from
https://launchpad.net/~alessiofaina/+archive/ubuntu/20261123-dkms-fixes/
+ - Install the correct series package from
+ https://launchpad.net/~alessiofaina/+archive/ubuntu/20261123-dkms-fixes/
+
- Check the new package correctly installs in the system
+
- Check the installed version number is the correct one
- - (If target hardware is available) Load the driver and verify wireless
interface initialization and basic scanning/association:
- $ sudo modprobe wlan
+
+ - Locate the built module and test loading it into the running 7.3 kernel to
verify all cfg80211 symbols resolve cleanly (works even without physical
Ezurio/Qualcomm Wi-Fi hardware attached):
+ $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/qcacld2.ko* | head -n1)
+ $ modinfo "$MOD"
+ $ sudo modprobe "$MOD"
+ $ lsmod | grep "$MOD"
+ Expected result: Module loads with exit code 0 and appears in lsmod output.
+
+ - Check the kernel ring buffer to ensure no warnings, symbol errors, or
oopses occur upon module load (and verify wireless scanning if target hardware
is present):
+ $ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
+ (If hardware is present):
$ iw dev
- $ sudo iw dev wlan0 scan | head -n 20
- Confirm no kernel oops, warnings, or NULL pointer dereferences appear in
dmesg:
- $ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
-
+ $ sudo iw dev <iface> scan | head -n 20
[ What could go wrong ]
The semantic of the cookie creation is inverted since kernel 7.3 so, if
the fix is not correct some side effect like cancelling a
remain_on_channel request would be discarded by the radio, as it won't
find the cookie from wpa_supplicant.
** Description changed:
SRU Justification
[ Impact ]
In Linux v7.3-rc1 commit 914781c72813 ("wifi: cfg80211: convert cookie
output to input parameter")
changed the semantics of the cookie and with that the variable types of
remain_on_channel and mgmt_tx
address this by importing the upstream fix; this makes the module impossible
to be compiled from Linux v7.3-rc1 commit 914781c72813 onwards.
[ Fix ]
Import upstream commit
https://source.mnt.re/reform/qcacld2/-/commit/2c001c25748e9e7922b31d5038ff5c4e3f195619
[ Test case ]
Follow the following steps:
- Install the correct series package from
https://launchpad.net/~alessiofaina/+archive/ubuntu/20261123-dkms-fixes/
- Check the new package correctly installs in the system
- Check the installed version number is the correct one
- Locate the built module and test loading it into the running 7.3 kernel to
verify all cfg80211 symbols resolve cleanly (works even without physical
Ezurio/Qualcomm Wi-Fi hardware attached):
- $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/qcacld2.ko* | head -n1)
- $ modinfo "$MOD"
- $ sudo modprobe "$MOD"
- $ lsmod | grep "$MOD"
- Expected result: Module loads with exit code 0 and appears in lsmod output.
+ $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/qcacld2.ko* | head -n1)
+ $ modinfo "$MOD"
+ $ sudo modprobe "$MOD"
+ $ lsmod | grep "$MOD"
+ Expected result: Module loads with exit code 0 and appears in lsmod output.
- Check the kernel ring buffer to ensure no warnings, symbol errors, or
oopses occur upon module load (and verify wireless scanning if target hardware
is present):
- $ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
- (If hardware is present):
- $ iw dev
- $ sudo iw dev <iface> scan | head -n 20
+ $ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
+ (If hardware is present):
+ $ iw dev
+ $ sudo iw dev <iface> scan | head -n 20
+
[ What could go wrong ]
The semantic of the cookie creation is inverted since kernel 7.3 so, if
the fix is not correct some side effect like cancelling a
remain_on_channel request would be discarded by the radio, as it won't
find the cookie from wpa_supplicant.
** Description changed:
SRU Justification
[ Impact ]
In Linux v7.3-rc1 commit 914781c72813 ("wifi: cfg80211: convert cookie
output to input parameter")
changed the semantics of the cookie and with that the variable types of
remain_on_channel and mgmt_tx
address this by importing the upstream fix; this makes the module impossible
to be compiled from Linux v7.3-rc1 commit 914781c72813 onwards.
[ Fix ]
Import upstream commit
https://source.mnt.re/reform/qcacld2/-/commit/2c001c25748e9e7922b31d5038ff5c4e3f195619
[ Test case ]
Follow the following steps:
- Install the correct series package from
https://launchpad.net/~alessiofaina/+archive/ubuntu/20261123-dkms-fixes/
- Check the new package correctly installs in the system
- Check the installed version number is the correct one
- - Locate the built module and test loading it into the running 7.3 kernel to
verify all cfg80211 symbols resolve cleanly (works even without physical
Ezurio/Qualcomm Wi-Fi hardware attached):
+ - Locate the built module and test loading it into the running 7.3 kernel to
verify all cfg80211 symbols resolve cleanly:
$ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/qcacld2.ko* | head -n1)
$ modinfo "$MOD"
$ sudo modprobe "$MOD"
$ lsmod | grep "$MOD"
Expected result: Module loads with exit code 0 and appears in lsmod output.
- Check the kernel ring buffer to ensure no warnings, symbol errors, or
oopses occur upon module load (and verify wireless scanning if target hardware
is present):
$ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
(If hardware is present):
$ iw dev
$ sudo iw dev <iface> scan | head -n 20
[ What could go wrong ]
The semantic of the cookie creation is inverted since kernel 7.3 so, if
the fix is not correct some side effect like cancelling a
remain_on_channel request would be discarded by the radio, as it won't
find the cookie from wpa_supplicant.
** Description changed:
SRU Justification
[ Impact ]
In Linux v7.3-rc1 commit 914781c72813 ("wifi: cfg80211: convert cookie
output to input parameter")
changed the semantics of the cookie and with that the variable types of
remain_on_channel and mgmt_tx
address this by importing the upstream fix; this makes the module impossible
to be compiled from Linux v7.3-rc1 commit 914781c72813 onwards.
[ Fix ]
Import upstream commit
https://source.mnt.re/reform/qcacld2/-/commit/2c001c25748e9e7922b31d5038ff5c4e3f195619
[ Test case ]
Follow the following steps:
- Install the correct series package from
https://launchpad.net/~alessiofaina/+archive/ubuntu/20261123-dkms-fixes/
- Check the new package correctly installs in the system
- Check the installed version number is the correct one
- - Locate the built module and test loading it into the running 7.3 kernel to
verify all cfg80211 symbols resolve cleanly:
- $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/qcacld2.ko* | head -n1)
- $ modinfo "$MOD"
- $ sudo modprobe "$MOD"
- $ lsmod | grep "$MOD"
- Expected result: Module loads with exit code 0 and appears in lsmod output.
+ - Verify the compiled qcacld2 module file exists and inspect its module
metadata (verifies successful build and vermagic match without requiring
hardware):
+ $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/qcacld2.ko* | head -n1)
+ $ modinfo "$MOD"
+ Expected result: modinfo outputs valid module metadata with vermagic
matching $(uname -r) and no errors.
- - Check the kernel ring buffer to ensure no warnings, symbol errors, or
oopses occur upon module load (and verify wireless scanning if target hardware
is present):
- $ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
- (If hardware is present):
- $ iw dev
- $ sudo iw dev <iface> scan | head -n 20
+ - (OPTIONAL - On systems with supported Qualcomm/Ezurio Wi-Fi hardware
attached) Load the driver, verify the wireless interface appears, and check
dmesg for any cfg80211 warnings or oopses:
+ $ sudo modprobe qcacld2
+ $ lsmod | grep qcacld2
+ $ iw dev
+ $ sudo iw dev <iface> scan | head -n 20
+ $ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
+ Expected result: Module loads cleanly (exit 0), wireless interface
initializes and scans without errors, and no kernel warnings or call traces
appear in dmesg.
[ What could go wrong ]
The semantic of the cookie creation is inverted since kernel 7.3 so, if
the fix is not correct some side effect like cancelling a
remain_on_channel request would be discarded by the radio, as it won't
find the cookie from wpa_supplicant.
** Description changed:
SRU Justification
[ Impact ]
In Linux v7.3-rc1 commit 914781c72813 ("wifi: cfg80211: convert cookie
output to input parameter")
changed the semantics of the cookie and with that the variable types of
remain_on_channel and mgmt_tx
address this by importing the upstream fix; this makes the module impossible
to be compiled from Linux v7.3-rc1 commit 914781c72813 onwards.
[ Fix ]
Import upstream commit
https://source.mnt.re/reform/qcacld2/-/commit/2c001c25748e9e7922b31d5038ff5c4e3f195619
[ Test case ]
Follow the following steps:
- Install the correct series package from
https://launchpad.net/~alessiofaina/+archive/ubuntu/20261123-dkms-fixes/
- Check the new package correctly installs in the system
- Check the installed version number is the correct one
- Verify the compiled qcacld2 module file exists and inspect its module
metadata (verifies successful build and vermagic match without requiring
hardware):
- $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/qcacld2.ko* | head -n1)
- $ modinfo "$MOD"
- Expected result: modinfo outputs valid module metadata with vermagic
matching $(uname -r) and no errors.
+ $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/qcacld2.ko* | head -n1)
+ $ modinfo "$MOD"
+ Expected result: modinfo outputs valid module metadata with vermagic
matching $(uname -r) and no errors.
- (OPTIONAL - On systems with supported Qualcomm/Ezurio Wi-Fi hardware
attached) Load the driver, verify the wireless interface appears, and check
dmesg for any cfg80211 warnings or oopses:
- $ sudo modprobe qcacld2
- $ lsmod | grep qcacld2
- $ iw dev
- $ sudo iw dev <iface> scan | head -n 20
- $ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
- Expected result: Module loads cleanly (exit 0), wireless interface
initializes and scans without errors, and no kernel warnings or call traces
appear in dmesg.
+ $ sudo modprobe qcacld2
+ $ lsmod | grep qcacld2
+ $ iw dev
+ $ sudo iw dev <iface> scan | head -n 20
+ $ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
+ Expected result: Module loads cleanly (exit 0), wireless interface
initializes and scans without errors, and no kernel warnings or call traces
appear in dmesg.
+ Without the HW module installed, the module will fail to load with the
following message
+ == modprobe: ERROR: could not insert 'qcacld2': No such device ==
[ What could go wrong ]
The semantic of the cookie creation is inverted since kernel 7.3 so, if
the fix is not correct some side effect like cancelling a
remain_on_channel request would be discarded by the radio, as it won't
find the cookie from wpa_supplicant.
** Description changed:
SRU Justification
[ Impact ]
In Linux v7.3-rc1 commit 914781c72813 ("wifi: cfg80211: convert cookie
output to input parameter")
- changed the semantics of the cookie and with that the variable types of
remain_on_channel and mgmt_tx
- address this by importing the upstream fix; this makes the module impossible
to be compiled from Linux v7.3-rc1 commit 914781c72813 onwards.
+ changed the semantics of the cookie and with that the variable types of
remain_on_channel and mgmt_tx and makes the module impossible to be compiled
from Linux v7.3-rc1 commit 914781c72813 onwards.
+
+ To address this build failure importing the upstream fix is needed.
[ Fix ]
Import upstream commit
https://source.mnt.re/reform/qcacld2/-/commit/2c001c25748e9e7922b31d5038ff5c4e3f195619
[ Test case ]
Follow the following steps:
- Install the correct series package from
https://launchpad.net/~alessiofaina/+archive/ubuntu/20261123-dkms-fixes/
- Check the new package correctly installs in the system
- Check the installed version number is the correct one
- Verify the compiled qcacld2 module file exists and inspect its module
metadata (verifies successful build and vermagic match without requiring
hardware):
$ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/qcacld2.ko* | head -n1)
$ modinfo "$MOD"
Expected result: modinfo outputs valid module metadata with vermagic
matching $(uname -r) and no errors.
- (OPTIONAL - On systems with supported Qualcomm/Ezurio Wi-Fi hardware
attached) Load the driver, verify the wireless interface appears, and check
dmesg for any cfg80211 warnings or oopses:
$ sudo modprobe qcacld2
$ lsmod | grep qcacld2
$ iw dev
$ sudo iw dev <iface> scan | head -n 20
$ dmesg -T | grep -iE "qcacld|cfg80211|call trace|bug"
Expected result: Module loads cleanly (exit 0), wireless interface
initializes and scans without errors, and no kernel warnings or call traces
appear in dmesg.
Without the HW module installed, the module will fail to load with the
following message
== modprobe: ERROR: could not insert 'qcacld2': No such device ==
[ What could go wrong ]
The semantic of the cookie creation is inverted since kernel 7.3 so, if
the fix is not correct some side effect like cancelling a
remain_on_channel request would be discarded by the radio, as it won't
find the cookie from wpa_supplicant.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173882
Title:
ezurio-qcacld-2.0-dkms fails to build in kernel 7.3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ezurio-qcacld-2.0-dkms/+bug/2173882/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs