Recompiling VirtualBox kernel module

来源:互联网 发布:能听的软件 编辑:程序博客网 时间:2024/05/18 16:58

When i tried to setup the virtualbox, i got this error:

[root@unixmen-F13 Downloads]# /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)
[root@unixmen-F13 Downloads]#  yum -y install kernel-headers
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package kernel-headers-2.6.33.5-112.fc13.i686 already installed and latest version
Nothing to do

How  to  slove  this issue ?

Answer :

To resolve this issue you have to install kernel-PAE=devel package, this package provides kernel headers and makefiles sufficient to build modules against the PAE kernel package.

[root@unixmen-F13 Downloads]# yum install kernel-PAE-devel
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-PAE-devel.i686 0:2.6.33.5-112.fc13 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================
Package                             Arch                    Version                                Repository                  Size
=====================================================================================================================================
Installing:
kernel-PAE-devel                    i686                    2.6.33.5-112.fc13                      updates                    6.3 M

Transaction Summary
=====================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 6.3 M

Now  try  to  recompile  again :

[root@unixmen-F13 Downloads]# /etc/init.d/vboxdrv   setup
Stopping VirtualBox kernel module                          [  OK  ]
Recompiling VirtualBox kernel module                       [  OK  ]

Starting VirtualBox kernel module                          [  OK  ]

[root@unixmen-F13 Downloads]#

Now  is  done.