Fedora Linux Support Community & Resources Center
  #1  
Old 25th March 2013, 12:36 PM
sebby12 Offline
Registered User
 
Join Date: Mar 2013
Location: France
Posts: 3
linuxfirefox
VirtualBox won't work: Kernel driver not installed (rc=-1908)

Hi everyone,

I just installed Fedora 18 on my laptop, I come from Fedora 17 and I had no problem for installing VirtualBox.
I followded a tutorial on French Fedora website, but it won't work...
I updated my système and restarted it afterward:
yum update
Then I started by installing Development tools and the kerne-devel
Code:
 su -
yum groupinstall "Development Tools"
yum install kernel-devel
Then I installed dkms

Code:
yum install dkms
I added the repository
Code:
cd /etc/yum.repos.d/
# urlgrabber http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
and start the install

Code:
yum install VirtualBox-4.2
I have the 4.2.10

I added my user in the vboxuser group, and restarted the system (just in case).
When I want to start a VM, je told me that the kernel driver is not installed...
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.

Code:
Then I try the above command:
[root@localhost /]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules                         [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS[  OK  ]
Starting VirtualBox kernel modules                         [ÉCHOUÉ]
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why)
[root@localhost /]#
have you seen this problem before? I don't understand because I guess VB has everything what he need...

Thanks for the help.
  #2  
Old 25th March 2013, 12:47 PM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 7,033
linuxfirefox
Re: VirtualBox won't work: Kernel driver not installed (rc=-1908)

Some common issues, though I don't know if any apply to you. (You restarted, which takes care of one, but if you have a PAE kernel, might help.)

http://home.roadrunner.com/~computer...rhkerndev.html
  #3  
Old 25th March 2013, 12:48 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 37
Posts: 4,280
linuxfedorafirefox
Re: VirtualBox won't work: Kernel driver not installed (rc=-1908)

Try it with:
Code:
sudo yum install -y kernel*devel kernel*headers
sudo /etc/init.d/vboxdrv setup
Or install dkms to automaticly update the virtual box kernel modules.

hth
__________________
EFI Cheatsheet :: http://forums.fedoraforum.org/showthread.php?t=298546
Video Handler Script (VHS) (mass re-encode videos, screenrecorder, console music/webradio player, ...) :: http://forums.fedoraforum.org/showthread.php?t=299182
Windows 8+ & Fedora 20+ Dualboot :: http://forums.fedoraforum.org/showthread.php?t=298161
  #4  
Old 25th March 2013, 01:52 PM
sebby12 Offline
Registered User
 
Join Date: Mar 2013
Location: France
Posts: 3
linuxfirefox
Re: VirtualBox won't work: Kernel driver not installed (rc=-1908)

I installed the kernel-debug-devel.x86_64 0:3.8.4-202.fc18 and the kernel-tools-libs-devel.x86_64 0:3.8.4-202.fc18 with you command sudo yum install -y kernel*devel kernel*headers
but it still won't work,

Code:
[root@localhost /]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules                         [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS[  OK  ]
Starting VirtualBox kernel modules                         [ÉCHOUÉ]
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why)
Or install dkms to automaticly update the virtual box kernel modules.

dkms is already installed:
Code:
[root@localhost /]# rpm -q dkms
dkms-2.2.0.3-4.fc18.noarch
But, as I said above, I install it by
yum install dkms

Does it need some setting/config?

Thanks a lot

---------- Post added at 12:07 PM ---------- Previous post was at 12:01 PM ----------

Thanks SMR54, but my Kernel-devel are the same as the command result uname -r

Code:
[root@localhost /]# uname -r
3.8.4-202.fc18.x86_64
[root@localhost /]# rpm -q kernel-devel
kernel-devel-3.8.4-202.fc18.x86_64


---------- Post added at 12:52 PM ---------- Previous post was at 12:07 PM ----------

Hey guys,

I wrote the command sudo yum install -y kernel*devel kernel*headers of "sea" I restarted y computer and try this command
Code:
[root@localhost /]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules                         [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS[  OK  ]
Starting VirtualBox kernel modules                         [ÉCHOUÉ]
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why)
Ok it won't work, as I said above...

Then I had a look in the bios, and I saw that the Secure Boot is enable (there was Windows 8 on this computer before...) I disabled it just in case, and then it works!!!!!!!!

If somebody is enought good in secure boot for to tell me if it can have an impact? If yes, it could be great to inform developper team... Or maybe the command of sea took effect only after 2 reboot?
  #5  
Old 25th March 2013, 03:38 PM
DBelton Online
Administrator
 
Join Date: Aug 2009
Posts: 8,435
linuxfirefox
Re: VirtualBox won't work: Kernel driver not installed (rc=-1908)

Yes, secure boot could have a definite impact if the virtualbox kernel module isn't signed. That is exactly what secure boot is supposed to prevent.

With secure boot, your kernel and all kernel modules have to be signed.

Now this is where things get tricky or flat out painful.

You kernel is signed by Fedora using their key. Fedora isn't going to sign the virtualbox drivers, especially since it goes against their FOSS policy. Oracle can't sign virtualbox using Fedora's key.

So, you are pretty much left with 2 options.

1: Disable secure boot

or

2: get your own key and sign everything yourself.
  #6  
Old 28th March 2013, 03:37 PM
sebby12 Offline
Registered User
 
Join Date: Mar 2013
Location: France
Posts: 3
linuxfirefox
Re: VirtualBox won't work: Kernel driver not installed (rc=-1908)

Thanks a lot DBelton for that details!!!!

That really interesting.

best
  #7  
Old 12th June 2014, 11:16 AM
martain Offline
Registered User
 
Join Date: Jun 2014
Location: Zagreb
Posts: 2
linuxchrome
Re: VirtualBox won't work: Kernel driver not installed (rc=-1908)

Quote:
Originally Posted by sea View Post
Try it with:
Code:
sudo yum install -y kernel*devel kernel*headers
sudo /etc/init.d/vboxdrv setup
Sea, God bless you, after killing some time trying to give life to my Virtualbox I saw your post and it worked for me. So simple! Just 2 commands in terminal
  #8  
Old 22nd January 2016, 09:14 AM
mikrobyte Offline
Registered User
 
Join Date: Dec 2015
Location: The Netherlands
Posts: 14
linuxfedorafirefox
Re: VirtualBox won't work: Kernel driver not installed (rc=-1908)

none of the options was working for me until i:


[root@L0calh0st sbin]# /usr/lib/virtualbox/vboxdrv.sh setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [ OK ]
[root@L0calh0st sbin]#


and then it was back to business as usual.
Closed Thread

Tags
driver, installed, kernel, rc1908, virtualbox, work

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox Kernel driver not installed (rc=-1908) pythonkr11 Installation, Upgrades and Live Media 3 22nd January 2016 09:15 AM
VirtualBox Kernel driver not installed rc=-1908 JValeck Using Fedora 17 19th March 2014 08:49 PM
I have virtualbox installed but can't install windows 7 keeps asking for driver disk buffalosolja42 Wibble 10 15th December 2011 09:57 PM
Nvidia driver installed, and now fedora won't work at all LutraMan Using Fedora 34 17th April 2009 12:27 PM
innotek VirtualBox 1.5 / FC6 / can't / kernel driver not installed zealot Using Fedora 3 4th December 2007 10:16 PM


Current GMT-time: 17:19 (Saturday, 24-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat