[DRBD-user] compiling drbd 8.3.9 remus enabled

Walter Robert Ditzler ditwal001 at gmail.com
Thu Jul 14 22:13:29 CEST 2011

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


hi folks,

i have now a squeeze box, 2.6.39.3, xen 4.2 unstable running perfectly. for
a remus sync, I need the disks (lvm) to be synced, which I wanted to do with
drbd protocol D.

I downloaded the source from git://aramis.nss.cs.ubc.ca/drbd-8.3-remus page
and made:

***
(http://remusha.wikidot.com/configuring-and-installing-remus)
git clone git://aramis.nss.cs.ubc.ca/drbd-8.3-remus

chown -R root:root drbd-8.3-remus

cd /usr/src/drbd-8.3-remus

chmod 777 autogen.sh

./autogen.sh

dpkg-buildpackage -b -uc

cd /usr/src/drbd-8.3-remus/drbd

make clean

make
***

while doing it the "make" I get the following error:

***
make[1]: Entering directory `/usr/src/linux-2.6.39.3'
  CC [M]  /usr/src/drbd-8.3-remus/drbd/drbd_buildtag.o
  CC [M]  /usr/src/drbd-8.3-remus/drbd/drbd_bitmap.o
In file included from /usr/src/drbd-8.3-remus/drbd/drbd_int.h:1652,
                 from /usr/src/drbd-8.3-remus/drbd/drbd_bitmap.c:31:
/usr/src/drbd-8.3-remus/drbd/drbd_wrappers.h: In function
âdrbd_plug_deviceâ:
/usr/src/drbd-8.3-remus/drbd/drbd_wrappers.h:222: error: implicit
declaration of function âblk_queue_pluggedâ
/usr/src/drbd-8.3-remus/drbd/drbd_wrappers.h:223: error: implicit
declaration of function âblk_plug_deviceâ
/usr/src/drbd-8.3-remus/drbd/drbd_wrappers.h:224: error: âstruct
request_queueâ has no member named âunplug_timerâ In file included from
/usr/src/drbd-8.3-remus/drbd/drbd_bitmap.c:31:
/usr/src/drbd-8.3-remus/drbd/drbd_int.h: In function âdrbd_blk_run_queueâ:
/usr/src/drbd-8.3-remus/drbd/drbd_int.h:2637: error: âstruct request_queueâ
has no member named âunplug_fnâ
/usr/src/drbd-8.3-remus/drbd/drbd_int.h:2638: error: âstruct request_queueâ
has no member named âunplug_fnâ
/usr/src/drbd-8.3-remus/drbd/drbd_int.h: In function âdrbd_md_flushâ:
/usr/src/drbd-8.3-remus/drbd/drbd_int.h:2656: warning: passing argument 2 of
âblkdev_issue_flushâ makes integer from pointer without a cast
include/linux/blkdev.h:922: note: expected âgfp_tâ but argument is of type
âvoid *â
/usr/src/drbd-8.3-remus/drbd/drbd_int.h:2656: error: too few arguments to
function âblkdev_issue_flushâ
make[3]: *** [/usr/src/drbd-8.3-remus/drbd/drbd_bitmap.o] Error 1
make[2]: *** [_module_/usr/src/drbd-8.3-remus/drbd] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.39.3'
make: *** [kbuild] Error 2
***

any glue what's going on over here?

by the way, do I really need the protocol D for my xen 4.2 disk sync?

thanks a looooooooooooooooot making my nights longer :-)

walter




More information about the drbd-user mailing list