Bonjour à toutes et à tous,
N'ayant pas réussi à utiliser l'appli Boxes (topic :
http://forums.fedora-fr.org/viewtopic.php?id=63392) pour monter une VM de Windows 7,
j'ai décidé d'installer Virtualbox 4.3 mais j'ai l'erreur :
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. If it is a available in your distribution, you should install the DKMS package first.This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
J'ai trouvé plusieurs fois cette erreur sur le forum et j'ai essayé différentes choses.
Voici les infos que je peux fournir :
[root@localhost ~]# rpm -qa | grep -i virtualbox
VirtualBox-4.3-4.3.20_96996_fedora18-1.x86_64
[root@localhost ~]# yum list kernel*
Modules complémentaires chargés : langpacks
Paquets installés
kernel.x86_64 3.17.4-301.fc21 @koji-override-0/$releasever
kernel.x86_64 3.17.8-300.fc21 @updates
kernel-core.x86_64 3.17.4-301.fc21 @koji-override-0/$releasever
kernel-core.x86_64 3.17.8-300.fc21 @updates
kernel-devel.x86_64 3.18.3-201.fc21 @updates
kernel-modules.x86_64 3.17.4-301.fc21 @koji-override-0/$releasever
kernel-modules.x86_64 3.17.8-300.fc21 @updates
Paquets disponibles
kernel.x86_64 3.18.5-201.fc21 updates
kernel-core.x86_64 3.18.5-201.fc21 updates
kernel-debug.x86_64 3.18.5-201.fc21 updates
kernel-debug-core.x86_64 3.18.5-201.fc21 updates
kernel-debug-devel.x86_64 3.18.5-201.fc21 updates
kernel-debug-modules.x86_64 3.18.5-201.fc21 updates
kernel-debug-modules-extra.x86_64 3.18.5-201.fc21 updates
kernel-devel.x86_64 3.18.5-201.fc21 updates
kernel-headers.x86_64 3.18.5-201.fc21 updates
kernel-modules.x86_64 3.18.5-201.fc21 updates
kernel-modules-extra.x86_64 3.18.5-201.fc21 updates
kernel-rpm-macros.noarch 27-1.fc21 updates
kernel-tools.x86_64 3.18.5-201.fc21 updates
kernel-tools-libs.i686 3.18.5-201.fc21 updates
kernel-tools-libs.x86_64 3.18.5-201.fc21 updates
kernel-tools-libs-devel.i686 3.18.5-201.fc21 updates
kernel-tools-libs-devel.x86_64 3.18.5-201.fc21 updates
kernelshark.x86_64 2.2.1-5.fc21 fedora
[root@localhost ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Recompiling VirtualBox kernel modules [ÉCHOUÉ]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@localhost ~]# cat /var/log/vbox-install.log
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Arrêt.
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Arrêt.
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Arrêt.
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Arrêt.
[root@localhost ~]# uname -r
3.17.8-300.fc21.x86_64
[root@localhost ~]# yum install kernel-devel
[root@localhost ~]# yum install dkms
[root@localhost ~]# /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 DKMSError! echo
Your kernel headers for kernel 3.17.8-300.fc21.x86_64 cannot be found at
/lib/modules/3.17.8-300.fc21.x86_64/build or /lib/modules/3.17.8-300.fc21.x86_64/source.
[ÉCHOUÉ]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [ÉCHOUÉ]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@localhost ~]# rpm -qa |grep -i dkms
dkms-2.2.0.3-28.git.7c3e7c5.fc21.noarch
[root@localhost ~]# rpm -q kernel-devel
kernel-devel-3.18.3-201.fc21.x86_64
kernel-devel-3.18.5-201.fc21.x86_64
[root@localhost ~]# rpm -q gcc
gcc-4.9.2-1.fc21.x86_64
Ensuite, j'ai désinstallé Virtualbox et dkms
[root@localhost ~]# rpm -e VirtualBox-4.3-4.3.20_96996_fedora18-1.x86_64
[root@localhost ~]# yum erase dkms
erreur : db5 error(-30973) from dbenv->open: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
erreur : cannot open Packages index using db5 - (-30973)
erreur : impossible d'ouvrir la base de données paquet dans /var/lib/rpm
CRITICAL:yum.main:
Error: rpmdb open failed
Après cette erreur, j'ai rebooté pour recommencer la désinstallation dkms (avec succès cette fois).
J'ai installé à nouveau dkms et rebooté.
J'ai téléchargé la dernière version de
Virtualbox 4.3.22 pour la réinstaller.
Malheureusement même erreur !
🙁
Dites moi ce que je peux faire SVP... merci d'avance !!!