You are not logged in.

#1 2010-06-17 05:17:26

wokko
Member
From: Vic AU
Registered: 2010-05-08
Posts: 38

Virtualbox/kernel-sources

hey guys tryng to get virtualbox to work
virtualbox does launch and you can set it all up but when you press start it comes up with" vboxdrv isnt loaded" and says "run /etc/rc.d/vboxdrv setup"
so i do that then you get a message  "Error look at /var/log/vbox-install.log to see want went wrong"
so i do that and it says
"Makefile:159: *** 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."
so i try to find the kernel-sources but i cant find them in repo's
any ideas guys

Offline

#2 2010-06-17 05:51:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Virtualbox/kernel-sources

Install the kernel26-headers package.

Offline

#3 2010-06-17 10:14:48

wokko
Member
From: Vic AU
Registered: 2010-05-08
Posts: 38

Re: Virtualbox/kernel-sources

thanks tomk
but i have already done that and i still get the same errors

Offline

#4 2010-06-17 10:19:08

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

Re: Virtualbox/kernel-sources

did you updated the kernel and forgot to reboot?

pacman -Q kernel26
uname -a


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

Offline

#5 2010-06-17 10:43:59

wokko
Member
From: Vic AU
Registered: 2010-05-08
Posts: 38

Re: Virtualbox/kernel-sources

thanks wonder
i tried to update my system but have depend problem dont know how to fix
here is that output for pacman -Q kernel,uname -a and pacman -S kernel26
root@archbang wokko]# pacman -Q kernel26
kernel26 2.6.33.4-1
[root@archbang wokko]# uname -a
Linux archbang 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 12:06:25 CEST 2010 i686 Intel(R) Celeron(R) CPU 2.40GHz GenuineIntel GNU/Linux
[root@archbang wokko]# pacman -S kernel26
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: aufs2: requires kernel26<2.6.34
:: nvidia: requires kernel26<2.6.34
:: virtualbox-ose-additions-modules: requires kernel26<2.6.34
cheers
david

Offline

#6 2010-06-17 11:19:01

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

Re: Virtualbox/kernel-sources

first of all virtualbox-ose-additions-modules is not needed on the host. this can mess up loading vboxdrv module.
second do pacman -Syu


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

Offline

#7 2010-06-17 11:27:18

wokko
Member
From: Vic AU
Registered: 2010-05-08
Posts: 38

Re: Virtualbox/kernel-sources

i have just removed virtualbox-ose-modules and done pacman -Syu and this is what i get

[root@archbang ~]# pacman -R virtualbox-ose-additions-modules
checking dependencies...

Remove (1): virtualbox-ose-additions-modules-3.2.4-2 [0.23 MB]

Total Removed Size:   0.23 MB

Do you want to remove these packages? [Y/n] y
(1/1) removing virtualbox-ose-additions-modules                             [------------------------------------------] 100%
[root@archbang ~]# pacman -Syu
:: Synchronizing package databases...
testing is up to date
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
:: Replace libsigc++2.0 with extra/libsigc++? [Y/n] y
resolving dependencies...
warning: dependency cycle detected:
warning: xorg-server will be installed before its nvidia-utils dependency
looking for inter-conflicts...
warning: removing 'libgl' from target list because it conflicts with 'nvidia-utils'
:: nvidia-utils and libgl are in conflict. Remove libgl? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: ati-dri: requires libgl=7.8.1
:: intel-dri: requires libgl=7.8.1
:: mach64-dri: requires libgl=7.8.1
:: mga-dri: requires libgl=7.8.1
:: r128-dri: requires libgl=7.8.1
:: savage-dri: requires libgl=7.8.1
:: sis-dri: requires libgl=7.8.1
:: tdfx-dri: requires libgl=7.8.1
[root@archbang ~]#
cheers
david

Offline

#8 2010-06-30 03:40:05

archtnoo
Member
Registered: 2008-12-03
Posts: 9

Re: Virtualbox/kernel-sources

Has this been resolved? I get exactly the same messages about KERN_VER, which cannot be resolved by just pointing at /usr/src/linux.

This is installing virtualbox_bin from aur.

Offline

#9 2010-06-30 10:13:33

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Virtualbox/kernel-sources

virtualbox_bin works fine for me, as long as kernel26-headers are installed.

Offline

#10 2010-06-30 10:24:07

archtnoo
Member
Registered: 2008-12-03
Posts: 9

Re: Virtualbox/kernel-sources

Thanks tomk, you motivated me to uninstall kernel26-headers, which were 2.6.34. I had to switch back to 2.6.33 because I wanted to switch off the ATI graphics card on my laptop (with lenovo_acpi, vgaswitcheroo does not really work for me). Now with a matching kernel26-headers version everything is fine.

Offline

Board footer

Powered by FluxBB