Moving to Kernel 7.0+ had the following needed changes
1. EXTRA_CFLAGS substituded by ccflags-y in Kbuild
2. cfg80211 had the following API signature changes:
cfg80211_set_wiphy_params, cfg80211_set_txpower, cfg80211_get_txpower
3. mac_pton and hex2bin need specific headers to be included
4. The timer API needs timer_container_of and the del_timer_* had their
name changed to timer_delete_*


The module compiles but doesn't load as an SDIO card connected to the local bus 
is needed for it
to correctly load.
------------------------------------------------------------------------
root@ubuntu-resolute:/home/afaina/dkms/resolute/ezurio-qcacld-2.0-dkms# dpkg -i 
ezurio-qcacld-2.0-dkms_0.0~git20240408.aa96a9f+dfsg-5ubuntu3_all.deb 
Selecting previously unselected package ezurio-qcacld-2.0-dkms.
(Reading database ... 159823 files and directories currently installed.)
Preparing to unpack 
ezurio-qcacld-2.0-dkms_0.0~git20240408.aa96a9f+dfsg-5ubuntu3_all.deb ...
Unpacking ezurio-qcacld-2.0-dkms (0.0~git20240408.aa96a9f+dfsg-5ubuntu3) ...
Setting up ezurio-qcacld-2.0-dkms (0.0~git20240408.aa96a9f+dfsg-5ubuntu3) ...
Loading new ezurio-qcacld-2.0/0.0~git20240408.aa96a9f+dfsg DKMS files...
Building for 7.0.0-3-generic

Building initial module ezurio-qcacld-2.0/0.0~git20240408.aa96a9f+dfsg for 
7.0.0-3-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module(s)........... done.
Signing module 
/var/lib/dkms/ezurio-qcacld-2.0/0.0~git20240408.aa96a9f+dfsg/build/qcacld2.ko
Installing /lib/modules/7.0.0-3-generic/updates/dkms/qcacld2.ko.zst
Running depmod... done.
root@ubuntu-resolute:/home/afaina/dkms/resolute/ezurio-qcacld-2.0-dkms# dkmst 
status
Command 'dkmst' not found, did you mean:
  command 'dkms' from deb dkms (3.2.2-1ubuntu1)
Try: apt install <deb name>
root@ubuntu-resolute:/home/afaina/dkms/resolute/ezurio-qcacld-2.0-dkms# dkms 
status
ezurio-qcacld-2.0/0.0~git20240408.aa96a9f+dfsg, 7.0.0-3-generic, x86_64: 
installed
root@ubuntu-resolute:/home/afaina/dkms/resolute/ezurio-qcacld-2.0-dkms# 
modprobe qcacld2
modprobe: ERROR: could not insert 'qcacld2': No such device
root@ubuntu-resolute:/home/afaina/dkms/resolute/ezurio-qcacld-2.0-dkms#

root@ubuntu-resolute:/home/afaina/dkms/resolute/ezurio-qcacld-2.0-dkms# dmesg
[ 1257.946826] AR6000: Unregistered!
[ 1297.865892] qcacld2: loading driver v4.5.25.57
[ 1297.865979] ath_hif_sdio: HIF (Atheros/multi-bss)
[ 1438.170474] AR6000: Unregistering with the bus driver
[ 1438.170544] AR6000: Unregistered!
------------------------------------------------------------------------

autopkgtest successfully builds for 6.19.0-6 and 7.0.0.3
------------------------------------------------------------------------
Signing module 
/var/lib/dkms/ezurio-qcacld-2.0/0.0~git20240408.aa96a9f+dfsg/build/qcacld2.ko
/usr/sbin/dkms: line 1524: zstd: command not found
Installing /lib/modules/7.0.0-3-generic/updates/dkms/qcacld2.ko
Running depmod... done.
I: Testing if ezurio-qcacld-2.0 modules are correctly installed.
ezurio-qcacld-2.0/0.0~git20240408.aa96a9f+dfsg, 7.0.0-3-generic, x86_64: 
installed
ezurio-qcacld-2.0/0.0~git20240408.aa96a9f+dfsg/6.19.0-6-generic/x86_64/log/make.log
ezurio-qcacld-2.0/0.0~git20240408.aa96a9f+dfsg/7.0.0-3-generic/x86_64/log/make.log
I: Summary:
I: PASS ezurio-qcacld-2.0/0.0~git20240408.aa96a9f+dfsg 6.19.0-6-generic
I: PASS ezurio-qcacld-2.0/0.0~git20240408.aa96a9f+dfsg 7.0.0-3-generic
/tmp/autopkgtest.vF66Pf/wrapper.sh: Killing leaked background processes: 6780 
    PID TTY      STAT   TIME COMMAND
   6780 hvc1     S+     0:00 sleep 3
autopkgtest [16:23:16]: test dkms-autopkgtest: -----------------------]
autopkgtest [16:23:17]: test dkms-autopkgtest:  - - - - - - - - - - results - - 
- - - - - - - -
dkms-autopkgtest     PASS (superficial)
autopkgtest [16:23:18]: @@@@@@@@@@@@@@@@@@@@ summary
dkms-autopkgtest     PASS (superficial)
------------------------------------------------------------------------

** Patch added: "dkms_patch_resolute.patch"
   
https://bugs.launchpad.net/ubuntu/+source/ezurio-qcacld-2.0-dkms/+bug/2143143/+attachment/5949875/+files/dkms_patch_resolute.patch

** Also affects: ezurio-qcacld-2.0-dkms (Ubuntu Resolute)
   Importance: Medium
     Assignee: Alessio Faina (alessiofaina)
       Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143143

Title:
  Compilation fails for Kernel 7.0.0.3-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ezurio-qcacld-2.0-dkms/+bug/2143143/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to