[DRBD-user] Request for Testing: New drbd packages for CentOS 4/5

Lars Ellenberg lars.ellenberg at linbit.com
Tue May 12 15:01:04 CEST 2009

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

On Tue, May 12, 2009 at 12:18:51PM +0200, Ralph Angenendt wrote:
> Lars Ellenberg wrote:
> > Note that the drbd-8.2.7 tgz from oss.linbit.com has one known serious
> > bug: if you do an online verify, and it did find something to be
> > out-of-sync, it calls a userland helper (sleeping function) from within
> > a spinlock. (introduced by a merge error on our part; git was able to
> > merge something just fine, but one change introduced the kernel helper,
> > the other introduced the spinlock...).
> > that was fixed just a few commits after the 8.2.7 release.
> > which is one of the main reasons (the other reason was a non-critical
> > stack corruption in userland) for SLE 11 to not grab 8.2.7 directly,
> > but http://git.drbd.org/?p=drbd-8.2.git;a=shortlog;h=refs/tags/sle11-hae
> Okay, I'm now building from that one, so expect
> drbd82-8.2.7.git_sle11_hae packages soon :)
> > even after that tag, there have been many minor improvements and fixes,
> > so you should consider to either use 8.2 git, or better: drbd 8.3 instead.
> A "git clone" from today does not build for me on RHEL5/CentOS:
> In file included from /builddir/build/BUILD/drbd-8.2.7.git_20090512/_kmod_build_/drbd/drbd_int.h:1351,
>                  from /builddir/build/BUILD/drbd-8.2.7.git_20090512/_kmod_build_/drbd/drbd_bitmap.c:31:
> /builddir/build/BUILD/drbd-8.2.7.git_20090512/_kmod_build_/drbd/drbd_wrappers.h:484: error: static declaration of 'proc_create' follows non-static declaration
> include/linux/proc_fs.h:113: error: previous declaration of 'proc_create' was here

thats what you distributors get for producing frankenstein kernels,
which pretend to be 2.6.18, but actually are a mixture of 2.6.(-3 .. 42)

(btw, your -92 kernel would still build. the -128 one has its own
backport of this proc_create).

for context, read the lines preceeding that drbd_wrappers.h:484
mentioned in the error message.

you could try to echo  "#define KERNEL_HAS_PROC_CREATE" >> drbd/linux/drbd_config.h
and see how far that gets 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