Recompiling VirtualBox kernel module in Fedora13

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0Pinterest0StumbleUpon0Digg

Question : I installed virtualbox in fedora from repository using the command this:

wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo -O /etc/yum.repos.d/virtualbox.repo; sed -i "s,enabled=0,enabled=1,g" /etc/yum.repos.d/virtualbox.repo

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.

{loadposition user9}

Related Articles By Tags:

{loadposition user1}

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0Pinterest0StumbleUpon0Digg