Kernel update 2.6.18-92.1.17.el5 just uninstalled drbd drivers

General support questions including new installations
Post Reply
simonb
Posts: 14
Joined: 2005/02/15 13:37:53

Kernel update 2.6.18-92.1.17.el5 just uninstalled drbd drive

Post by simonb » 2008/11/10 09:12:55

It seems the latest kernel update causes the drbd drivers to be erased.

From yum.log...

Nov 05 18:52:50 Installed: kernel-xen.x86_64 2.6.18-92.1.17.el5
Nov 05 18:52:58 Erased: kmod-drbd82-xen
Nov 05 18:52:58 Erased: kmod-drbd82

This just caused two production machines to lock up and hard reboot themselves. Nasty.

User avatar
toracat
Forum Moderator
Posts: 7451
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Kernel update 2.6.18-92.1.17.el5 just uninstalled drbd drivers

Post by toracat » 2008/11/10 13:01:56

Hmmm... that is indeed weird. Before the kernel update, did you have these two:

kmod-drbd82-8.2.6-2.x86_64.rpm
kmod-drbd82-xen-8.2.6-2.x86_64.rpm

installed on your system? And you have been using kmod-drbd82, not kmod-drbd, is this correct?

simonb
Posts: 14
Joined: 2005/02/15 13:37:53

Re: Kernel update 2.6.18-92.1.17.el5 just uninstalled drbd drivers

Post by simonb » 2008/11/10 13:39:25

[quote]
toracat wrote:
Hmmm... that is indeed weird. Before the kernel update, did you have these two:

kmod-drbd82-8.2.6-2.x86_64.rpm
kmod-drbd82-xen-8.2.6-2.x86_64.rpm

installed on your system? And you have been using kmod-drbd82, not kmod-drbd, is this correct?[/quote]

This is what I have now...

rpm -qa | grep drbd
kmod-drbd82-xen-8.2.6-1.2.6.18_92.1.10.el5
drbd82-8.2.6-1.el5.centos
kmod-drbd82-8.2.6-2
kmod-drbd82-xen-8.2.6-2
kmod-drbd82-8.2.6-1.2.6.18_92.1.10.el5

...which would appear to include the right package.

On one machine I simply uninstalled the most recent kernel and did a reboot. I found I had to do "chkconfig --add drbd" again but after that drbd came back to life. So I'm a bit mystified as to what actually got erased.

User avatar
toracat
Forum Moderator
Posts: 7451
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Kernel update 2.6.18-92.1.17.el5 just uninstalled drbd drivers

Post by toracat » 2008/11/10 15:19:58

Could you show us the output of:

ls -l `find /lib/modules -name drbd.ko`

I'm curious to know how the drbd module is now installed on your systems. I expect you would find it in the weak-updates directory (in addition to the original one. The 'erase' message you saw might be the erasure of an older version.

By the way, why do you have both standard and xen versions? Is your running kernel xen?

simonb
Posts: 14
Joined: 2005/02/15 13:37:53

Re: Kernel update 2.6.18-92.1.17.el5 just uninstalled drbd drivers

Post by simonb » 2008/11/11 08:56:17

The non-Xen kernels are redundant and I have now deleted them. The machines in question both are Dom0.

The result of ls -l `find /lib/modules -name drbd.ko` is as follows...
-rw-r--r-- 1 root root 2945057 Aug 7 23:50 /lib/modules/2.6.18-92.1.10.el5xen/extra/drbd82/drbd.ko
lrwxrwxrwx 1 root root 55 Oct 20 21:04 /lib/modules/2.6.18-92.1.10.el5xen/weak-updates/drbd82/drbd.ko -> /lib/modules/2.6.18-92.1.13.el5xen/extra/drbd82/drbd.ko
-rw-r--r-- 1 root root 2945057 Oct 3 17:30 /lib/modules/2.6.18-92.1.13.el5xen/extra/drbd82/drbd.ko
lrwxrwxrwx 1 root root 54 Sep 25 21:02 /lib/modules/2.6.18-92.1.13.el5xen/weak-updates/drbd82/drbd.ko -> /lib/modules/2.6.18-92.1.6.el5xen/extra/drbd82/drbd.ko

The last symlink to /lib/modules/2.6.18-92.1.6.el5xen/extra/drbd82/drbd.ko is a broken link.

The installed kernels are as follows...
rpm -q kernel-xen
kernel-xen-2.6.18-92.1.10.el5
kernel-xen-2.6.18-92.1.13.el5

So it figures that a link to a 2.6.18-92.1.6 kernel would be broken.

It may be that the erased drbd82 packages were old anyway, as you suggest. The problem in that case is that there were no new drbd82 modules to accompany the latest kernel update and that this wasn't declared as a dependency to be detected by yum/rpm.

Post Reply

Return to “CentOS 5 - General Support”