Opened 13 years ago
Closed 13 years ago
#9948 closed defect (fixed)
Kernel modules won't compile on Fedora -15 with kernel 2.6.41 => Fixed in SVN
Reported by: | nouvo09 | Owned by: | |
---|---|---|---|
Component: | installer | Version: | VirtualBox 4.1.6 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | other |
Description
Since the last kernel was shipped, it becomes impossible to compile the kernel modules, with or without dkms
It seems that some files have changed name, as amd_iommu.h changed in amd-iommu.h but also linking amd-iommu.h in amd_iommu.h does not work.
Finally I think that this kernel is in fact an 3.0.X kernel named 2.41x for compatibility.
Change History (7)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
No, that change is wrong as it would break vanialla kernels. Sigh, we need to introduce another exception for Fedora kernels...
comment:3 by , 13 years ago
I agree. That's why I called it a "workaround" rather than a "patch" or a "fix". But it will allow Fedora users to continue using VirtualBox until a proper fix is released.
comment:4 by , 13 years ago
I think that workaround is safe and would not break vanilla kernel, because there's no 2.6.41 vanilla kernel.
comment:6 by , 13 years ago
Summary: | Kernel modules won't compile on Fedora -15 with kernel 2.6.41 → Kernel modules won't compile on Fedora -15 with kernel 2.6.41 => Fixed in SVN |
---|
Correct fix in r39432.
Here's a workaround: Change line 38 of file /usr/share/virtualbox/src/vboxhost/vboxpci/linux/VBoxPci-linux.c from
to
The problem seems to be as nouvo09 noted above that the 2.6.41 Fedora-15 kernel is really a 3.1 kernel with respect to the name and location of amd-iommu.h.