jimg Posted July 28, 2019 Posted July 28, 2019 Armbianmonitor: http://ix.io/1POK I'm trying to add concurrent mode to the wifi driver on an Orange Pi PC Plus running the latest stable distribution of Armbian, but running into an "invalid module format" error due to the kernel version not matching the source version I'm using to recompile the wifi driver. I installed both the source and header files from armbian-config. The kernel version is 4.19.59 according to uname -r. This apparently is the linux-image-next-sunxi image, according to `apt-cache search linux-image | grep 4.19.59`. However, the source for the next-sunxi branch in the repository is 4.19.57, not 4.19.59, as `apt-cache search linux-source | grep next-sunxi` gives: linux-source-4.19.57-next-sunxi - This package provides the source code for the Linux kernel 4.19.57 `apt-cache search linux-source | grep 4.19.59` returns no results. How do I get the 4.19.59 source version? Would it be safe to upgrade to the dev branch (v 5.1.0), since both the kernel and source there are the same version? FWIW, here's my sources.list: deb http://httpredir.debian.org/debian buster main contrib non-free #deb-src http://httpredir.debian.org/debian buster main contrib non-free deb http://httpredir.debian.org/debian buster-updates main contrib non-free #deb-src http://httpredir.debian.org/debian buster-updates main contrib non-free deb http://httpredir.debian.org/debian buster-backports main contrib non-free #deb-src http://httpredir.debian.org/debian buster-backports main contrib non-free deb http://security.debian.org/ buster/updates main contrib non-free #deb-src http://security.debian.org/ buster/updates main contrib non-free
Werner Posted July 28, 2019 Posted July 28, 2019 Odd. Seems like the debs are behind. You may upgrade to dev branch, however there will not be any official support anymore.Though as for my experience I never had issues using dev on Allwinner H3 SoC If you do not want to do that there are a few options: - Wait until someone fixes the debs - Go to https://github.com/armbian/build, clone the script and create your own packages - Go to https://laet.pw/index.php/s/M2eXJKll5sdnlBN and grab the needed packages as I had boredom and built/uploaded a few packages today and maybe I'll even update this share from time to time. I'd recommend option 1 as it is the safest. Never trust unofficial sources. 1
jimg Posted July 28, 2019 Author Posted July 28, 2019 Thanks for the advice. I just updated the kernel, and am in the process of installing the new (dev) source and header files. I also did an `apt update`, and see that now the linux image for the "next" branch is back to 4.19.57! $ apt-cache search linux-image | grep next-sunxi linux-image-next-sunxi - Linux kernel, version 4.19.57-sunxi So the problem has apparently been fixed. :-)
TTP Posted July 29, 2019 Posted July 29, 2019 I have the same issue. I will switch back the Kernel to 4.19.57-sunxi. Hopfully this solves it. Atm it runs on .59
HW_guy Posted September 16, 2019 Posted September 16, 2019 I had the same issue with running kernel version 4.19.72 (armbian 5.96): when asking for headers installation through armbian-config, 4.19.68 would be installed instead. There is one workaround if you compile your own image: just add them directly to it at compile time with INSTALL_HEADERS="yes" in your config-default.conf. This way, the headers present in /usr/src/linux-headers-X.XX.XX-sunxi will be the exact same as the ones used during the image compilation (and what you are currently running if you did not update anything on the fly).
Recommended Posts