SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Rep:
Using VirtualBox in OpenSuSE 12.1
I know there is another post already with the same problem however I looked it and it didnt help my problem.
Which is when I try to run VirtualBox I get the following error
Quote:
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.
so I in run /etc/init.d/vboxdrv setup and I get
Quote:
# /etc/init.d/vboxdrv setup
WARNING: All config files need .conf: /etc/modprobe.d/50-sound.conf.save.1, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/50-sound.conf.save, it will be ignored in a future release.
WARNING: /etc/modprobe.d/50-sound.conf.save line 2: ignoring bad line starting with 'ptions'
WARNING: /etc/modprobe.d/50-sound.conf.save.1 line 2: ignoring bad line starting with 'ptions'
WARNING: /etc/modprobe.d/50-sound.conf.save.1 line 8: ignoring bad line starting with 'tions'
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 3.1.0-1.2-desktop cannot be found at
/lib/modules/3.1.0-1.2-desktop/build or /lib/modules/3.1.0-1.2-desktop/source.
failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
I installed DKMS from Yast and still get the error,
Anybody has a workaround this problem? I will appreciate it.
Thank you.
Error! Your kernel headers for kernel 3.1.0-1.2-desktop cannot be found at
/lib/modules/3.1.0-1.2-desktop/build or /lib/modules/3.1.0-1.2-desktop/source.
failed
(Failed, trying without DKMS)
That, in a nutshell, is most likely the problem. You have to install the kernel headers for your current kernel to compile the virtualbox kernel modules. I'm not that familiar with Suse, but I would look in your package manager and see if you can find the kernel header package and install it. A quick google reveals that the package name will be something like "linux-kernel-headers-<kernel version number>". Make sure you install the one that corresponds to your kernel. Afterwards, retry your vboxdrv setup command and see if the kernel modules will compile.
Last edited by kilgoretrout; 02-03-2012 at 09:22 AM.
kernel-devel - Development files needed for building kernel modules
Kernel-level headers and Makefiles required for development of external kernel modules.
Source Timestamp: 2012-01-27 09:55:10 +0100 GIT Revision: efb5ff410eab35d86ab48d359d3edf177b1d82d5 GIT Branch: openSUSE-12.1
Good luck Tron. You will want dkms and development tools too if you don't have them installed.
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Original Poster
Rep:
Thank you since I could not get this issue resolved I switched to kvm and used quemu to created a virtual disk in my laptop.
I havent installed anything however I have a virtual disk of 15 GB ready to test a OS. I was thinking to install OpenIndiana in there to test their world famous ZFS. Or I was thinking to install MINIX 3. I havent decided yet
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.