Friday, September 22, 2017

Fedora 26 + Virtualbox 5.1 + kenel 4.12

Error: After Upgrading the VMs will not starting

/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.o: warning: objtool: .fixup: unexpected end of section
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.o"; fi; fi;
make[1]: *** [Makefile:1519: _module_/tmp/vbox.0] Error 2
make: *** [Makefile:304: vboxdrv] Error 2


Change to the Virtualbox source directory
cd /usr/share/virtualbox/src

get this patch and place it in /usr/share/virtualbox/src
sudo wget http://paste.siduction.org/20170629003423

apply patch
sudo patch -Np0 < 20170629003423

run vboxconfig by executing
/sbin/vboxconfig

have fun!

No comments:

Post a Comment