VirtualBox

Ticket #1359 (closed defect: invalid)

Opened 6 years ago

Last modified 6 years ago

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

Reported by: klop Owned by:
Priority: critical 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

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

Change History

Changed 6 years ago by klop

comment:1 Changed 6 years ago by frank

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?

Changed 6 years ago by klop

comment:2 Changed 6 years ago by klop

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

comment:3 Changed 6 years ago by klop

[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 follow-up: ↓ 5 Changed 6 years ago by athomasset

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

comment:5 in reply to: ↑ 4 Changed 6 years ago by michael

  • Status changed from new to closed
  • Resolution set to invalid

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.

www.oracle.com
ContactPrivacy policyTerms of Use