Walter Zambotti Posted January 4 Posted January 4 (edited) I am having trouble installing specific hardware dkms because the dkms requires the linux header files for the installed kernel version which are not available or do not exist. Armbian 23.05.1 Ubuntu 22.04 desktop version is build with kernel 6.6.63 but an apt search for the relevant headers finds none. Headers exist for 6.2, 6.5 and 6.8 but not for 6.6. How can I address this? Edited January 4 by Walter Zambotti 0 Quote
Solution Werner Posted January 4 Solution Posted January 4 Easiest is probably to build a custom set of packages including headers. With the build framework this is quite simple. Clone repo https://github.com/armbian/build/ ./compile.sh BOARD=odroidn2 BRANCH=current KERNEL_CONFIGURE=no kernel Copy the debs from output/debs folder to the board and install them via dpkg -i 1 Quote
Walter Zambotti Posted January 8 Author Posted January 8 I know have my qhyccd drivers installed and working. Thanks so much 0 Quote
Walter Zambotti Posted February 26 Author Posted February 26 I'm a little confused. I went to repeat this for another board but it built the headers for entirely different version 6.12.16 instead of 6.6.63. Where in the compile.sh command is the required version specified or determined? 0 Quote
Werner Posted February 26 Posted February 26 1 hour ago, Walter Zambotti said: for another board Kernel versions might differ depending on hardware since board families have individual patchsets which might require specific Linux versions. If it is the same board then I think current has been bumped from 6.6.y to 6.12.y recently. You can try legacy instead if you need 6.6.y version. 1 hour ago, Walter Zambotti said: required version specified or determined? It is not possible to build a specific version like 6.7.2 because the patches Armbian puts on top of mainline kernel are following recent versions which means sooner or later some will break compilation. If you need a specific version you are on your own to specify the version necessary in the board configuration and fix issues that might occour. 0 Quote
Walter Zambotti Posted February 28 Author Posted February 28 (edited) I'm such a dill. armbian-config system add-headers Downloaded the correct headers. Edited February 28 by Walter Zambotti 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.