Hi all, First of all, apologies if this is not the correct section of the forum, feel free to move my post elsewhere.
I am having a strange issue after upgrading to 24.10.6 from 24.10.4.
I do build my own image to access the extra USB ports on my Orange Pi Zero 3, which is done by providing an extra kernel patch, but I don’t make any other kernel changes, I don’t even configure it at all (following instructions: https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem)
In my previous image, after opkg update, I was able to install all the kernel modules (e.g. for wireguard) from the standard repository and the kernel checksum was matching.
But, after building the image for 24.10.6, I receive the following error:
opkg --force-checksum install kmod-crypto-lib-chacha20
Unknown package 'kmod-crypto-lib-chacha20'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.127~9f024ec13e17ddc8e779d11356d0d8a0-r1) for kmod-crypto-lib-chacha20
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-crypto-lib-chacha20 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-crypto-lib-chacha20.
I checked one of the few kernel modules compiled during the process and I can see the checksum does not match anymore, for example:
I understand that I can compile the modules that I require, start my own HTTP server and provide them, but I am just at loss on why it was working before and now it is not.
vermagic hack as in forcing the kernel version? I can’t really recall that term, but if there is something I can do, happy to do it and rebuild (and I will write down a note!)
You need the original minimal config that you download with wget!
If you have used the .config from you build before it will not work!
Maybe I missing the point on why that would be required, but I am also thinking what’s worse, compile my modules or redo the .config with my selections
I am doing that, less the fact that:
my previous clone was for 24.10.4, so did a git pull, changed the git checkout to 24.10.6, and all the other commands except getting a new .config file as I have my original configuration. Added the kernel patch before “make download”.
As per above, maybe it’s the old .config file that is the problem here.
This is the only device where I have plenty of space, so I am going to build all the modules and store them locally Saves me the headache Thanks for the input though!
Thanks, that is incredibly useful to check the vermegic before performing the full build.
I took my chances and decided to upgrade to 25.12.1. I followed the build instructions, but copied over my 24.10.6 config file to that build, so that I had to reconfigure only to use apk instead of opkg. Interestingly, that build doesn’t show a diverse vermegic and I am able to install the kmods from the online repository.
This points me to the fact that seems that I broke the 24.10.6 local repository, I am just unsure how. I guess I will find out at the next patch release for 25.12. Thanks again for all the help