There was a kernel upgrade in Fedora 15 today, to 2.6.41.1-1.fc15. This broke
VirtualBox, as usual. However, the usual process for rebuilding the kernel modules didn't work:
$ sudo /etc/init.d/vboxdrv setup
A look at the log file /var/lib/dkms/vboxhost/4.1.6/build/make.log showed:
/var/lib/dkms/vboxhost/4.1.6/build/vboxpci/linux/VBoxPci-linux.c:39:28: fatal error: asm/amd_iommu.h: No such file or directory
compilation terminated.
Well, all I did was copy in all the amd_*.h files from the older kernel source into the current kernel source directory, and it worked:
$ sudo cp /usr/src/kernels/2.6.40.6-0.fc15.x86_64/arch/x86/include/asm/amd_*.h /usr/src/kernels/2.6.41.1-1.fc15.x86_64/arch/x86/include/asm
$ sudo /etc/init.d/vboxdrv setup
Brilliant!
Thanks it's worked
ReplyDeleteToo bad that you need in Fedora 15 to read 20 guides/blog/post for a simple common installation like VirtualBox instead of double click in the package manager
Idan
You're welcome. I'm glad it worked for you.
ReplyDeleteAwesome .. worked in my case too. Thanks!
ReplyDeleteGood work thanks for posting this fix it made my day! :)
ReplyDeleteWorked here too. Thanks!
ReplyDelete