Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26th June 2012, 01:52 AM
Nobody999 Offline
Registered User
 
Join Date: Jun 2012
Location: united states
Posts: 15
linuxchrome
Virtual box problem

Hello, I am running F17 and after install updates yesterday one of which was a kernal update i get the following error when trying to start a virtual machine OS:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded.

If you installed or VirtualBox OSE package recently you need to restart the computer for the driver to load.

Alternatively, you may attempt to load the driver by issuing the following command with system administrator (root) privileges:

'/etc/sysconfig/modules/VirtualBox-OSE.modules'

After running the cammand the error log told me to run i get the following from the terminal


[Kevins@Wardriver999 Kevins]$ /etc/sysconfig/modules/VirtualBox-OSE.modules
bash: /etc/sysconfig/modules/VirtualBox-OSE.modules: No such file or directory
[Kevins@Wardriver999 Kevins]$

I have looked online for a fix but i cannot seem to find any that work. Does anyone here have a fix for this problem? Thank you in advance.:confused
Reply With Quote
  #2  
Old 26th June 2012, 03:56 AM
mikee's Avatar
mikee Offline
Registered User
 
Join Date: Aug 2011
Location: Minnesota
Posts: 435
linuxfirefox
Re: Virtual box problem

Do this to see if the modules are loaded:

]# /etc/init.d/vboxdrv status
VirtualBox kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) are loaded.

You can rebuild them for a newer kernel like this:

# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modulesError! There are no instances of module: vboxhost
4.1.18 located in the DKMS tree.
[ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [ OK ]
Reply With Quote
  #3  
Old 26th June 2012, 09:02 PM
Nobody999 Offline
Registered User
 
Join Date: Jun 2012
Location: united states
Posts: 15
linuxchrome
Re: Virtual box problem

Quote:
Originally Posted by mikee View Post
Do this to see if the modules are loaded:

]# /etc/init.d/vboxdrv status
VirtualBox kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) are loaded.

You can rebuild them for a newer kernel like this:

# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modulesError! There are no instances of module: vboxhost
4.1.18 located in the DKMS tree.
[ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [ OK ]
O k I ran the first command and this is what I got:


[Kevins@Wardriver999 /]$ /etc/init.d/vboxdrv status
bash: /etc/init.d/vboxdrv: No such file or directory

The last time I installed updates I had the same problem with vbox so I uninstalled it and reinstalled it and it worked fine after that but I was trying to avoid doing that again.

I also ran the rebuild command and I get the following:

bash: /etc/init.d/vboxdrv: No such file or directory
[Kevins@Wardriver999 /]$

I don't know maybe I am in the wrong direstory. I ran theses command in root.
Reply With Quote
  #4  
Old 26th June 2012, 09:49 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,618
linuxfirefox
Re: Virtual box problem

Do you have kernel-devel installed? Try

Code:
yum install kernel-devel
Or update kernel-devel if installed already and not updated.
Reply With Quote
  #5  
Old 26th June 2012, 10:36 PM
Nobody999 Offline
Registered User
 
Join Date: Jun 2012
Location: united states
Posts: 15
linuxchrome
Re: Virtual box problem

Quote:
Originally Posted by nonamedotc View Post
Do you have kernel-devel installed? Try

Code:
yum install kernel-devel
Or update kernel-devel if installed already and not updated.
I ran the yum install command for kernel-devel and it appears that i have the latest version.


Package kernel-devel-3.4.3-1.fc17.x86_64 already installed and latest version
Nothing

This is used to compile kernel modules as you know but i am not sure how to use this in this situation. I fyou can show me what to do since i have this installed already? Thank you.
Reply With Quote
  #6  
Old 30th June 2012, 02:34 PM
geeeHUn Offline
Registered User
 
Join Date: Jun 2012
Location: Nyír1
Posts: 5
linuxopera
Re: Virtual box problem

gcc installed? if i remember right, that will need to compile it, also dkms and you need to add your username to the "vboxusers" group.
Reply With Quote
  #7  
Old 1st July 2012, 02:42 AM
KenJackson Offline
Registered User
 
Join Date: Aug 2008
Location: Maryland, USA
Posts: 90
linuxfirefox
Re: Virtual box problem

Quote:
Originally Posted by Nobody999 View Post
O k I ran the first command and this is what I got:

[Kevins@Wardriver999 /]$ /etc/init.d/vboxdrv status
bash: /etc/init.d/vboxdrv: No such file or directory
That looks like the file /etc/init.d/vboxdrv is missing altogether.
That file is part of the VirtualBox package.
Try:
rpm -q "VirtualBox*"

If it's not installed, try:
sudo yum install VirtualBox


As a side note, I just noticed I still have VirtualBox-4.0-4.0.14 installed and it wasn't upgraded to Oracle's VirtualBox-4.1 when I did yum update. I wonder what's up with that.
Reply With Quote
  #8  
Old 8th July 2012, 03:41 PM
cheerio158's Avatar
cheerio158 Offline
Registered User
 
Join Date: Apr 2005
Location: Toronto, Ontario, Canada
Posts: 215
linuxchrome
Re: Virtual box problem

Quote:
Originally Posted by KenJackson View Post
That looks like the file /etc/init.d/vboxdrv is missing altogether.
That file is part of the VirtualBox package.
Try:
rpm -q "VirtualBox*"

If it's not installed, try:
sudo yum install VirtualBox


As a side note, I just noticed I still have VirtualBox-4.0-4.0.14 installed and it wasn't upgraded to Oracle's VirtualBox-4.1 when I did yum update. I wonder what's up with that.
I had the same problem after updating to kernel-3.4.4-5.fc17.x86_64. Virtualbox was working fine before that.

To resolve, I performed:
  1. # yum erase VirtualBox
  2. # yum install VirtualBox
  3. # /etc/sysconfig/modules/VirtualBox.modules
This time, the modules existed and were inserted. Some hiccup happened somewhere.

My version of Virtualbox:
$ rpm -qa|grep -i virtualbox
VirtualBox-4.1.16-6.fc17.x86_64
kmod-VirtualBox-3.4.4-5.fc17.x86_64-4.1.16-1.fc17.5.x86_64
__________________
Desktop Smolt profile
Laptop Smolt profile
EeePC Smolt profile
Reply With Quote
  #9  
Old 10th July 2012, 09:40 AM
subxel Offline
Registered User
 
Join Date: Jul 2012
Location: Israel
Posts: 6
linuxfirefox
Re: Virtual box problem

I had the same problem:

did the following:
# yum erase VirtualBox
# yum install VirtualBox
# yum update

and then it worked.
Reply With Quote
  #10  
Old 12th July 2012, 10:43 AM
davak Offline
Registered User
 
Join Date: Jul 2012
Location: Prague, CZE
Posts: 2
linuxchrome
Re: Virtual box problem

Yea, it's pain it the ass, it actually happens anytime kernel is updated. Well, my temporary "dirty" solution is adding following alias to /root/.bashrc (and then using that alias instead of standard upgrade cmd)

Code:
alias upgrade='yum upgrade && yum erase VirtualBox && yum install VirtualBox && /etc/sysconfig/modules/VirtualBox.modules'
I don't consider this a good solution though. Does anyone have any better ideas?

D.
Reply With Quote
  #11  
Old 12th July 2012, 10:56 AM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: Virtual box problem

Quote:
Originally Posted by davak View Post
Yea, it's pain it the ass, it actually happens anytime kernel is updated. Well, my temporary "dirty" solution is adding following alias to /root/.bashrc (and then using that alias instead of standard upgrade cmd)

Code:
alias upgrade='yum upgrade && yum erase VirtualBox && yum install VirtualBox && /etc/sysconfig/modules/VirtualBox.modules'
I don't consider this a good solution though. Does anyone have any better ideas?

D.
Code:
su
yum install akmod-VirtualBox
Reply With Quote
  #12  
Old 19th July 2012, 03:00 PM
davak Offline
Registered User
 
Join Date: Jul 2012
Location: Prague, CZE
Posts: 2
linuxchrome
Re: Virtual box problem

Works great! I consider this solved.
Reply With Quote
  #13  
Old 26th July 2012, 01:21 PM
VN1980 Offline
Registered User
 
Join Date: Jun 2012
Location: Chennai
Posts: 29
linuxfirefox
Re: Virtual box problem

Hi
As an end user I found that Virtual Box works well immediately on installation of Fedora and some 3 or 4 Kernel Upgrades. After that, it does not work. What ever the solutions are given by Forum People or other internet pages, it does not work. By the time we get frustrated and feel totally gone, a new release of Fedora Comes and the issue is postponed for another 6 months. This is my experience since I started using Fedora 15 to till date.

Now I simply at boot menu select the lowest kernel in which Virtual Box Worked and works on it in case of need.

Yours
VN
Reply With Quote
Reply

Tags
box, problem, virtual

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
Virtual network/routing problem in FC15 (no problem in FC14, FC13) wlpl Servers & Networking 12 28th June 2011 02:01 PM
Sun Virtual Box Setup Problem Peter_APIIT Using Fedora 12 6th August 2009 01:58 PM
Virtual disk images (virtual box - virtual machine manager) beaker_ Using Fedora 0 2nd July 2009 01:19 PM
problem creating a new virtual system with Virtual Machine Manager in Fedora 7 reboot Using Fedora 3 3rd June 2007 01:51 AM
Hey, Problem with virtual CD-ROM Alerander Using Fedora 4 26th December 2005 07:08 AM


Current GMT-time: 07:48 (Wednesday, 22-05-2013)

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