On Mon, Apr 13, 2009 at 4:05 PM, Akemi Yagi <amyagi at gmail.com> wrote: > On Mon, Apr 13, 2009 at 1:20 PM, Jerry Amundson <jamundso at gmail.com> wrote: >> On Mon, Apr 13, 2009 at 8:56 AM, Jerry Amundson <jamundso at gmail.com> wrote: >>> I have a dual xen/drbd cluster now broken after the 5.3 update Saturday. >>> FATAL: Could not open >>> '/lib/modules/2.6.18-128.1.6.el5xen/weak-updates/drbd82/drbd.ko': No >>> such file or directory >> >> Just to beat on this further, I ran into the the exact same problem >> when I upgraded the secondary server (note to self: update the >> secondary first next time :-). >> >> I'll leave this one "unfixed" for now, for the sake of investigating >> what may have caused the original problem. > > Thank you. That will help troubleshoot the current issue. > >> [root at xenb ~]# uname -mr >> 2.6.18-92.1.22.el5xen i686 >> [root at xenb ~]# rpm -qa kernel\* | sort >> kernel-headers-2.6.18-128.1.6.el5 >> kernel-xen-2.6.18-128.1.6.el5 >> kernel-xen-2.6.18-92.1.10.el5 >> kernel-xen-2.6.18-92.1.22.el5 >> [root at xenb ~]# rpm -qa \*drbd\* | sort >> drbd82-8.2.6-1.el5.centos >> kmod-drbd82-xen-8.2.6-1.2.6.18_92.1.10.el5 >> kmod-drbd82-xen-8.2.6-2 >> [root at xenb ~]# ls -l `find /lib/modules -name drbd.ko` >> lrwxrwxrwx 1 root root 54 Apr 13 13:57 >> /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 > > This is not right. kmod-drbd82-xen-8.2.6-2 is supposed to install: > > /lib/modules/2.6.18-92.1.13.el5xen/extra/drbd82/drbd.ko > > and the symlink should look like: > > /lib/modules/2.6.18-128.1.6.el5xen/weak-updates/drbd82/drbd.ko -> > /lib/modules/2.6.18-92.1.13.el5xen/extra/drbd82/drbd.ko > > Could you show us the output from: > > rpm -ql kmod-drbd82-xen > > rpm -q --scripts kmod-drbd82-xen [root at xenb ~]# rpm -ql kmod-drbd82-xen /lib/modules/2.6.18-92.1.10.el5xen/extra/drbd82/drbd.ko /lib/modules/2.6.18-92.1.13.el5xen /lib/modules/2.6.18-92.1.13.el5xen/extra /lib/modules/2.6.18-92.1.13.el5xen/extra/drbd82 /lib/modules/2.6.18-92.1.13.el5xen/extra/drbd82/drbd.ko [root at xenb ~]# [root at xenb ~]# rpm -q --scripts kmod-drbd82-xen postinstall scriptlet (using /bin/sh): /sbin/depmod -aeF /boot/System.map-2.6.18-92.1.10.el5xen 2.6.18-92.1.10.el5xen > /dev/null || : postuninstall scriptlet (using /bin/sh): /sbin/depmod -aF /boot/System.map-2.6.18-92.1.10.el5xen 2.6.18-92.1.10.el5xen &> /dev/null || : postinstall scriptlet (using /bin/sh): if [ -e "/boot/System.map-2.6.18-92.1.13.el5xen" ]; then /sbin/depmod -aeF "/boot/System.map-2.6.18-92.1.13.el5xen" "2.6.18-92.1.13.el5xen" > /dev/null || : fi modules=( "/lib/modules/2.6.18-92.1.13.el5xen/extra/drbd82/drbd.ko" ) if [ -x "/sbin/weak-modules" ]; then printf '%s\n' "${modules[@]}" | /sbin/weak-modules --add-modules fi preuninstall scriptlet (using /bin/sh): rpm -ql kmod-drbd82-xen | grep '\.ko$' > /var/run/rpm-kmod-drbd82-xen-modules postuninstall scriptlet (using /bin/sh): /sbin/depmod -aF /boot/System.map-2.6.18-92.1.13.el5xen 2.6.18-92.1.13.el5xen &> /dev/null || : modules=( $(cat /var/run/rpm-kmod-drbd82-xen-modules) ) #rm /var/run/rpm-kmod-drbd82-xen-modules if [ -x "/sbin/weak-modules" ]; then printf '%s\n' "${modules[@]}" | /sbin/weak-modules --remove-modules fi