Solved: Error inserting vboxsf Invalid module format
Posted: 2. Aug 2010, 16:24
I'm trying to share folders between my host (sidux) and guest (debian). I installed the virtualbox-ose, extras and guest additions packages on my host and rebooted so the vbox modules were loaded. I started the guest, selected devices->install guest additions and ran VBoxLinuxAdditions-x86.run. I then rebooted the guest, but got the error message:
I tried the following, but kept getting errors:
The output of dmesg:
Needless to say mount -t vboxsf shared_folder /mnt/shared_folder results in an no such device error.
Update:
I installed a different kernel (2.6.32-5-686) and the following works fine now:
Code: Select all
Starting the VirtualBox Guest Additions ...fail!
(modprobe vboxguest failed)
Starting VirtualBox Guest Addition service VirtualBox Additions module not loaded!
Code: Select all
>modprobe vboxsf
FATAL: Error inserting vboxsf (/lib/modules/2.6.32-trunk-686/misc/vboxsf.ko): Invalid module format
>modprobe vboxguest
FATAL: Error inserting vboxguest (/lib/modules/2.6.32-trunk-686/misc/vboxguest.ko): Invalid module format
> insmod /lib/modules/2.6.32-trunk-686/misc/vboxsf.ko
insmod: error inserting '/lib/modules/2.6.32-trunk-686/misc/vboxsf.ko': -1 Invalid module format
> insmod /lib/modules/2.6.32-trunk-686/misc/vboxguest.ko
insmod: error inserting '/lib/modules/2.6.32-trunk-686/misc/vboxguest.ko': -1 Invalid module format
Code: Select all
vboxvideo: disagrees about version of symbol module_layout
vboxguest: disagrees about version of symbol module_layout
vboxsf: disagrees about version of symbol module_layout
Update:
I installed a different kernel (2.6.32-5-686) and the following works fine now:
Code: Select all
> insmod /lib/modules/2.6.32-5-668/updates/dkms/vboxsf.ko
> mount -t vboxsf shared_folder /mnt/shared_folder