[CentOS] kernel-module-drbd <=> kernel-2.6.9-55.0.2

Tue Jul 10 13:40:48 UTC 2007
Johnny Hughes <johnny at centos.org>

Martin Hamant wrote:
> Johnny Hughes a écrit :
>> Martin Hamant wrote:
>>> Le Sat, 07 Jul 2007 08:16:24 -0500
>>> Johnny Hughes <johnny at centos.org> écrivait:
>>>
>>>> Martin Hamant wrote:
>>>>> Should be clearer now ;)
>>>>>
>>>>> Martin Hamant a écrit :
>>>>>> Hello Johnny,
>>>>>>
>>>>>> I'm looking for the corresponding kernel-module-drbd package to be
>>>>>> able to update some kernel's :)
>>>>>>
>>>>>> If you have time, of course.
>>>>>>
>>>>>> Le Tue, 26 Jun 2007 18:50:46 -0500
>>>>>> Johnny Hughes <johnny at centos.org> écrivait:
>>>>>>
>>>>>>> CentOS Errata and Security Advisory 2007:0488
>>>>>>>
>>>>>>> https://rhn.redhat.com/errata/RHSA-2007-0488.html
>>>>>>>
>>>>>>> The following updated files have been uploaded and are currently
>>>>>>> syncing to the mirrors:
>>>>>>>
>>>>>>> i386:
>>>>>>> kernel-2.6.9-55.0.2.EL.i586.rpm
>>>>>>> kernel-2.6.9-55.0.2.EL.i686.rpm
>>>>>>> kernel-devel-2.6.9-55.0.2.EL.i586.rpm
>>>>>>> kernel-devel-2.6.9-55.0.2.EL.i686.rpm
>>>>>>> kernel-doc-2.6.9-55.0.2.EL.noarch.rpm
>>>>>>> kernel-hugemem-2.6.9-55.0.2.EL.i686.rpm
>>>>>>> kernel-hugemem-devel-2.6.9-55.0.2.EL.i686.rpm
>>>>>>> kernel-smp-2.6.9-55.0.2.EL.i586.rpm
>>>>>>> kernel-smp-2.6.9-55.0.2.EL.i686.rpm
>>>>>>> kernel-smp-devel-2.6.9-55.0.2.EL.i586.rpm
>>>>>>> kernel-smp-devel-2.6.9-55.0.2.EL.i686.rpm
>>>>>>> kernel-xenU-2.6.9-55.0.2.EL.i686.rpm
>>>>>>> kernel-xenU-devel-2.6.9-55.0.2.EL.i686.rpm
>>>>>>>
>>>>>>> src:
>>>>>>> kernel-2.6.9-55.0.2.EL.src.rpm
>>>> I am working on the CentOSPlus kernel for this now ... and I should
>>>> have the plus kernel and all modules (drbd, xfs) done today.
>>>
>>> Hello Johnny,
>>>
>>> So the new common name for drbd modules is kmod-drbd... ?
>>>
>>> Because when i try this:
>>>
>>> # yum install kmod-drbd-smp.i686
>>> Setting up Install Process
>>> Setting up repositories
>>> Reading repository metadata in from local files
>>> Parsing package install arguments
>>> Resolving Dependencies
>>> --> Populating transaction set with selected packages. Please wait.
>>> ---> Package kmod-drbd-smp.i686 0:0.7.24-1.2.6.9_55.0.2.plus.c4 set
>>> to be updated
>>> --> Running transaction check
>>> --> Processing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.plus.c4 for
>>> package: kmod-drbd-smp
>>> --> Finished Dependency Resolution
>>> Error: Missing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.plus.c4 is
>>> needed by package kmod-drbd-smp
>>>
>>> Whereas I have a basic EL kernel-smp package installed ?
>>
>> Since both the plus and regular module are in the extras directory (and
>> since plus is GREATER than EL) you will need to add this to the extras
>> section of CentOS-Base.repo
>>
>> exclude=kmod-drbd\*plus\*
> 
> Ok thanks !
> 
> Do you think it's possible to do an "auto-select" dependence check ?
> Or why not create a kmod-drbd-smp package and another kmod-drbd-smp-plus  ?
> 
> Plus, when I issue a:
> 
> # yum list kmod\*
> kmod-drbd.i686                           0.7.24-1.2.6.9_55.0.2. extras
> kmod-drbd-hugemem.i686                   0.7.24-1.2.6.9_55.0.2. extras
> kmod-drbd-smp.i686                       0.7.24-1.2.6.9_55.0.2. extras
> kmod-drbd-xenU.i686                      0.7.24-1.2.6.9_55.0.2. extras
> 
> There is nothing I can see about "plus" :O
> 
> With yum search , i got :
> 
> kmod-drbd-smp.i686                       0.7.24-1.2.6.9_55.0.2. extras
> Matched from:
> kmod-drbd-smp
> 
> 
> kmod-drbd-smp.i686                       0.7.24-1.2.6.9_55.0.2. extras
> Matched from:
> kmod-drbd-smp
> 

That is because it is too big to fit ... one of this is the plus one,
the other is not.

I could do any number of things, but the PLUS kernel is by design an
upgrade to the regular kernel ... I guess I could move all plus modules
to the centos plus area.

The exclude should work.

Thanks,
Johnny Hughes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20070710/6d07e112/attachment-0005.sig>