Opened 11 years ago
Closed 8 years ago
#12739 closed defect (fixed)
DKMS does not support multiple kernels -> fixed in 5.1 and later releases
Reported by: | prensing | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.3.6 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
The way DKMS is used on Linux does not support multiple kernels on the same machine. This is true both through "/etc/init.d/vboxdrv setup" and "do_dkms install".
The problem is that do_dkms first uninstalls *all* instances of the kernel modules across all kernel versions. Then it only builds/installs the modules for the current kernel. If you reboot to a different kernel, vboxdrv is not there; if you use the existing scripts, the modules for the other kernel will be gone when you come back to it.
Change History (4)
comment:1 by , 8 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
comment:2 by , 8 years ago
Resolution: | obsolete |
---|---|
Status: | closed → reopened |
Still happening on version 5.0.24. Why doesn't virtualbox generate kernel modules for all installed kernels ?
comment:3 by , 8 years ago
This should work for 5.1 releases. The fix will not be back-ported to 5.0. 5.1 does not use DKMS at all, but it uses the same hooks to build the modules when a new kernel is installed.
comment:4 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Summary: | DKMS does not support multiple kernels → DKMS does not support multiple kernels -> fixed in 5.1 and later releases |
Please reopen if still relevant with a recent VirtualBox release.