[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VirtualBox kernel mod compile fails



On 12/11/2013 03:24 PM, Reco wrote:
  Hi.

On Wed, 11 Dec 2013 21:54:39 +0100
Ralf Mardorf <ralf.mardorf@alice-dsl.net> wrote:

On Thu, 2013-12-12 at 00:37 +0400, Reco wrote:

DKMS should be able to build the modules for more or less every version
of virtual box with more or less every kernel headers, as long as they
are not years apart and as long as there should be no obscure Debian
patches. I'm doing this for different distros even with rt patched
kernels.
Given the general quality of VirtualBox upstream developers (currently -
Oracle), there is a huge difference between 'DKMS should build' and
'DKMS can actually build something that works'. Kernel developers put
it simple:

https://lkml.org/lkml/2011/10/6/317


But, rants aside - this particular problem is described at Debian Bug
696011. Long story short - out-of-tree kernel modules break from time to
time, and for Virtualbox 4.1 that happened for kernels > 3.7.

Solution 1: Apply patch to virtualbox kernel module source.

Solution 2: Install backported Virtualbox, where the problem is solved.

Which one is simplier in your option?

Reco


Looks like there may be a bug, as suggested by Ralf's first link:
https://forums.virtualbox.org/viewtopic.php?f=7&t=53126

westk[@]goshen]:/home/westk:> sudo aptitude -t wheezy-backports install virtualbox
The following NEW packages will be installed:
dkms{a} fakeroot{a} libcurl3{a} libgsoap2{a} libvncserver0{a} patch{a} virtualbox virtualbox-dkms{a}
  virtualbox-qt{a}
0 packages upgraded, 9 newly installed, 0 to remove and 59 not upgraded.
Need to get 0 B/18.9 MB of archives. After unpacking 71.5 MB will be used.
Do you want to continue? [Y/n/?]
Selecting previously unselected package libcurl3:amd64.
(Reading database ... 147389 files and directories currently installed.)
...
First Installation: checking all kernels...
Building only for 3.11-0.bpo.2-amd64
Building initial module for 3.11-0.bpo.2-amd64
Error! Bad return status for module build on kernel: 3.11-0.bpo.2-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/4.1.18/build/make.log for more information.
[ ok ] Stopping VirtualBox kernel modules.
[FAIL] Starting VirtualBox kernel modules[....] No suitable module for running kernel found ... failed!
 failed!
invoke-rc.d: initscript virtualbox, action "restart" failed.
Setting up virtualbox-qt (4.1.18-dfsg-2+deb7u1) ...


I'll try Ralf's solution:
Likely a Debian related issue. I would use VirtualBox from https://www.virtualbox.org/wiki/Linux_Downloads

Thanks!

--
Kent


Reply to: