[CentOS-devel] no drbd after update to 5.3

Jerry Amundson jamundso at gmail.com
Mon Apr 13 17:16:57 UTC 2009


On Mon, Apr 13, 2009 at 10:33 AM, Akemi Yagi <amyagi at gmail.com> wrote:
> On Mon, Apr 13, 2009 at 8:16 AM, Jerry Amundson <jamundso at gmail.com> wrote:
>
>>> Is this symlink blinking in red by any chance?  If not, you do seem to
>>> have that "missing" file.  Just to double-check:
>>>
>>> rpm -qf /lib/modules/2.6.18-92.1.6.el5xen/extra/drbd82/drbd.ko
>>>
>>> should return the kmod-drbd82-xen  8.2.6-2 package.
>>
>> [root at xena ~]# rpm -qf /lib/modules/2.6.18-92.1.6.el5xen/extra/drbd82/drbd.ko
>> error: file /lib/modules/2.6.18-92.1.6.el5xen/extra/drbd82/drbd.ko: No
>> such file or directory
>>
>> I'd guess that removing kmod-drbd82-xen*, and installing
>> kmod-drbd82-xen will resolve this, but is there anything else you want
>> me to look into beforehand? I 'd like to get the domu's running
>> again... :-)
>
> I think you should go ahead and do it now.  I don't understand why the
> install of the latest kmod-drbd82-xen did not work out.  Maybe Fabian
> knows...

I've fixed this by removing kmod-drbd82-xen*, and installing
kmod-drbd82-xen. Oddly, the erase process actually left another
hanging symlink (below). ISTR that topic covered in a recent thread,
so no big deal.

Thanks for listening,
jerry

[root at xena ~]# yum erase kmod-drbd82-xen
Loaded plugins: fastestmirror
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package kmod-drbd82-xen.i686 0:8.2.6-1.2.6.18_92.1.10.el5 set to be erased
---> Package kmod-drbd82-xen.i686 0:8.2.6-2 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch    Version                          Repository    Size
================================================================================
Removing:
 kmod-drbd82-xen    i686    8.2.6-2                          installed    1.9 M
 kmod-drbd82-xen    i686    8.2.6-1.2.6.18_92.1.10.el5       installed    1.9 M

Transaction Summary
================================================================================
Install      0 Package(s)
Update       0 Package(s)
Remove       2 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : kmod-drbd82-xen                                   [1/2]
WARNING: Can't read module
/lib/modules/2.6.18-128.1.6.el5xen/weak-updates/drbd82/drbd.ko: No
such file or directory
WARNING: No module dm-mem-cache found for kernel
2.6.18-92.1.10.el5xen, continuing anyway
WARNING: No module dm-region_hash found for kernel
2.6.18-92.1.10.el5xen, continuing anyway
WARNING: No module dm-message found for kernel 2.6.18-92.1.10.el5xen,
continuing anyway
WARNING: No module dm-raid45 found for kernel 2.6.18-92.1.10.el5xen,
continuing anyway
WARNING: No module dm-mem-cache found for kernel
2.6.18-92.1.22.el5xen, continuing anyway
WARNING: No module dm-region_hash found for kernel
2.6.18-92.1.22.el5xen, continuing anyway
WARNING: No module dm-message found for kernel 2.6.18-92.1.22.el5xen,
continuing anyway
WARNING: No module dm-raid45 found for kernel 2.6.18-92.1.22.el5xen,
continuing anyway
  Erasing        : kmod-drbd82-xen                                   [2/2]

Removed: kmod-drbd82-xen.i686 0:8.2.6-2 kmod-drbd82-xen.i686
0:8.2.6-1.2.6.18_92.1.10.el5
Complete!
[root at xena ~]# ls -l `find /lib/modules -name drbd.ko`
lrwxrwxrwx 1 root root 54 Apr 11 03:36
/lib/modules/2.6.18-128.1.6.el5xen/weak-updates/drbd82/drbd.ko ->
/lib/modules/2.6.18-92.1.6.el5xen/extra/drbd82/drbd.ko
lrwxrwxrwx 1 root root 55 Apr 13 10:43
/lib/modules/2.6.18-92.1.22.el5xen/weak-updates/drbd82/drbd.ko ->
/lib/modules/2.6.18-92.1.10.el5xen/extra/drbd82/drbd.ko
[root at xena ~]# rpm -qf /lib/modules/*/weak-updates/*
file /lib/modules/2.6.18-128.1.6.el5xen/weak-updates/drbd82 is not
owned by any package
file /lib/modules/2.6.18-92.1.22.el5xen/weak-updates/drbd82 is not
owned by any package
[root at xena ~]# rm -rf /lib/modules/*/weak-updates/*
[root at xena ~]# yum install kmod-drbd82-xen
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.fdcservers.net
 * updates: centos.mirror.nac.net
 * addons: pubmirrors.reflected.net
 * extras: pubmirrors.reflected.net
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package kmod-drbd82-xen.i686 0:8.2.6-2 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                  Arch          Version           Repository       Size
================================================================================
Installing:
 kmod-drbd82-xen          i686          8.2.6-2           extras          823 k

Transaction Summary
================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 823 k
Is this ok [y/N]: y
Downloading Packages:
kmod-drbd82-xen-8.2.6-2.i686.rpm                         | 823 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : kmod-drbd82-xen                                   [1/1]
WARNING: No module dm-mem-cache found for kernel
2.6.18-92.1.10.el5xen, continuing anyway
WARNING: No module dm-region_hash found for kernel
2.6.18-92.1.10.el5xen, continuing anyway
WARNING: No module dm-message found for kernel 2.6.18-92.1.10.el5xen,
continuing anyway
WARNING: No module dm-raid45 found for kernel 2.6.18-92.1.10.el5xen,
continuing anyway
WARNING: No module dm-mem-cache found for kernel
2.6.18-92.1.22.el5xen, continuing anyway
WARNING: No module dm-region_hash found for kernel
2.6.18-92.1.22.el5xen, continuing anyway
WARNING: No module dm-message found for kernel 2.6.18-92.1.22.el5xen,
continuing anyway
WARNING: No module dm-raid45 found for kernel 2.6.18-92.1.22.el5xen,
continuing anyway

Installed: kmod-drbd82-xen.i686 0:8.2.6-2
Complete!


More information about the CentOS-devel mailing list