January 4, 20251 yr 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, 20251 yr by Walter Zambotti
January 4, 20251 yr Solution 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
February 26, 20251 yr Author 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?
February 26, 20251 yr 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.
February 28, 20251 yr Author I'm such a dill. armbian-config system add-headers Downloaded the correct headers. Edited February 28, 20251 yr by Walter Zambotti
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.