Bug 860529

Summary: when dkms is installed, building kernel modules for kernels 3.5, 3.6, and 3.7 corrupts corresponding kernel-devel package
Product: [Fedora] Fedora Reporter: Andre Robatino <robatino>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: charles_rose, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mario_limonciello, schaiba, sunil_gupta2, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-26 17:17:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andre Robatino 2012-09-26 04:37:25 UTC
Description of problem:
If dkms is installed, and one is running a kernel >= 3.5, building VirtualBox host or guest modules results in the corresponding System.map file in /usr/src/kernels/* (which belongs to kernel-devel) being deleted. This can be most easily seen by running

ls -l /usr/src/kernels/*/System.map

both before and after. I filed https://www.virtualbox.org/ticket/10847 but the developer is of the opinion that it is not a VirtualBox bug. Since F16 still uses a 3.4.* kernel, it is not affected, but all newer Fedora versions are. I do not know if the problem is triggered by anything other than VirtualBox modules.

Version-Release number of selected component (if applicable):
dkms-2.2.0.3-4.fc18.noarch

How reproducible:
always

Comment 1 Andre Robatino 2012-11-05 21:19:27 UTC
I verified that this is not a VirtualBox bug as it is triggered by attempting to build any kind of kernel modules with dkms. See http://lists.us.dell.com/pipermail/dkms-devel/2012-November/001108.html . F16 is now affected as well since it is now using a 3.6 kernel.

Comment 2 Andre Robatino 2013-01-08 14:45:20 UTC
This problem may be fixed with the 3.8 kernel. It didn't happen in Rawhide with the 3.8.0-0.rc2.git2.1.fc19.x86_64 kernel (the first 3.8 kernel in Rawhide). If that continues, I'll adjust the Summary to "kernels 3.5, 3.6, and 3.7".

Comment 3 Andre Robatino 2013-01-26 17:17:32 UTC
In addition, the problem now seems to be fixed with recent 3.7 kernels in F17 and F18. So this was probably a kernel bug, closing.