Fedora Linux Support Community & Resources Center
  #1  
Old 24th April 2012, 01:54 AM
JValeck Offline
Registered User
 
Join Date: Jan 2010
Location: Vernonia, Oregun
Posts: 122
linuxfirefox
VirtualBox Kernel driver not installed rc=-1908

I have been running Vbox v4.1.6 for some time and a couple of days ago I got the following message when I tried to start my virtual XP machine, "Kernel driver not installed rc=-1908". Then is said to run the following command "/etc/init.d/vboxdrv setup". Below are the results:

[root@localhost r2d2]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Removing old VirtualBox netadp kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 2.6.42.12-1.fc15.x86_64 (x86_64)
Consult /var/lib/dkms/vboxhost/4.1.6/build/make.log for more information.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@localhost r2d2]#

I have attached the two log files but I am not knowegeable enough to interpet.
Thanks for any help !
-Val
Attached Files
File Type: log make.log (8.0 KB, 93 views)
File Type: log vbox-install.log (161.4 KB, 100 views)
__________________
Fedora 19 64bit (Installed Dec. 2013)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
  #2  
Old 24th April 2012, 03:16 AM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,843
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

Do you have the corresponding kernel headers installed? I suspect that might be the problem ....

---------- Post added at 09:16 PM ---------- Previous post was at 09:14 PM ----------

Aha ! I found a thread with the same problem on VirtualBox forums.

Look at this thread on VirtualBox forums. This should provide the solution to your problem.
  #3  
Old 24th April 2012, 04:02 AM
JValeck Offline
Registered User
 
Join Date: Jan 2010
Location: Vernonia, Oregun
Posts: 122
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

This does not seem to be the problem:

[root@localhost r2d2]# rpm -qa | grep kernel
kernel-devel-2.6.42.12-1.fc15.x86_64
kernel-devel-2.6.42.9-1.fc15.x86_64
kernel-headers-2.6.42.12-1.fc15.x86_64
kernel-2.6.42.9-2.fc15.x86_64
abrt-addon-kerneloops-2.0.3-6.fc15.x86_64
kernel-devel-2.6.42.9-2.fc15.x86_64
kernel-2.6.42.12-1.fc15.x86_64
kernel-2.6.42.9-1.fc15.x86_64
[root@localhost r2d2]# yum install kernel-headers-$(uname -r)
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Package kernel-headers-2.6.42.12-1.fc15.x86_64 already installed and latest version
Nothing to do
__________________
Fedora 19 64bit (Installed Dec. 2013)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
  #4  
Old 24th April 2012, 04:22 AM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,843
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

Do take a look at the thread posted.

From the thread, you can find that the solution is ..

Quote:
make[2]: *** [/var/lib/dkms/vboxhost/4.1.6/build/vboxpci/linux/VBoxPci-linux.o] Erreur 1
make[1]: *** [/var/lib/dkms/vboxhost/4.1.6/build/vboxpci] Erreur 2
make: *** [_module_/var/lib/dkms/vboxhost/4.1.6/build] Erreur 2
make: on quitte le répertoire « /usr/src/kernels/2.6.41.1-1.fc15.x86_64 »


the file amd_iommu.h is not included in 2.6.41.1-1.fc15.x86_64 kernel version.

To resolve that problem i do this :
[user@linux]$ sudo find / -name amd_iommu.h
/usr/src/kernels/2.6.40.6-0.fc15.x86_64/arch/x86/include/asm/amd_iommu.h

Then

sudo cp /usr/src/kernels/2.6.40.6-0.fc15.x86_64/arch/x86/include/asm/amd_iommu.h /usr/src/kernels/2.6.41.1-1.fc15.x86_64/arch/x86/include/asm/


make attention for the version of your kernel


the result :

Starting VirtualBox kernel modules [ OK ]


The VirtualBox module work fine.
  #5  
Old 24th April 2012, 06:25 PM
JValeck Offline
Registered User
 
Join Date: Jan 2010
Location: Vernonia, Oregun
Posts: 122
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

Thanks but the file file amd_iommu.h is not found.

[root@localhost r2d2]# sudo find / -name amd_iommu.h
find: `/home/r2d2/.gvfs': Permission denied
find: `/proc/9090/task/9090/ns/net': No such file or directory
find: `/proc/9090/task/9090/ns/uts': No such file or directory
find: `/proc/9090/task/9090/ns/ipc': No such file or directory
find: `/proc/9090/ns/net': No such file or directory
find: `/proc/9090/ns/uts': No such file or directory
find: `/proc/9090/ns/ipc': No such file or directory
__________________
Fedora 19 64bit (Installed Dec. 2013)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
  #6  
Old 25th April 2012, 02:58 AM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,843
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

There is a file called iommu.h It could be the header file that is needed. That's what is indicated in your make.log file too. Copy that and try ... Just a suggestion.
  #7  
Old 25th April 2012, 04:13 AM
JValeck Offline
Registered User
 
Join Date: Jan 2010
Location: Vernonia, Oregun
Posts: 122
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

I did a search for iommu.h using Nautilus and found 15 files but some with 0 bytes, 5.5KB and some 239 bytes. Using the find command I get the following;

[root@localhost r2d2]# sudo find / -name iommu.h
/usr/src/kernels/2.6.42.9-1.fc15.x86_64/arch/x86/include/asm/iommu.h
/usr/src/kernels/2.6.42.9-1.fc15.x86_64/include/linux/iommu.h
/usr/src/kernels/2.6.42.9-1.fc15.x86_64/include/config/intel/iommu.h
/usr/src/kernels/2.6.42.9-1.fc15.x86_64/include/config/gart/iommu.h
/usr/src/kernels/2.6.42.9-1.fc15.x86_64/include/config/amd/iommu.h
/usr/src/kernels/2.6.42.12-1.fc15.x86_64/arch/x86/include/asm/iommu.h
/usr/src/kernels/2.6.42.12-1.fc15.x86_64/include/linux/iommu.h
/usr/src/kernels/2.6.42.12-1.fc15.x86_64/include/config/intel/iommu.h
/usr/src/kernels/2.6.42.12-1.fc15.x86_64/include/config/gart/iommu.h
/usr/src/kernels/2.6.42.12-1.fc15.x86_64/include/config/amd/iommu.h
/usr/src/kernels/2.6.42.9-2.fc15.x86_64/arch/x86/include/asm/iommu.h
/usr/src/kernels/2.6.42.9-2.fc15.x86_64/include/linux/iommu.h
/usr/src/kernels/2.6.42.9-2.fc15.x86_64/include/config/intel/iommu.h
/usr/src/kernels/2.6.42.9-2.fc15.x86_64/include/config/gart/iommu.h
/usr/src/kernels/2.6.42.9-2.fc15.x86_64/include/config/amd/iommu.h
find: `/home/r2d2/.gvfs': Permission denied

How do I choose the correct file?

Thanks for helping !
__________________
Fedora 19 64bit (Installed Dec. 2013)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
  #8  
Old 25th April 2012, 04:16 AM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,843
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

Good question! Honestly, I do not know. But, to start with - try /usr/src/kernels/2.6.42.9-1.fc15.x86_64/arch/x86/include/asm/iommu.h

---------- Post added at 10:16 PM ---------- Previous post was at 10:16 PM ----------

Only copy - do not move the file!
  #9  
Old 25th April 2012, 04:33 AM
JValeck Offline
Registered User
 
Join Date: Jan 2010
Location: Vernonia, Oregun
Posts: 122
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

I assum I should copy it to my latest kernal directory 2.6.42.12-1.fc15.x86_64 ?
__________________
Fedora 19 64bit (Installed Dec. 2013)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
  #10  
Old 25th April 2012, 04:35 AM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,843
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

Based on that solution and your log file, yes! It is also the directory where I have the said file!

Last edited by nonamedotc; 25th April 2012 at 04:37 AM.
  #11  
Old 25th April 2012, 05:57 AM
solo2101 Offline
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 796
linuxchrome
Re: VirtualBox Kernel driver not installed rc=-1908

why not reinstalling dkms?
  #12  
Old 25th April 2012, 07:58 PM
JValeck Offline
Registered User
 
Join Date: Jan 2010
Location: Vernonia, Oregun
Posts: 122
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

How would I reinstall DKMS ?
__________________
Fedora 19 64bit (Installed Dec. 2013)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
  #13  
Old 25th April 2012, 07:59 PM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,843
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

Try
Code:
yum reinstall dkms
  #14  
Old 26th April 2012, 05:39 AM
JValeck Offline
Registered User
 
Join Date: Jan 2010
Location: Vernonia, Oregun
Posts: 122
linuxfirefox
Unhappy Re: VirtualBox Kernel driver not installed rc=-1908

[root@localhost r2d2]# yum reinstall dkms
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Reinstall Process
Dropbox | 951 B 00:00
google-talkplugin | 951 B 00:00
rpmfusion-free-updates | 3.3 kB 00:00
rpmfusion-nonfree-updates | 3.3 kB 00:00
updates/metalink | 16 kB 00:00
updates | 4.5 kB 00:00
updates/primary_db | 7.0 MB 00:27
updates/group_gz | 435 kB 00:01
Resolving Dependencies
--> Running transaction check
---> Package dkms.noarch 0:2.2.0.3-1.fc15 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ==============================
Package Arch Version Repository Size
================================================== ==============================
Reinstalling:
dkms noarch 2.2.0.3-1.fc15 updates 105 k

Transaction Summary
================================================== ==============================
Reinstall 1 Package(s)

Total download size: 105 k
Installed size: 210 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
updates/prestodelta | 1.2 MB 00:04
Processing delta metadata
Package(s) data still to download: 105 k
dkms-2.2.0.3-1.fc15.noarch.rpm | 105 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : dkms-2.2.0.3-1.fc15.noarch 1/1

Installed:
dkms.noarch 0:2.2.0.3-1.fc15

Complete!
[root@localhost r2d2]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Removing old VirtualBox netadp kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 2.6.42.12-1.fc15.x86_64 (x86_64)
Consult /var/lib/dkms/vboxhost/4.1.6/build/make.log for more information.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@localhost r2d2]#

---------- Post added at 09:39 PM ---------- Previous post was at 09:02 PM ----------

Reran '/etc/init.d/vboxdrv setup' after moving iommu.h to latest kernal, see below.

[root@localhost r2d2]# sudo cp /usr/src/kernels/2.6.42.9-2.fc15.x86_64/include/linux/iommu.h /usr/src/kernels/2.6.42.12-1.fc15.x86_64/arch/x86/include/asm/
[root@localhost r2d2]# /etc/init.d/vboxdrv setupStopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Removing old VirtualBox netadp kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 2.6.42.12-1.fc15.x86_64 (x86_64)
Consult /var/lib/dkms/vboxhost/4.1.6/build/make.log for more information.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@localhost r2d2]#
__________________
Fedora 19 64bit (Installed Dec. 2013)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
  #15  
Old 26th April 2012, 03:22 PM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,843
linuxfirefox
Re: VirtualBox Kernel driver not installed rc=-1908

Are the errors in the log files same as before? If they are the same, I am not sure what could be done. I have seen some similar solutions in Virtualbox forums - May be you can try there?

May be I should have asked this question long time back - Are you using OSE or VirtualBox.org version? You are mixing files from both of these right?

One additional solution might be to reinstall virtualbox (may be) ..
Closed Thread

Tags
driver, installed, kernel, rc1908, virtualbox

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
I have virtualbox installed but can't install windows 7 keeps asking for driver disk buffalosolja42 Wibble 10 15th December 2011 09:57 PM
VirtualBox installed wrong version, now cannot remove kdchapman1776 Using Fedora 4 11th December 2011 03:55 PM
akmods fails to build VirtualBox-OSE driver for kernel 2.6.40-4 StyxD Using Fedora 13 27th August 2011 02:09 PM
Virtualbox Sound Driver jbkt23 Using Fedora 0 13th September 2009 12:40 AM
innotek VirtualBox 1.5 / FC6 / can't / kernel driver not installed zealot Using Fedora 3 4th December 2007 10:16 PM


Current GMT-time: 22:23 (Wednesday, 22-10-2014)

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
Afghanistan - Wilsonville Photos on Instagram - Castelo Branco