Modules installation 3.0.6 fails on Mandriva (2.6.31-2.mnb)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
DF5JT
Posts: 3
Joined: 19. Jan 2008, 12:59

Modules installation 3.0.6 fails on Mandriva (2.6.31-2.mnb)

Post by DF5JT »

dmesg:
vboxdrv: no symbol version for module_layout

/var/log/vbox-install.log (I can't see any errors)
http://pastebin.org/19198

modprobe vboxdrv:
FATAL: Error inserting vboxdrv (/lib/modules/2.6.31-desktop586-2mnb/dkms/misc/vboxdrv.ko.gz): Invalid module format

What's wrong?
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Modules installation 3.0.6 fails on Mandriva (2.6.31-2.mnb)

Post by frank »

Are you 100% sure that the current running kernel is matching the kernel-headers package?
DF5JT
Posts: 3
Joined: 19. Jan 2008, 12:59

Re: Modules installation 3.0.6 fails on Mandriva (2.6.31-2.mnb)

Post by DF5JT »

Frank Mehnert wrote:Are you 100% sure that the current running kernel is matching the kernel-headers package?
Yes, I am, since I have installed the sources for the running kernel and the module seems to have compiled without problems.

Inserting the modules seems to be the problem, but weirdly enough:

modprobe -f vboxdrv and the other two modules WORKED and I am nor running VBox without problems. However, I fail to understand this behaviour.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Modules installation 3.0.6 fails on Mandriva (2.6.31-2.mnb)

Post by frank »

How can I reproduce this problem? We have a Mandriva 2009.1 jail here but there is no kernel later than 2.6.29.6 available.
DiGiTAL
Posts: 1
Joined: 28. Sep 2009, 23:30
Primary OS: Mandriva
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: Modules installation 3.0.6 fails on Mandriva (2.6.31-2.mnb)

Post by DiGiTAL »

this kernel is available in Cooker repository.
dont know what's wrong, but this happens only if kernel is built from source.
the same thing happens to proprietary video drivers etc.
perhaps mandriva team does some trick upon building kernel rpm
Post Reply