Compilation of the kernel module FAILED! FEDORA 7

Discussions related to using VirtualBox on Linux hosts.
Post Reply
brunomruiz
Posts: 2
Joined: 6. Oct 2008, 21:42
Location: Brazil

Compilation of the kernel module FAILED! FEDORA 7

Post by brunomruiz »

[root@bruno src]# yum localinstall /root/Download/VirtualBox-2.0.2_36488_fedora7-1.i386.rpm --nogpgcheck
Setting up Local Package Process
fedora 100% |=========================| 2.1 kB 00:00
livna 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
Examining /root/Download/VirtualBox-2.0.2_36488_fedora7-1.i386.rpm: VirtualBox - 2.0.2_36488_fedora7-1.i386
/root/Download/VirtualBox-2.0.2_36488_fedora7-1.i386.rpm: does not update installed package.
Nothing to do

No dependencies! All dependencies resolved, but show me the message: "Spawning session" .

==========================================================================
[root@bruno src]# yum install kernel-headers
Setting up Install Process
Parsing package install arguments
Package kernel-headers - 2.6.23.17-88.fc7.i386 is already installed.
Nothing to do
=======================================================================
[root@bruno src]# yum install kernel-devel
Setting up Install Process
Parsing package install arguments
Package kernel-devel - 2.6.23.17-88.fc7.i686 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.i686 0:2.6.21-1.3194.fc7 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kernel-devel i686 2.6.21-1.3194.fc7 fedora 4.6 M

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 4.6 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
package kernel-devel-2.6.23.17-88.fc7 (which is newer than kernel-devel-2.6.21-1.3194.fc7) is already installed

Error Summary
-------------
=======================================================================
[root@bruno src]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FALHOU]
(Look at /var/log/vbox-install.log to find out what went wrong)
=======================================================================
[root@bruno src]# uname -r
2.6.21-1.3194.fc7
=======================================================================
What should I do ??
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Update your kernel-image to a newer version, or reboot to the newer kernel version. You can also specify the exact kernel devel package version you want to install: yum install kernel-devel-2.6.21-1.3194.fc7.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
brunomruiz
Posts: 2
Joined: 6. Oct 2008, 21:42
Location: Brazil

Post by brunomruiz »

tks Sasquatch
i will be tested and tomorrow i post the result
Post Reply