Bug 755229 (amd_iommu.h)

Summary: amd_iommu.h is missing from kernel-devel 2.6.41.1-1.fc15.x86_64
Product: [Fedora] Fedora Reporter: walterhurry
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: emparq, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, urilabob, yushanyuan, zikamev
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-20 15:12:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description walterhurry 2011-11-19 20:22:08 UTC
Description of problem:
amd_iommu.h is missing from kernel-devel 2.6.41.1-1.fc15.x86_64

Version-Release number of selected component (if applicable):
2.6.41.1-1.fc15.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Install  kernel-devel 2.6.41.1-1.fc15.x86_64
2. updatedb
3. locate amd_iommu.h
  
Actual results:
amd_iommu.h is missing from /usr/src/kernels/2.6.41.1-1.fc15.x86_64/arch/x86/include/asm

Expected results:
amd_iommu.h should be present in /usr/src/kernels/2.6.41.1-1.fc15.x86_64/arch/x86/include/asm

Additional info:
Discovered when trying to recompile VirtualBox kernel modules. Copying the file from the previous kernel-devel (2.6.40.6-0.fc15) appeared to work around the issue.

Comment 1 Josh Boyer 2011-11-20 15:12:36 UTC
Files move around when you upgrade kernels.  This was moved to include/linux/amd-iommu.h.

This is a virtualbox problem, not something wrong with the kernel.

Comment 2 walterhurry 2011-11-20 16:44:22 UTC
Relocation; OK. But does that include the change of filename (underscore to hyphen)?

Comment 3 Mike Park 2011-11-20 22:49:27 UTC
FWIW, if you're just trying to get VirtualBox going again, you can just symlink like so:

# ln -sf /usr/src/kernels/2.6.41.1-1.fc15.x86_64/include/linux/amd-iommu.h /usr/src/kernels/2.6.41.1-1.fc15.x86_64/arch/x86/include/asm/amd_iommu.h

Comment 4 Josh Boyer 2011-11-21 14:17:10 UTC
*** Bug 755477 has been marked as a duplicate of this bug. ***

Comment 5 yushanyuan 2011-11-22 02:44:27 UTC
still missing

[root@localhost ~]# uname -r
2.6.41.1-1.fc15.x86_64
[root@localhost ~]# locate amd_iommu.h
/usr/src/kernels/2.6.40.4-5.fc15.x86_64/arch/x86/include/asm/amd_iommu.h
/usr/src/kernels/2.6.40.6-0.fc15.x86_64/arch/x86/include/asm/amd_iommu.h

Comment 6 Josh Boyer 2011-11-22 13:55:39 UTC
(In reply to comment #5)
> still missing

Still not a bug.  The file was renamed to amd-iommu.h.

Comment 7 Josh Boyer 2011-11-23 19:13:54 UTC
*** Bug 756493 has been marked as a duplicate of this bug. ***