Bug 327961

Summary: provides from SMP/PAE kernels broken
Product: [Fedora] Fedora Reporter: Thorsten Leemhuis <fedora>
Component: kernelAssignee: Jarod Wilson <jarod>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: cebbert, davej, torsten, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.23-7.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-12 16:52:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thorsten Leemhuis 2007-10-11 17:17:40 UTC
Description of problem:
Kmods need a sane way to get exactly the kernel they were compiled for; that
worked fine in F7 and is broken in rawhide.

E.g in F7 a kmod for the stock kernel had a line like this...
Requires: kernel-i686 = 2.6.21-1.3194.fc7
That dep is provided by the matching kernel package:
$ rpm -qp kernel-2.6.21-1.3194.fc7.i686.rpm --provides
[...]
kernel-i686 = 2.6.21-1.3194.fc7
[...]

For a PAE is was similar. Kmod had...
Requires: kernel-i686 = 2.6.21-1.3194.fc7PAE
That dep is provided by the matching kernel package:
$ rpm -qp --provides kernel-PAE-2.6.21-1.3194.fc7.i686.rpm 
[...]
kernel-i686 = 2.6.21-1.3194.fc7PAE
[...]

In rawhide the stock and the PAE kernel provide the same version:

$ rpm -qp kernel-2.6.23-5.fc8.i686.rpm --provides 
[...]
kernel-i686 = 2.6.23-5.fc8
[...]
$ rpm -qp kernel-PAE-2.6.23-5.fc8.i686.rpm --provides 
[...]
kernel-i686 = 2.6.23-5.fc8
[...]

That lead to reports from users that a kmod for the stock kernel pulled in the
PAE kernel.

Additional info:
Would be nice to see this fixed before F8 gets shipped as this regression would
create major trouble for 3rd party repos that ship kernel module packages.

Comment 1 Jarod Wilson 2007-10-11 17:59:15 UTC
Build-testing theoretical fix now...

Comment 2 Jarod Wilson 2007-10-12 16:52:43 UTC
Theoretical fix confirmed as an actual fix, and committed to cvs. Next kernel
build should have fixed-up Provides.