Missing 3.11.1 kernel modules

When trying to compile the Virtualbox DKMS kernel modules using /etc/init.d/vboxdrv setup I get this error:

Stopping VirtualBox kernel modules                                                                                        done
Uninstalling old VirtualBox DKMS kernel modules                                                                           done
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 3.11.1-1.g1383321-desktop cannot be found at
/lib/modules/3.11.1-1.g1383321-desktop/build or /lib/modules/3.11.1-1.g1383321-desktop/source.
                                                                                                                          failed
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules                                                                                     failed
  (Look at /var/log/vbox-install.log to find out what went wrong)


I checked the /lib/modules folder for the 3.11.1 kernel and I noticed that both build and source folders are missing.

How can I get the modules, and do I need recompile the kernel?

thanks

8ofspades wrote:

>
> When trying to compile the Virtualbox DKMS kernel modules using
> /etc/init.d/vboxdrv setup I get this error:
>
>
> Code:
> --------------------
> Stopping VirtualBox kernel modules
> done
> Uninstalling old VirtualBox DKMS kernel modules
> done Trying to register
> the VirtualBox kernel modules using DKMSError! echo Your kernel headers
> for kernel 3.11.1-1.g1383321-desktop cannot be found at
> /lib/modules/3.11.1-1.g1383321-desktop/build or
> /lib/modules/3.11.1-1.g1383321-desktop/source. failed (Failed, trying
> without DKMS)
> Recompiling VirtualBox kernel modules
> failed (Look at
> /var/log/vbox-install.log to find out what went wrong)
>
>
> --------------------
>
>
> I checked the /lib/modules folder for the 3.11.1 kernel and I noticed
> that both build and source folders are missing.
>
> How can I get the modules, and do I need recompile the kernel?
>
> thanks
>
>

Kernel-devel not installed?


Viljo

Or rather kernel-desktop-devel.
This one contains /lib/modules/xxx/source and /lib/modules/xxx/build … :wink:

Just did zypper in kernel-desktop-devel and it worked.

Thanks a lot!