Build vbox kernel module failed wrong headers.
Posted: 25. Feb 2020, 10:23
I posted the same on irc channel. I installed both kernel source and kernel headers. Yet vboxconfig fails to build kernel module.
Here are installed kernel version and kernel headers.
I noticed the difference in version number: kernel version is 4.4.29 while version of source is 4.4.208. Can be this failure cause? But also in back of my head there is something about smp and non-smp kernel. As I remember there is something in smp non-smp diversity which may confuse applications which require to build kernel module.
Code: Select all
piotr[~]$ sudo vboxconfig
Hasło:
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root. If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
Code: Select all
piotr[~]$ ls /var/log/packages/kernel*
/var/log/packages/kernel-firmware-20160628git-noarch-1
/var/log/packages/kernel-headers-4.4.208_smp-x86-1
/var/log/packages/kernel-huge-4.4.29-i586-1_slack14.2
/var/log/packages/kernel-huge-smp-4.4.29_smp-i686-1_slack14.2
/var/log/packages/kernel-modules-4.4.29-i586-1_slack14.2
/var/log/packages/kernel-modules-smp-4.4.29_smp-i686-1_slack14.2
/var/log/packages/kernel-source-4.4.208_smp-noarch-1
piotr[~]$