[CentOS] Problems loading drbd after upgrade

Thu Jan 14 02:02:11 UTC 2010
robert mena <robert.mena at gmail.com>

Hi,

Thanks.

1)
kmod-drbd82-8.2.6-2
drbd83-8.3.2-6.el5_3

2)
lrwxrwxrwx 1 root root      52 Aug  6 17:28
/lib/modules/2.6.18-128.4.1.el5/weak-updates/drbd82/drbd.ko ->
/lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko
-rw-r--r-- 1 root root 2047377 Oct 26 15:07
/lib/modules/2.6.18-164.10.1.el5/extra/drbd82/drbd.ko
lrwxrwxrwx 1 root root      48 Jan 12 22:19
/lib/modules/2.6.18-164.10.1.el5/weak-updates/drbd82/drbd.ko ->
/lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko
lrwxrwxrwx 1 root root      48 Nov  9 14:02
/lib/modules/2.6.18-164.6.1.el5/weak-updates/drbd82/drbd.ko ->
/lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko
lrwxrwxrwx 1 root root      48 Dec 19 11:18
/lib/modules/2.6.18-164.9.1.el5/weak-updates/drbd82/drbd.ko ->
/lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko
-rw-r--r-- 1 root root 2047377 Jan 12 22:52
/lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko
lrwxrwxrwx 1 root root      52 Oct  8 23:26
/lib/modules/2.6.18-164.el5/weak-updates/drbd82/drbd.ko ->
/lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko
-rw-r--r-- 1 root root 2047377 Oct  3  2008
/lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko

3)
/sbin/modinfo drbd
modinfo: could not find module drbd


On Wed, Jan 13, 2010 at 3:30 PM, Akemi Yagi <amyagi at gmail.com> wrote:

> On Tue, Jan 12, 2010 at 7:04 PM, robert mena <robert.mena at gmail.com>
> wrote:
> > Hi,
> > I've upgrade the kernel to the latest version (C5) and after the update
> the
> > drbd is not being loaded at reboot time.
> > My previous running kernel was 2.6.18-164.el5.
> > I've checked the /lib/modules/ and
> > /lib/modules/2.6.18-164.10.1.el5/weak-updates/drbd82/drbd.ko ->
> > /lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko
> > And /lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko exists
> > 2004 -rw-r--r-- 1 root root 2047377 Jan 12 22:52
> > /lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko
> > And the contents (at least the size) is the same of the kmod-drbd82
> > rpm -ql kmod-drbd82
> > /lib/modules/2.6.18-92.1.13.el5
> > /lib/modules/2.6.18-92.1.13.el5/extra
> > /lib/modules/2.6.18-92.1.13.el5/extra/drbd82
> > /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko
> > ls -lsa /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko
> > 2004 -rw-r--r-- 1 root root 2047377 Oct  3  2008
> > /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko
> > If I insmod the drbd I can load it and if I start (service drbd start) I
> can
> > access the shares so something is wrong :)
>
> Could you show us the output of the following?
>
> rpm -qa | grep drbd
>
> ls -l `find /lib/modules -name drbd.ko`
>
> /sbin/modinfo drbd
>
> Akemi
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100113/b8923bc7/attachment-0005.html>