I am trying to setup a private opkg mirror that holes some kernel modules not not built into the firmware itself. I dont want to flash the kernel or anything risky, I just want to install kmod packages using opkg.
I have experience with other openwrt routers so I was able to clone, checkout the v24.10.1 tag, and apply the patch (which contains the dts file). Unfortunately the generated ipk files do not install because of a mismatch in the .vermagic hash.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.86~61d5ba9a627a2a074b99acc15d5a250b-r1) for kmod-dax
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-dax found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.86~61d5ba9a627a2a074b99acc15d5a250b-r1) for kmod-dm
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-dm found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.86~61d5ba9a627a2a074b99acc15d5a250b-r1) for kmod-crypto-user
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-user found, but incompatible with the architectures configured
This is likely because either there are missing kernel config options not in the patch(?) or because I have used the wrong commit on the openwrt sources with this patch.
Loading the kernel modules manually by untar the ipk and manually run insmod on the .ko file also fails with
module crypto_user: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time
as there are a large number of commits that use the 6.6.86 kernel I have not yet been able to rule out config mismatch vs openwrt source mismatch. Any help here (especially publishing the openwrt source and/or kernel tarball and config) would be appreciated
I am trying to setup a private opkg mirror that holes some kernel modules not not built into the firmware itself. I dont want to flash the kernel or anything risky, I just want to install kmod packages using opkg.
I have experience with other openwrt routers so I was able to clone, checkout the v24.10.1 tag, and apply the patch (which contains the dts file). Unfortunately the generated ipk files do not install because of a mismatch in the .vermagic hash.
This is likely because either there are missing kernel config options not in the patch(?) or because I have used the wrong commit on the openwrt sources with this patch.
Loading the kernel modules manually by untar the ipk and manually run insmod on the .ko file also fails with
as there are a large number of commits that use the 6.6.86 kernel I have not yet been able to rule out config mismatch vs openwrt source mismatch. Any help here (especially publishing the openwrt source and/or kernel tarball and config) would be appreciated