LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2009, 03:08 PM   #1
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Rep: Reputation: 22
Virtualbox Error - Kernel driver not installed (rc=-1908)


Hi,

I've googled this a lot, and cannot find anything that works for me.

Whenever I try to start one of my virtual machines virtualbox gives two errors:

Quote:
Failed to open a session for the virtual machine MS-Dos 6.22.
Virtual machine 'MS-Dos 6.22' has terminated unexpectedly during startup.

Details:

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {540dcfda-3df2-49c6-88fa-033a28c2ff85}
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. Re-setup 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.
If I run that script it outputs:

Quote:
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
/var/log/vbox-install.log:

Quote:
Attempting to install using DKMS
removing old DKMS module vboxdrv version 3.0.8

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

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

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.30.8-64.fc11.i586 cannot be found at
/lib/modules/2.6.30.8-64.fc11.i586/build or /lib/modules/2.6.30.8-64.fc11.i586/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
I have reinstalled more than once, this doesn't work either.

Anyone know what is wrong?

~Callum
 
Old 10-13-2009, 03:13 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,272
Blog Entries: 61

Rep: Reputation: Disabled
Looks like you need to install your kernel source. Don't know the procedure for Fedora.
 
Old 10-13-2009, 03:23 PM   #3
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
I have no idea what that means.

This one? http://www.linuxquestions.org/questi...ources-211477/

~Callum
 
Old 10-13-2009, 03:25 PM   #4
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
yum install kernel-sourcecode doesn't work anyway.

~Callum
 
Old 10-13-2009, 03:44 PM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
kernel-headers-2.6.30.8-64.fc11.i586 ??
 
Old 10-13-2009, 05:32 PM   #6
THCsphere
Member
 
Registered: May 2008
Location: Chicago, IL
Distribution: Slackware
Posts: 37

Rep: Reputation: 16
If you did infact install the whole thing

go to /etc/rc.d/ and boot rc.vboxdrv

If this does not work, you need the Virtual Box kernel, or if you have a rc.vboxdrvnew or with a 1 on it, Replace that over your old one. I had this same issue and thats what mine was
 
Old 10-14-2009, 11:12 AM   #7
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
Quote:
[root@desktop-fedora callum]# yum install kernel-headers-2.6.30.8-64.fc11.i586
Loaded plugins: refresh-packagekit
adobe-linux-i386 | 951 B 00:00
updates/metalink | 15 kB 00:00
updates | 4.4 kB 00:00
updates/primary_db | 4.1 MB 00:10
Setting up Install Process
Package kernel-headers-2.6.30.8-64.fc11.i586 already installed and latest version
Nothing to do


Quote:
Originally Posted by THCsphere View Post
If you did infact install the whole thing

go to /etc/rc.d/ and boot rc.vboxdrv

If this does not work, you need the Virtual Box kernel, or if you have a rc.vboxdrvnew or with a 1 on it, Replace that over your old one. I had this same issue and thats what mine was
in /etc/rc.d/ there is no file called rc.vboxdrv, or anything to do with virtualbox. In /etc/rc.d/init.d there is a file called vboxdrv, that one?

Sorry, but what's the Virtual Box kernel? I'm pretty new to Linux, and really new to Fedora.

~Callum
 
Old 10-14-2009, 11:19 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,272
Blog Entries: 61

Rep: Reputation: Disabled
Run lsmod, to see if the module has been built and installed.
 
Old 10-14-2009, 11:49 AM   #9
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
Have some unreadable text:

Quote:
Module Size Used by
fuse 49412 2
sunrpc 155648 1
nf_conntrack_netbios_ns 2104 0
ip6t_REJECT 4532 2
ip6t_ipv6header 1820 2
nf_conntrack_ipv6 17716 5
ip6table_filter 3148 1
ip6_tables 10960 2 ip6t_ipv6header,ip6table_filter
ipv6 235696 22 ip6t_REJECT,nf_conntrack_ipv6
p4_clockmod 4344 0
dm_multipath 14040 0
ppdev 6480 0
snd_intel8x0 28148 3
snd_ac97_codec 91984 1 snd_intel8x0
ac97_bus 1408 1 snd_ac97_codec
snd_pcm 62556 3 snd_intel8x0,snd_ac97_codec
snd_timer 17876 1 snd_pcm
snd 50336 9 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
i2c_i801 10196 0
pcspkr 2168 0
serio_raw 5088 0
soundcore 5476 1 snd
snd_page_alloc 7712 2 snd_intel8x0,snd_pcm
iTCO_wdt 10348 0
iTCO_vendor_support 2752 1 iTCO_wdt
e100 28660 0
mii 4024 1 e100
parport_pc 22492 0
parport 28968 2 ppdev,parport_pc
floppy 47260 0
ata_generic 4288 0
pata_acpi 3648 0
i915 154028 2
drm 167584 2 i915
i2c_algo_bit 4788 1 i915
video 18696 1 i915
output 2440 1 video
i2c_core 24984 4 i2c_i801,i915,drm,i2c_algo_bit
Nothing about vbox.

~Callum
 
Old 10-14-2009, 12:22 PM   #10
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
Followed this: http://www.derekhildreth.com/blog/ho...a-11-tutorial/

Fixed.

Thanks for all your help

~Callum
 
Old 10-28-2009, 01:11 PM   #11
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
Problem is back with a new install of Fedora. Done everything I can think of. One thing I noticed:

Quote:
Originally Posted by vbox-install.log
Error! Your kernel source for kernel 2.6.29.4-167.fc11.i586 cannot be found at
/lib/modules/2.6.29.4-167.fc11.i586/build or /lib/modules/2.6.29.4-167.fc11.i586/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Those files/directories do not exist. This is also not the latest kernel, how do I get it to use the most recent kernel?

~Callum
 
Old 10-28-2009, 02:13 PM   #12
callumacrae
Member
 
Registered: Sep 2009
Distribution: Fedora and Ubuntu
Posts: 126

Original Poster
Rep: Reputation: 22
How do I create a symbolic link?

I've tried:

Quote:
ln -s /usr/src/kernels/2.6.29.4-167.fc11.i586 /lib/modules/2.6.29.4-167.fc11.i586/build
Didn't work though.

~Callum
 
  


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
Pre-Installed Calculate Linux 9.7 in VirtualBox 3.0 VirtualBoxImages.com Calculate 2 10-16-2009 05:50 AM
VirtualBox and KVM installed at the same time - any problems? catkin Linux - Software 3 09-07-2009 07:49 AM
installed new kernel module -- now wireless driver fails to load properly geomatt Slackware 3 12-05-2007 03:52 PM
[ATI r9600 driver] - QT installed, still error from QT MaicoMedia Linux - Hardware 0 10-18-2004 06:50 AM
installed pcmcia driver and orinoco gold card kernel panics hotgirl101 Linux - Hardware 2 04-13-2004 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11: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
Open Source Consulting | Domain Registration