Hey Guys! Trying to install Virtualbox on 12.3. Not sure what info you need however this is the error im getting.
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/3.7.10-1.1-desktop/build modules
make -C /usr/src/linux-3.7.10-1.1-obj/x86_64/desktop
KBUILD_SRC=/usr/src/linux-3.7.10-1.1
KBUILD_EXTMOD=“/tmp/vbox.0” -f /usr/src/linux-3.7.10-1.1/Makefile
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo >&2;
echo >&2 " ERROR: Kernel configuration is invalid.“;
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.”;
echo >&2 " Run ‘make oldconfig && make prepare’ on kernel src to fix it.";
echo >&2 ;
/bin/false)
Theres a lot stuff under GCC headings, however i cant post it all due to char limit.
Edit: This is what it says in terminal:
Trying to register the VirtualBox kernel modules using DKMS failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
You can use SUSE Paste to post longer outputs, just link the paste here.
Do you have kernel-desktop-devel, gcc, gcc-c++, make, and binutils installed? If not install those and reinstall the virtualbox package. Also there is a virtualbox package in the repos precompiled for the opensuse kernels.
You need to have the package “kernel-desktop-devel” installed I think.
You could also use the virtualbox packages included in openSUSE, just install them with YaST or zypper. You wouldn’t have to compile the kernel module yourself then.
(That’s an older version of course, but the latest one is available in the Virtualization repo. Just add that with YaST->Software Repositories->Add->Community Repositories)
So. I see that there is virtualbox installed (an older version) However If i try and use it I get an error. I thought this was because it wasnt up to date which is why I have been trying to update it.
i get this.
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
‘/etc/init.d/vboxdrv setup’
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I dont see how to update it in Yast. All i have for packages is just Virtualbox 4.2, im obviously doing something wrong lol.
Edit: I have all packages listed above installed.
Here is an output from terminal when I try and run from there
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.7.10-1.1-desktop) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
jordan@linux-ox0h:~> sudo /etc/init.d/vboxdrv setup
root’s password:
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMS failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
If you want to use the one from upstream virtualbox, make sure you remove those packages first. Then you will need the ability to build kernel modules (install the packages I showed you). Then you can remove/reinstall the upstream virtualbox package.
That seems to be the version from the Virtualbox homepage. For this to work you must recompile the kernel module by running ‘/etc/init.d/vboxdrv setup’
I dont see how to update it in Yast. All i have for packages is just Virtualbox 4.2, im obviously doing something wrong lol.
Just type “virtualbox” in the searchbox and the virtualbox packages should show up. Remove the “VirtualBox” one (that’s the version from Oracle) and install the “virtualbox” one (in small characters).
what is upstream. Sorry I have no idea what your even talking about. Im really new at trying to figure this all out. If I go to YAST -> Software management and search for virutalbox it has Virtualbox 4.2, virtualbox-guest-kmp-desktop, virtualbox-guest-tools, and virtualbox-guest-x11 all ticked off and installed.
what is ‘upstream’? I can use the VB thats preinstalled if it makes things easier, however it doesnt work. i get the error i listed
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
‘/etc/init.d/vboxdrv setup’
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
Edit: I went into Yast- Software managment and added the VB repo manually in there and checked the box for 4.2 were it has the green uparrow (guessing thats update) and its working on something for the moment.
Edit 2: Adding it and checking it for update (I think thats what i did lol) seems to have fixed it…Sorry for being a bother. Thanks for your help!
That’s bad.
Uninstall all of them.
Then either download the package from http://www.virtualbox.org/ (“upstream”) or install “virtualbox”, “virtualbox-host-kmp-desktop” and “virtualbox-qt”.
Edit: I went into Yast- Software managment and added the VB repo manually in there and checked the box for 4.2 were it has the green uparrow (guessing thats update) and its working on something for the moment.
Edit 2: Adding it and checking it for update (I think thats what i did lol) seems to have fixed it…Sorry for being a bother. Thanks for your help!
Not quite. You still have VirtualBox-4.2 installed as well, I think.
Please uninstall all of them again and then install only one version…
The kernel modules are packaged there so you don’t have to compile them yourself. (and don’t have to recompile them after every kernel update)
You should uninstall the Oracle VirtualBox package first, of course