LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2012, 09:13 AM   #1
J.A.X
Member
 
Registered: Jan 2010
Distribution: Fedora 19
Posts: 83

Rep: Reputation: 3
VitrualBox module vboxdrv, vboxnetflt, vboxnetadp


Hello all,

I'm using Fedora 17 x86_64 bit, I was working with kernel version 3.3.7-1.fc17.x86_64.

I had virtualbox running [ OK ].

Then I wanted to update ( yum update -y), during the update my kernel was upgraded to 3.4.0-1.fc17.x86_64.

But then there was a problem with my VirtualBox, the problem as follows:

When I try to run one of my installed (in VBOX) OSs, VBOX tells me this messege :

PHP Code:
Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrvis probably not loaded.

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

Alternativelyyou may attempt to load the driver by issuing the following command with system administrator (rootprivileges:

'/etc/sysconfig/modules/VirtualBox-OSE.modules' 
So (after a reboot) I do as VBOX says (as root)

PHP Code:
'/etc/sysconfig/modules/VirtualBox-OSE.modules' 
Then I got this :

PHP Code:
ERRORModule vboxdrv not found.
ERRORModule vboxnetflt not found.
ERRORModule vboxnetadp not found
I've no Idea how to add or remove or configure a module

Please help.
 
Old 06-16-2012, 09:28 AM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
See this link -->http://download.virtualbox.org/virtu...UserManual.pdf

Look through the section on linix installation. It lists the things that have to be on your system.

They include DKMS and the kernel headers for the current kernel. The original modules were there if v-box was working. With the nes kernel, something is missing. If you have the correct herders and DKMS installed, new vbox* files would have been generated.
 
Old 06-16-2012, 01:52 PM   #3
J.A.X
Member
 
Registered: Jan 2010
Distribution: Fedora 19
Posts: 83

Original Poster
Rep: Reputation: 3
Thank you camorri, but according to the manual

PHP Code:
2.3.2 The VirtualBox kernel module 
Which is on page 35, it says

PHP Code:
If DKMS is available and installedthe VirtualBox kernel module should always work automat-
ically, and it will be automatically rebuilt if your host kernel is updated.
Otherwisethere are only two situations in which you will need to worry about the kernel
module

Which is my case (no DKMS), after that it says :

PHP Code:
The kernel of your Linux host was updated and DKMS is not installedIn that case, the
kernel module will need to be reinstalled by executing 
(as root):
/
etc/init.d/vboxdrv setup 
Which is exactly my case, so I tried /etc/init.d/vboxdrv setup and get: No such file or directory ...

I've tried to reinstall but did not work, knowing that I've installed DKMS (after it was too late ).
 
Old 06-16-2012, 05:22 PM   #4
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Have you got the kernel headers for the new kernel installed? You are missing something, and the headers are the best bet.
 
Old 06-17-2012, 04:27 PM   #5
J.A.X
Member
 
Registered: Jan 2010
Distribution: Fedora 19
Posts: 83

Original Poster
Rep: Reputation: 3
Yes, kernel headers are installed

PHP Code:
[root@localhost rc1.d]# rpm -qa|grep kernel
libreport-plugin-kerneloops-2.0.10-3.fc17.x86_64
kernel
-devel-3.4.0-1.fc17.x86_64
kernel
-headers-3.4.0-1.fc17.x86_64
abrt
-addon-kerneloops-2.0.10-4.fc17.x86_64
kernel
-3.3.4-5.fc17.x86_64
kernel
-3.4.0-1.fc17.x86_64
kernel
-devel-3.3.4-5.fc17.x86_64 
Thank you camorri for ur time
 
Old 06-17-2012, 08:22 PM   #6
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
What happens if you run the command
Quote:
/etc/init.d/vboxdrv setup
Could you run it, and if there are errors, post the error text.
 
Old 06-20-2012, 07:26 AM   #7
koxy
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
Hello, J.A.X.
I have solved this problem by installing kmod-VirtualBox package from rpmfusion repository. My VirtualBox package is also installed from this repo.

Seems like DKMS installation and running command:
Quote:
/etc/init.d/vboxdrv setup
works only if you have installed VirtualBox from official repository, not from RPM Fusion.
 
Old 06-20-2012, 09:05 AM   #8
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
J.A.X. can you mark the thread 'solved' with the thread tools please.
 
  


Reply


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] virtualbox 4.0 won't compile it's vboxdrv module radiodee1 Debian 2 07-16-2011 02:01 PM
[SOLVED] Where to get vboxdrv.ko for 2.6.31.3 kernel? sevs Linux - Software 7 03-14-2010 08:17 AM
LXer: Running VitrualBox (OSE) on OpenSuse 10.3 LXer Syndicated Linux News 0 01-22-2008 02:11 AM
LXer: Running VitrualBox (OSE) on OpenSuse 10.3 LXer Syndicated Linux News 0 01-21-2008 09:41 PM
no vboxdrv sycamorex Linux - Software 4 12-28-2007 08:45 AM


All times are GMT -5. The time now is 06:41 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration