LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-24-2010, 02:30 AM   #1
digsecurity
Member
 
Registered: Apr 2010
Posts: 54

Rep: Reputation: 18
virtual box failed to boot after kernel update


Hi all,
I am using fedora13 as my host machine. My virtual machine failed to boot after I updated my kernel with "yum update kernel" command.

This is the error when I try to boot my VM.

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. 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.
Here is the output of '/etc/init.d/vboxdrv setup' command

Quote:
[root@krishna ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
And output of /var/log/vbox-install.log
Quote:
[root@krishna ~]# cat /var/log/vbox-install.log
Attempting to install using DKMS
removing old DKMS module vboxdrv version 3.1.8

------------------------------
Deleting module version: 3.1.8
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxdrv/3.1.8/source ->
/usr/src/vboxdrv-3.1.8

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.33.5-124.fc13.x86_64 cannot be found at
/lib/modules/2.6.33.5-124.fc13.x86_64/build or /lib/modules/2.6.33.5-124.fc13.x86_64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:152: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
What should I do now.
 
Old 06-24-2010, 03:18 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

You need to update also your kernel sources.
Compiling a driver needs the sources for the running kernel

Regards
 
Old 06-24-2010, 06:23 AM   #3
digsecurity
Member
 
Registered: Apr 2010
Posts: 54

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by bathory View Post
Hi,

You need to update also your kernel sources.
Compiling a driver needs the sources for the running kernel

Regards
Thanks, I updated the kernel-devel package with "yum update kernel-devel" command and ran the "/etc/init.d/vboxdrv setup" command. Everything is normal now.
 
  


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
Is dual boot still possible with Sun Virtual Box? beckettisdogg Linux - Newbie 19 12-04-2009 12:27 AM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 02:04 PM
kernel compile in Virtual Box ic_torres Linux - Kernel 2 06-04-2008 03:13 AM
Converting a Dual Boot Box and Network Into Virtual Machines Woodsman Slackware 2 04-18-2008 11:28 PM
Failed to boot my box! tarballedtux Linux - Software 14 07-15-2002 06:52 PM


All times are GMT -5. The time now is 08:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration