[CentOS] Recent kmod-kvm update errors

Thu May 12 19:17:29 UTC 2011
James B. Byrne <byrnejb at harte-lyne.ca>

On Thu, May 12, 2011 10:06, Johnny Hughes wrote:
> On 05/12/2011 08:54 AM, Johnny Hughes wrote:
>> On 05/12/2011 08:32 AM, James B. Byrne wrote:
>>> This morning I applied the recent updates to CentOS-5.6 on a test
>>> and development host and observed this:
>>>   Updating       : kmod-kvm
>>>       4/20
>>> WARNING: Can't read module
>>> /lib/modules/2.6.18-194.32.1.el5/weak-updates/kmod-kvm/kvm.ko: No
>>> such file or directory
> <snip>
>>> Is this something I should be concerned about or can it be
>>> disregarded without consequence?
>> Possibly in some installs this is indeed something to worry about.
>>  The weak-updates will only work on kernels that meet all the
>> requirements in the kmod.
>> This means that "kernel >= 2.6.18-203.el5" ... if you have any
>> kernels older than that on your box, when the weak-updates run,
>> it will fail and there are missing symbols.  If you have a mix
>> of kernels above and below the 2.6.18-203.el5, you will get this
>> error on the older ones.
>> As long as you only boot kernels that are >= 2.6.18-203.el5, then
>> it should not be a problem.
> Oh, and I would point out that if you did not have at least one
> kernel installed that is above the 2.6.18-203.el5 version, then
> the package would not install at all, so in this case you likely
> have a mix of older and newer kernels on the box.

We keep the last three kernels installed as a matter of policy and
the oldest of these on the development box is
kernel-2.6.18-194.32.1.el5.  I do not plan on booting into an older
kernel on this host. Therefore, I will work from the assumption that
this issue is not going to cause us any difficulty and will
disappear on its own with the next kernel update.

Thank you.

***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3