[DRBD-user] drbd module not correctly loading

Jean-Francois Malouin malin at bic.mni.mcgill.ca
Mon Sep 6 22:52:08 CEST 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


* Lars Ellenberg <lars.ellenberg at linbit.com> [20100906 16:05]:
> On Mon, Sep 06, 2010 at 01:46:46PM -0400, Jean-Francois Malouin wrote:
> > Hi,
> > 
> > On a Debian/squeeze system running 2.6.32-5-xen-amd64 I downloaded
> > drbd-8.3.8 from the git repositary, compiled and installed the module
> > with module-assistant. When I start drbd I get 
> > 
> > Starting DRBD resources:DRBD module version: 8.3.7
> >    userland version: 8.3.8
> > 
> > Looks like the system still loads the module from the squeeze kernel
> > image package linux-image-2.6.32-5-xen-amd64 rather than from
> > drbd8-module-2.6.32-5-xen-amd64. 
> > 
> > When I try to load it manually with insmod I get:
> > 
> > :~# insmod /lib/modules/2.6.32-5-xen-amd64/kernel/drivers/block/drbd.ko
> > insmod: error inserting
> > '/lib/modules/2.6.32-5-xen-amd64/kernel/drivers/block/drbd.ko': 
> > -1 Invalid module format
> > 
> > On an identical system (to be used in a pacemaker cluster) I don't
> > experience this issue.
> > 
> > Any ideas?
> 
> Build error. Maybe module-assistant got something wrong,
> or you got something wrong.

or both...

> Sorry, I know that was not very helpful.
> 
> What does "dmesg" say?

when I insmode drbd I get
drbd: exports duplicate symbol lc_seq_dump_details (owned by lru_cache)

> It is likely complaining about version magic or something like that.
> Double check that you are using the right gcc version,

both have gcc (Debian 4.4.4-8) 4.4.5 20100728 (prerelease)

> matching kernel headers, and the right make arguments for your setup.
> 
> Or, well, remember what you did differently
> on the "identical system that works" (TM).

Both systems were initially installed using FAI for Debian/Lenny back in March
so yes, they were identical (TM) :) 

I just did an upgrade to squeeze last week. I'll restart from scratch
then just to be sure. I might have done something wrong on the second
system upgrade.

Thanks for your time Lars,
jf

> 
> -- 
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
> 
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> __
> please don't Cc me, but send to list   --   I'm subscribed
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list