Rabu, 06 Februari 2013

VirtualBox Kernel driver not installed (rc=-1908) - Setelah Update Fedora 17

Setelah seharian proses Update Fedora 17 yang saya lakukan dengan menjalankan "$ sudo yum update”, saya mendapatkan masalah dalam menjalankan VirtualBox yang sebelumnya sudah saya install. Saat menjalankan Virtualbox saya mendapatkan pesan berikut dari jendela kedua yang muncul :

Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded.
If you installed or VirtualBox package recently you need to restart the computer for the driver to load.
Alternatively, you may attempt to load the driver by issuing the following command with system administrator (root) privileges:
'/etc/sysconfig/modules/VirtualBox.modules'

Setelah mencari beberapa solusi di google, akhirnya saya menemukan solusi yang tepat, yaitu dari situs https://ask.fedoraproject.org/question/1938/virtualbox-kernel-driver-not-installed-rc-1908, yang sepertinya saya memiliki masalah yang persis sama dengannya. Berikut cuplikan dari situs tersebut :



Pertanyaan

Hi guys,
I have installed VirtualBox from rpmfusion on fedora 17. Now I have updated to kernel 3.4.3-1.fc17.x86_64 virtualbox shows this error when running a ubuntu VM:
Failed to open a session for the virtual machine Ubuntu.
The virtual machine 'Ubuntu' has terminated unexpectedly during startup with exit code 1.
Detail:
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}



There is a second error message:
Kernel driver not installed (rc=-1908)    
The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded.    
If you installed or VirtualBox OSE package recently you need to restart the computer for the
driver to load.    
Alternatively, you may attempt to load the driver by issuing the following command with system 
administrator (root) privileges:    
'/etc/sysconfig/modules/VirtualBox-OSE.modules'
I looked at /etc/sysconfig/modules/VirtualBox-OSE.modules and it doesn't exists. There is another similar file: /etc/sysconfig/modules/VirtualBox.modules. I ran this, but it shows:
ERROR: Module vboxdrv not found.
ERROR: Module vboxnetflt not found.
ERROR: Module vboxnetadp not found.
Can anyone help?
VirtualBox: VirtualBox-4.1.16-3.fc17.x86_64
kmod-VirtualBox: kmod-VirtualBox-4.1.16-1.fc17.2.x86_64
dkms: dkms-2.2.0.3-3.fc17.noarch
.          .          .
.          .          .
.          .          .
.          .          .
Solusi yang tepat :
Install specific kernel modules package for your kernel.
Get your version kernel:
$ uname -r
Then install the corresponding kmod-VirtualBox-* package:
$ yum search kmod-VirtualBox
Finally, run:
$ /etc/sysconfig/modules/VirtualBox.modules
Dari petunjuk tersebut, saya pun mengikuti langkah-langkah nya :
[it@svr-fdr17 ~]$ uname -r
3.7.3-101.fc17.i686.PAE 

[it@svr-fdr17 ~]$ rpm -qa | grep kmod-V*
kmod-VirtualBox-3.7.3-101.fc17.i686-4.2.6-1.fc17.7.i686
kmod-VirtualBox-4.2.6-1.fc17.7.i686
kmod-libs-7-2.fc17.i686
kmod-VirtualBox-3.6.10-2.fc17.i686-4.2.4-3.fc17.7.i686
kmod-7-2.fc17.i686 


[it@svr-fdr17 ~]$ yum search kmod-VirtualBox
                                      .
                                      .
kmod-VirtualBox-3.6.9-2.fc17.i686.i686 : VirtualBox kernel module(s) for
: 3.6.9-2.fc17.i686
kmod-VirtualBox-3.6.9-2.fc17.i686.PAE.i686 : VirtualBox kernel module(s) for
: 3.6.9-2.fc17.i686.PAE
kmod-VirtualBox-3.7.3-101.fc17.i686.i686 : VirtualBox kernel module(s) for
: 3.7.3-101.fc17.i686
kmod-VirtualBox-3.7.3-101.fc17.i686.PAE.i686 : VirtualBox kernel module(s) for
: 3.7.3-101.fc17.i686.PAE
kmod-VirtualBox-PAE.i686 : Metapackage which tracks in VirtualBox kernel module
: for newest kernel-PAE
Name and summary matches only, use "search all" for everything.

[it@svr-fdr17 ~]$ sudo yum install kmod-VirtualBox-3.7.3-101.fc17.i686.PAE.i686
[sudo] password for it:
Loaded plugins: fastestmirror, langpacks, presto, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: ftp.mirror.tw
* rpmfusion-free: mirrors.163.com
* rpmfusion-free-updates: mirrors.163.com
* rpmfusion-nonfree: mirrors.163.com
* rpmfusion-nonfree-updates: mirrors.163.com
* updates: mirror.nus.edu.sg
8 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package kmod-VirtualBox-3.7.3-101.fc17.i686.PAE.i686 0:4.2.6-1.fc17.7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
=================================================

i686 4.2.6-1.fc17.7 rpmfusion-free-updates 179 k
Transaction Summary
=================================================
Install 1 Package
Total download size: 179 k
Installed size: 616 k
Is this ok [y/N]: y
Downloading Packages:
kmod-VirtualBox-3.7.3-101.fc17.i686.PAE-4.2.6-1.fc17.7.i | 179 kB 00:28
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kmod-VirtualBox-3.7.3-101.fc17.i686.PAE-4.2.6-1.fc17.7.i68 1/1
Verifying : kmod-VirtualBox-3.7.3-101.fc17.i686.PAE-4.2.6-1.fc17.7.i68 1/1
Installed:
kmod-VirtualBox-3.7.3-101.fc17.i686.PAE.i686 0:4.2.6-1.fc17.7
Complete!

[it@svr-fdr17 ~]$ sudo /etc/sysconfig/modules/VirtualBox.modules


Dan setelah saya mencoba menjalankan kembali VirtualBox, Alhamdulillah akhirnya VirtualBox saya bisa berjalan dengan baik sekali seperti sedia kala.

Tidak ada komentar:

Posting Komentar