View previous topic :: View next topic |
Author |
Message |
Blind_Sniper Guru
Joined: 20 Apr 2018 Posts: 362
|
Posted: Sat Oct 26, 2024 10:57 pm Post subject: Can't start VirtualBox |
|
|
Hi there!
After recent kernel update I can't load virtualbox modules. Right now I have 6.6.57-gentoo-dist kernel installed. After updating to 6.6.57 I rebuilt virtualbox-modules package, but I can't load it:
Code: | modprobe vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Exec format error |
Virtualbox and virtualbox-modules are both 7.0.20
Code: | modinfo vboxdrv
filename: /lib/modules/6.6.57-gentoo-dist/misc/vboxdrv.ko
version: 7.0.20 r163906 (0x00330004)
license: GPL
description: Oracle VM VirtualBox Support Driver
author: Oracle and/or its affiliates
srcversion: 9CBC44140E50A5E89770210
depends:
retpoline: Y
name: vboxdrv
vermagic: 6.6.57-gentoo-dist SMP preempt mod_unload
parm: disabled:Disable automatic module loading (int)
parm: force_async_tsc:force the asynchronous TSC mode (int) |
Any idea on what's going on/ _________________ GNU is Not Usable |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 465 Location: Naarm/Melbourne, Australia
|
Posted: Sun Oct 27, 2024 2:43 am Post subject: |
|
|
That error can be caused by something being built for an architecture different to the one it actually ends up running on. Did you rebuild on a host other than the one on which you're trying to run VBox? _________________ https://wiki.gentoo.org/wiki/User:Flexibeast |
|
Back to top |
|
|
Blind_Sniper Guru
Joined: 20 Apr 2018 Posts: 362
|
Posted: Sun Oct 27, 2024 8:16 am Post subject: |
|
|
I running VBox on the same machine where I built both - module and virtualbox _________________ GNU is Not Usable |
|
Back to top |
|
|
Blind_Sniper Guru
Joined: 20 Apr 2018 Posts: 362
|
Posted: Sat Nov 02, 2024 6:43 am Post subject: |
|
|
Updated to gentoo-kernel-bin-6.6.58r2 and rebuilt virtualbox-modules-7.0.20 - still can't load vboxdrv:
Code: | # modprobe vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Exec format error |
_________________ GNU is Not Usable |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 465 Location: Naarm/Melbourne, Australia
|
|
Back to top |
|
|
|