[DRBD-user] drbd module not correctly loading

Lars Ellenberg lars.ellenberg at linbit.com
Mon Sep 6 22:53: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.


On Mon, Sep 06, 2010 at 04:37:07PM -0400, Jean-Francois Malouin wrote:
> * 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...

Still not subscribed ;-)

> > 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)

The "in mainline linux" drbd split out one part of it as extra module,
while the out-of-tree module still contains this part.

rmmod lru_cache # in tree module
insmod drbd.ko  # out of tree module

Should fix it for you.


-- 
: 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



More information about the drbd-user mailing list