I rebuilt this kernel version for SL6 and noticed a vbox build error that I believe will prevent it building on F15 as well.
Code:[root@main_pc ~]# uname -r 2.6.41.1-1.el6.x86_64 [root@main_pc ~]# locate amd_iommu.h [root@main_pc ~]# locate amd-iommu.h /usr/src/kernels/2.6.41.1-1.el6.x86_64/include/linux/amd-iommu.h [root@main_pc ~]#
This file needs editing /var/lib/dkms/vboxhost/4.1.6/source/vboxpci/linux/VBoxPci-linux.c
from
toCode:/* $Id: VBoxPci-linux.c 73307 2011-08-03 11:35:54Z klaus $ */ /** @file * VBoxPci - PCI Driver (Host), Linux Specific Code. */ /* * Copyright (C) 2011 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of the GNU * General Public License (GPL) as published by the Free Software * Foundation, in version 2 as it comes in the "COPYING" file of the * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. */ /******************************************************************************* * Header Files * *******************************************************************************/ #include "the-linux-kernel.h" #include "version-generated.h" #include "product-generated.h" #define LOG_GROUP LOG_GROUP_DEV_PCI_RAW #include <VBox/log.h> #include <VBox/err.h> #include <iprt/process.h> #include <iprt/initterm.h> #include <iprt/string.h> #include <iprt/mem.h> #include "VBoxPciInternal.h" #ifdef VBOX_WITH_IOMMU #include <linux/dmar.h> #include <linux/intel-iommu.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 0) # include <asm/amd_iommu.h> #else # include <linux/amd-iommu.h> #endif #endif /******************************************************************************* * Internal Functions * *******************************************************************************/
Code:/* $Id: VBoxPci-linux.c 73307 2011-08-03 11:35:54Z klaus $ */ /** @file * VBoxPci - PCI Driver (Host), Linux Specific Code. */ /* * Copyright (C) 2011 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of the GNU * General Public License (GPL) as published by the Free Software * Foundation, in version 2 as it comes in the "COPYING" file of the * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. */ /******************************************************************************* * Header Files * *******************************************************************************/ #include "the-linux-kernel.h" #include "version-generated.h" #include "product-generated.h" #define LOG_GROUP LOG_GROUP_DEV_PCI_RAW #include <VBox/log.h> #include <VBox/err.h> #include <iprt/process.h> #include <iprt/initterm.h> #include <iprt/string.h> #include <iprt/mem.h> #include "VBoxPciInternal.h" #ifdef VBOX_WITH_IOMMU #include <linux/dmar.h> #include <linux/intel-iommu.h> # include <linux/amd-iommu.h> #endif /******************************************************************************* * Internal Functions * *******************************************************************************/


Reply With Quote
