Kernel module experiments

Ville Skyttä ville.skytta at iki.fi
Sat Jan 28 12:52:31 UTC 2006


On Fri, 2006-01-27 at 17:38 -0500, Ignacio Vazquez-Abrams wrote:
> On Fri, 2006-01-27 at 16:43 -0500, Jack Neely wrote:
> > 2) Creating kmod-openafs-smp it requires kernel-smp-i686.  The
> > kernel-smp prackage provides kernel-i686 and kernel-smp but not the
> > above.  This is the current rawhide kernel I'm building against.  What's
> > the plan here?  I haven't seen kernel-<variant>-<arch> used before.
> 
> $ rpm -qp --provides .../kernel-smp-2.6.15-1.1878_FC5.i686.rpm
> kernel = 2.6.15
> kernel-drm = 4.3.0
> kernel-i686 = 2.6.15-1.1878_FC5smp
> kernel-smp = 2.6.15-1.1878_FC5
> $ rpm -qp --provides .../kernel-smp-2.6.15-1.1878_FC5.ppc.rpm
> kernel = 2.6.15
> kernel-drm = 4.3.0
> kernel-ppc = 2.6.15-1.1878_FC5smp
> kernel-smp = 2.6.15-1.1878_FC5
> 
> Definitely looks broken to me. Although IMO the package should provide
> kernel-<variant>-<arch>, even though yum should only grab the proper
> arch.

Argh, thanks for the heads up, I wonder how I didn't notice this.  The
issue was introduced with the RHEL compatibility changes to kmodtool,
and the problem is that there's no way to require a fully qualified
kernel package so that it'd work with FC and RHEL.

FC kernels provide kernel-<arch> = <version><variant>, RHEL ones do not,
and RHEL kernels provide kernel-<variant>-<arch> = <version>, FC not.

I added a detection hack to kmodtool 0.10.4 (see lirc-kmod and
thinkpad-kmod in CVS), that seems to work for me now with FC4, Rawhide,
and CentOS 4.2.  Adding the kernel-<variant>-<arch> = <version>
provision to the FC kernels wouldn't hurt, though.




More information about the fedora-extras-list mailing list