LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 02-02-2012, 04:21 PM   #1
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,417

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
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.

Last edited by TroN-0074; 02-02-2012 at 04:24 PM.
 
Old 02-03-2012, 09:16 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
Quote:
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.
 
Old 03-02-2012, 01:35 AM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,325
Blog Entries: 7

Rep: Reputation: 157Reputation: 157
In opensuse it's called kernel-devel i believe
 
Old 03-02-2012, 09:13 AM   #4
m1qe
LQ Newbie
 
Registered: Jan 2006
Location: Sweden
Distribution: SLES, Opensuse, CentOS
Posts: 21

Rep: Reputation: 13
Actually in opensuse it's called kernel-source
 
Old 03-02-2012, 06:16 PM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,325
Blog Entries: 7

Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by m1qe View Post
Actually in opensuse it's called kernel-source
bull.
Here it is directly from Yast.
Code:
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.
 
Old 03-03-2012, 02:47 AM   #6
m1qe
LQ Newbie
 
Registered: Jan 2006
Location: Sweden
Distribution: SLES, Opensuse, CentOS
Posts: 21

Rep: Reputation: 13
My bad.

Good luck Tron
 
Old 03-04-2012, 08:09 PM   #7
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,417

Original Poster
Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
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

Thank you.
 
  


Reply

Tags
opensuse, virtual box


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using VirtualBox on openSUSE 12.1 barnac1e Suse/Novell 10 02-07-2012 10:31 AM
LXer: Set Up VirtualBox On openSUSE 10.3. LXer Syndicated Linux News 0 11-16-2007 09:41 AM
Virtualbox on OpenSuse 10.2 not loading driver. pafinator11 Linux - Software 1 07-06-2007 08:09 AM
Virtualbox setup on openSUSE 10.2 madgenius Suse/Novell 2 04-26-2007 10:36 PM
LXer: VirtualBox On FC6 / CentOS 4 / OpenSuSE 10.2 LXer Syndicated Linux News 0 02-06-2007 07:03 PM


All times are GMT -5. The time now is 09:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration