Linux-Headers is necessary to run external modules in kernel.
As arojas said, this did not fix the problem.
exec format error happens afaik when you try to load a 32bit module on a 64bit machine.
How did this start to happen and how do I fix it? I am using x64 arch linux.
what output of dmesg?
exec error can occur if vermagic of module and kernel is not matching or if there is unresolved symbol for example. Even If you update system but just forget to reboot you can get a vermagic erroryou can install mkinitcpio hook from aur to generate appropriate module for every kernel in your system
https://aur.archlinux.org/packages/vboxhost-hook/
mkinitcpio -p linux
Do I need to paste whole dmesg or you need something specific? (I really have no clue what to look for)
How can I check if it is matching?
Thanks
]]>edit: I don't think the reference to the mkinitcpio hook is appropriate. This is a problem with the Arch Linux guest driver not installing. The aur package states it is for host modules.
]]>you can install mkinitcpio hook from aur to generate appropriate module for every kernel in your system
https://aur.archlinux.org/packages/vboxhost-hook/
mkinitcpio -p linux
Linux-Headers is necessary to run external modules in kernel.
No it's not. linux-headers is needed to *compile* external modules. Virtualbox modules in [community] are already compiled.
]]>"Sorry for my english"
]]>virtualbox-guest-dkms (optional)
virtualbox-host-dkms (optional)
and I don't have those too.
I will try to install linux-headers and see if it helps, but will have to do that when I get back home...Did you have a similar issue which was fixed by installing linux-headers?
on boot - "failed to load kernel modules".
Info:
⮀systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Tue 2013-01-29 18:30:38 CET
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 125 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
I only have virtualbox.conf in /etc/modules-load.d/
⮀cat /etc/modules-load.d/virtualbox.conf
vboxdrv
⮀sudo modprobe vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Exec format error
I don't run custom kernel.
Ideas?
]]>