[Yum-devel] how to require a kernel module

Farkas Levente lfarkas at lfarkas.org
Thu Mar 11 17:00:58 UTC 2010


On 03/11/2010 04:49 PM, Jack Neely wrote:
 > I'm sorry, but fedorakmod support the kmod v1 standard which is not the
 > kabi stuff.  (Although, Red Hat made the kabi packages look just like
 > the other kmod packages which I didn't really like.)  Jon Masters made
 > some alterations to the fedorakmod plugin that shipped in RHEL5 in the
 > yum-kmod package.  I don't know how well those work however.


On 03/11/2010 05:03 PM, James Antill wrote:
> On Thu, 2010-03-11 at 12:56 +0100, Farkas Levente wrote:
>
>> - even if i only have installed kernel-PAE (ie. not the normal kernel)
>> yum still install the kmod-foo (and not only kmod-foo-PAE) and because
>> of this it will pull also the normal kernel too.
>
>   The command "yum install kmod-foo" matches a single package, which can
> be installed. It's highly unlikely we'd ever make that actually install
> something other than kmod-foo.
>   The command "yum install foo-kmod" should be a virtual provide, which
> is provided by both kmod-foo and kmod-foo-PAE. However, even in this
> case, there isn't any information that yum will use to determine that
> "kmod-foo-PAE" is better. I think, if you used --skip-broken and added a
> local conflict with kmod-foo, you could get yum to do the right thing
> (but I doubt setting that up is easier than just telling the user to
> install the correct package).
>
>   In theory yum will eventually take into account that of the providers
> for foo-kmod one requires less other things to be installed ... however
> this is almost certainly not going to happen in RHEL-5 (even if the code
> gets written).

and this means currently it's not possible to install any rhel-5 i386 
server with more then 2GB or ram from kickstart when any of the packages 
require any kmod package:-(
because in this case anaconda will choose kernel-PAE by default (and 
this will be the default entry in grub). and if bar requires foo-kmod, 
then it will pull _only_ kmod-foo which of course pull normal kernel 
(but still the default will be kernel-PAE). and either you'd have to 
change grub's default and only use less memory or manually install the 
required PAE version kmod packages:-(((


-- 
   Levente                               "Si vis pacem para bellum!"


More information about the Yum-devel mailing list