LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-29-2011, 04:11 PM   #1
cardineau
LQ Newbie
 
Registered: Jan 2011
Posts: 11

Rep: Reputation: 0
Oracle VM Virtual box on fedora 14


Installed VB on Fedora 14 ... all indications during installation normal. Tried to start VB and get this message:

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. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.


I then installed DKMS and executed the suggested file and got more errors about unloading DKMS and more problems. I need help or should I uninstall VB and try another Virtulization program?
 
Old 03-29-2011, 08:59 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,442

Rep: Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266Reputation: 3266
I have played with that and after a while you can get it working. DKMS is a way to fix VB when your distro updates stuff so that VB also knows the change.

Personally I'd consider vmplayer but you can continue to try working this out. All the errors are well documented on other posts, I know because I had those too. Let us know if you want to continue or change.
 
Old 03-29-2011, 09:24 PM   #3
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 97
Did you try running "/etc/init.d/vboxdrv setup"? That is the
command that compiles the kernel driver.

All dkms does is check at boot time if you have the driver
compiled for the current kernel. If it has not been compiled,
it will do that for you automatically. So let's start by
verifying that you have all the requirements to compile it
successfully.
 
Old 03-29-2011, 11:10 PM   #4
cardineau
LQ Newbie
 
Registered: Jan 2011
Posts: 11

Original Poster
Rep: Reputation: 0
OK here is what I got after installing dkms and then executing the /etc/init.d/vboxdrv setup


[ken@ken ~]$ su
Password:
[root@ken ken]# /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
Error! Your kernel source for kernel 2.6.35.6-45.fc14.i686 cannot be found at
/lib/modules/2.6.35.6-45.fc14.i686/build or /lib/modules/2.6.35.6-45.fc14.i686/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@ken ken]#



I will now go to /var/log/vbox-install.log and return with whatever I find.
 
Old 03-29-2011, 11:14 PM   #5
cardineau
LQ Newbie
 
Registered: Jan 2011
Posts: 11

Original Poster
Rep: Reputation: 0
here is the install log from /var/log/vbox-install.log



Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.0.4

------------------------------
Deleting module version: 4.0.4
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.0.4/source ->
/usr/src/vboxhost-4.0.4

DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:167: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
 
Old 03-30-2011, 09:21 PM   #6
cardineau
LQ Newbie
 
Registered: Jan 2011
Posts: 11

Original Poster
Rep: Reputation: 0
I would like to install this program, but if it's too tuff, I'll just reboot in windows. Seems everything I try to install in Linux has a problem.
 
Old 03-30-2011, 10:21 PM   #7
thuongquoc
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Rep: Reputation: 0
You should try in your host:
Quote:
su
root@yourhost:yum install dkms gcc
root@yourhost:/etc/init.d/vboxdrv setup
If you install Virtual Machine Additions you should install dkms only.
 
Old 03-31-2011, 04:43 AM   #8
cardineau
LQ Newbie
 
Registered: Jan 2011
Posts: 11

Original Poster
Rep: Reputation: 0
thuongquoc

I don't understand what you mean. You would have to be very explicit with me as I am a real novice.

Thank you
cardineau
 
Old 03-31-2011, 01:33 PM   #9
thuongquoc
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Rep: Reputation: 0
To start a virtual machine in VirtualBox your system must be installed DKMS and GCC. You can do by using Terminal.
First of all, open your Terminal and type:su then enter your password to become root.
Second, type yum install dkms gcc into your Terminal to install DKMS and GCC.
Final, type /etc/init.d/vboxdrv setup. After that your VM should be started.
If you install Virtual Machine Additions in your VM you should install dkms.

Last edited by thuongquoc; 03-31-2011 at 02:10 PM.
 
Old 03-31-2011, 10:20 PM   #10
cardineau
LQ Newbie
 
Registered: Jan 2011
Posts: 11

Original Poster
Rep: Reputation: 0
thuongquoc

Thank you for your response. I have done exactly as you have instructed. I still get the same results which I have posted above. I did open do to the "Build" script and "Source" scripts which point to the Kernal modules and they both state that they are broken and that the directory to which they point does not exist. I don't know how to install a kernal module in a certain directory to maybe fix this part. It is all a bit overwhelming to me. Thank you again and I do appreciate your help. From your name are you Vietnamese? We have a large Vietnamese population here in New Orleans and my wife is from South East Asia.
 
Old 03-31-2011, 10:57 PM   #11
thuongquoc
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Rep: Reputation: 0
Did you do yum update? I have tried to install the newest VirtualBox in a fresh Fedora 14 in several time. It was successful.
I'm a first-year student in university in Vietnam.
I'm a fan of Fedora, too Why don't you try Fedora 15 GNOME 3 Alpha? I think it's very good. Beta Release will be publish on 2011-04-19.

Last edited by thuongquoc; 03-31-2011 at 10:58 PM.
 
Old 04-01-2011, 06:39 AM   #12
cardineau
LQ Newbie
 
Registered: Jan 2011
Posts: 11

Original Poster
Rep: Reputation: 0
I shall try a new edition of Fedora as well as a new download of Virtual box. That wont happen until next week. I shall let you know the results.

thanks very much for your help and suggestions.

I am an 80 year old from New Orleans who has spent a few years in Asia. I loved it.
 
Old 04-01-2011, 12:12 PM   #13
thuongquoc
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Rep: Reputation: 0
May you tell me the results of starting VirtualBox after you did
Quote:
yum update
and
Quote:
/etc/init.d/vboxdrv setup
again.

Last edited by thuongquoc; 04-01-2011 at 12:21 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora-11-x86_64 on virtual box mobinskariya Linux - Newbie 4 03-31-2011 01:14 AM
LXer: Phoenix RC Simulator in Oracle Virtual Box 4.0 on Ubuntu 10.10 LXer Syndicated Linux News 0 03-21-2011 06:10 AM
[SOLVED] Installing Slack 13 on Oracle Virtual Box - fails to boot default kernel in DVD stevet2048 Linux - Virtualization and Cloud 3 01-29-2011 08:05 PM
Can't connect Oracle on Fedora Virtual Box aniceto Linux - Newbie 7 03-17-2010 05:49 PM
virtual box 2.1 problem on fedora 10 manojabala Linux - Software 1 01-08-2009 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:19 PM.

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
Open Source Consulting | Domain Registration