You are not logged in.

#1 2011-02-03 18:32:27

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

VirtualBox upgrade fails with new kernel [SOLVED]

I successfully upgraded to the latest kernel with no issues at all.
Naturally, VirtualBox has to be rebuilt but now I get these errors:

su -c '/etc/rc.d/vboxdrv setup'                                                                                                       
Password: 
:: Unloading VirtualBox kernel modules                                            [DONE] 
:: Recompiling VirtualBox kernel modules                                         [BUSY] Look at /var/log/vbox-install.log to find out what went wrong
Look at /var/log/vbox-install.log to find out what went wrong
Look at /var/log/vbox-install.log to find out what went wrong
                                                                                                          [DONE] 
:: Reloading VirtualBox kernel modules   

Notice that is seems that there was a problem but the system seems to indicate it was able to overcome it ... at least is says Reloading the Kernel modules with no other errors after it.
But the reality is that it actually failed.

The logs show these errors:

Makefile:167: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
cp: cannot stat `/tmp/vboxdrv-Module.symvers': No such file or directory
Makefile:94: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
cp: cannot stat `/tmp/vboxdrv-Module.symvers': No such file or directory
Makefile:90: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.

Now; it seems to complaint about the source of my Kernel but that was never a problem in the past nor I have changed anything in the system so the kernel sources are not likely the problem.

Is there anyone else having this problem?
Is there a known solution to it?

Thanks.

R.

p.s  Just to be sure I did check /lib/modules/2.6.37-ARCH/kernel/arch/x86/kernel and sources seem to be there. wink

Last edited by ralvez (2011-02-03 19:30:22)

Offline

#2 2011-02-03 18:37:38

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: VirtualBox upgrade fails with new kernel [SOLVED]

Did you reboot after the kernel upgrade?

Offline

#3 2011-02-03 18:41:36

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: VirtualBox upgrade fails with new kernel [SOLVED]

Well ... we do not need to reboot, to be honest. It will suffice to do :

su -c 'modprobe vboxdrv'

Nevertheless, eventually I did reboot but to no avail (not that I was truly expecting the reboot would fix the problem)

R.

Offline

#4 2011-02-03 19:29:23

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: VirtualBox upgrade fails with new kernel [SOLVED]

paste the content of
pacman -Qs kernel26 && uname -r


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-02-03 19:29:56

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: VirtualBox upgrade fails with new kernel [SOLVED]

OK. I found that re-installing the kernel headers

pacman -S kernel26-headers

fixes the problem.

Offline

Board footer

Powered by FluxBB