Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vboxguest and vboxsf: Exec Format error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Yuri Ferreira
n00b
n00b


Joined: 23 Oct 2017
Posts: 17
Location: 2121

PostPosted: Thu Oct 26, 2017 6:07 pm    Post subject: Vboxguest and vboxsf: Exec Format error Reply with quote

I installed gentoo as guest os in vbox, while I cannot load virtualbox-guest-additions.
And here is my infomation.


Code:

  $ /etc/init.d/virtualbox-guest-additions start
  * Loading Kernel modules
  modprobe: ERROR: could not insert 'vboxguest': Exec format error
  modprobe: ERROR: could not insert 'vboxsf': Exec format error
  *Error: virtualbox-guest-additions failed to start



Code:

  $modinfo vboxguest
   filename:       /lib/modules/4.12.12-gentoo/misc/vboxguest.ko
   version:        5.1.26 r117224
   license:         GPL
   author:          Oracle Corporation
   description:   Oracle VM VirtualBox Guest Additions for Linux Module 
   srcversion:   B6F7A61D6D805ABD5EEC050
   alias:             pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i*
   depends:
   vermagic:     4.12.12-gentoo SMP mod_unload modversions 686


Code:

  $modinfo vboxguest
   filename:       /lib/modules/4.12.12-gentoo/misc/vboxguest.ko
   version:        5.1.26 r117224
   alias:             fs-vboxsf
   license:         GPL
   author:          Oracle Corporation
   description:   Oracle VM VirtualBox VFS Module for Host File System
   srcversion:   BCCF3487F5C55313035B318
   depends:       vboxguest
   vermagic:      4.12.12-gentoo SMP mod_unload modversions 686
   parm:             follow_symlinks:Let host resolve symlinks rather than    showing them (int)


Code:

  $uname -r
  4.12.12-gentoo


Code:

  $file /lib/modules/4.12.12-gentoo/misc/vboxguest.ko
   /lib/modules/4.12.12-gentoo/misc/vboxguest.ko: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV),   BuildID[sha1]=5e51f909b43739a879a53e9c1e9c3bf5ae123fe6, not strippd


Code:

  $dmesg
  [    80.214372    ]     vboxguest: version magic '4.12.12-gentoo' SMP mod_unload modversion 686 ' should  be '4.12.12-gentoo' SMP mod_unload 686 '

_________________
2121212
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13867

PostPosted: Fri Oct 27, 2017 1:44 am    Post subject: Reply with quote

Per your dmesg output, either rebuild the kernel with modversion support or rebuild the modules without it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum