VirtualBox

Opened 16 years ago

Closed 16 years ago

#1359 closed defect (invalid)

FATAL: Error inserting vboxdrv (/lib/modules/2.6.24.3-34.fc8/misc/vboxdrv.ko): Invalid module format

Reported by: klop Owned by:
Component: other Version: VirtualBox 1.5.6
Keywords: Cc:
Guest type: other Host type: other

Description

On my Fedora 8 I have new updated kernel 2.6.24.3-34.fc8, and I'm not able to load compiled vboxdrv module. Compilation of module is successful. I think it is because module of virtualbox is only for older kernels(2.6.23.14-107.fc8, 2.6.23.15-137.fc8). If I use /sbin/modprobe vboxdrv I will get this error: FATAL: Error inserting vboxdrv /lib/modules/2.6.24.3-34.fc8/misc/vboxdrv.ko): Invalid module format

Attachments (2)

dmesg (28.3 KB ) - added by klop 16 years ago.
vbox-install.log (18.2 KB ) - added by klop 16 years ago.

Download all attachments as: .zip

Change History (7)

by klop, 16 years ago

Attachment: dmesg added

comment:1 by Frank Mehnert, 16 years ago

How did you compile the vboxdrv kernel module? Did you execute

/etc/init.d/vboxdrv setup

? Please could you attach here the resulting vbox-install.log file?

by klop, 16 years ago

Attachment: vbox-install.log added

comment:2 by klop, 16 years ago

yes I used: /etc/init.d/vboxdrv setup

comment:3 by klop, 16 years ago

[root@laptop michal]# /etc/init.d/vboxdrv setup Stopping VirtualBox kernel module [ OK ] Recompiling VirtualBox kernel module [ OK ] Starting VirtualBox kernel module [SELHALO] (modprobe vboxdrv failed) [root@laptop michal]#

comment:4 by Adrian, 16 years ago

I have a single CPU laptop and I get the same with a slightly different pre-compiled 2.6.23.12-52.fc7 kernel.

In dmesg I get:

vboxdrv: version magic '2.6.23.12-52.fc7 SMP mod_unload 686 4KSTACKS ' should be '2.6.23.12-52.fc7 SMP mod_unload 586 4KSTACKS '

The default kernel config has:

CONFIG_SMP=yes

So this might be the issue, the kernel should be compile with SMP on a single CPU machine. I will try a non-SMP kernel and let you know

in reply to:  4 comment:5 by Michael Thayer, 16 years ago

Resolution: invalid
Status: newclosed

Replying to athomasset:

In dmesg I get:

vboxdrv: version magic '2.6.23.12-52.fc7 SMP mod_unload 686 4KSTACKS ' should be '2.6.23.12-52.fc7 SMP mod_unload 586 4KSTACKS '

Note the fact that one line contains "686" and the other "586". Fedora has kernels and headers for both 686 (Pentium Pro and later) and 586 (Pentium) processors. A 686 kernel needs 686 headers and vice versa, but Fedora doesn't always get this right automatically. I suspect that this may also be the original reporter's problem.

In any case, I will close this ticket, as this sort of thing belongs on the forums, the mailing list or the IRC channel.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use