[DRBD-user] Archlinux packaging

Lars Ellenberg lars.ellenberg at linbit.com
Mon Jan 30 17:14:07 CET 2012

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, Jan 30, 2012 at 09:52:57AM +0100, Seblu wrote:
> Hello,
> 
> i'm working on adding drbd userspace tools to archlinux distribution.
> 
> When i load linux 3.2 drbd kernel module, it is recognised as 8.3.11.
> 3.3-rc seems to be the same.
> 
> # uname -r
> 3.2.2-1-ARCH
> # cat /proc/drbd
> version: 8.3.11 (api:88/proto:86-96)
> 
> 8.4.1 userland tool suggest me to use older version, matching to
> kernel one (8.3.11).
> 
> # drbdadm sh-nop
> DRBD module version: 8.3.11
>    userland version: 8.4.1
> preferably kernel and userland versions should match.
> 
> So i try to switch to 8.3.11 userland but i got and error when i make
> 
> $ cd /tmp/drbd-8.3.11/drbd
> $ make
> Makefile:95: *** "won't compile with this kernel version".  Stop.

You have seen:
http://git.drbd.org/gitweb.cgi?p=drbd-8.3.git;a=commitdiff;h=790c26b09519b9e02b3a7cf7897fb17c2ae339bf
http://www.gossamer-threads.com/lists/drbd/users/22508

Besides, you as you already have the in-tree drbd module,
and you want the drbd *userland* only, why are you trying
to build the out-of-tree *module* now?

If you want to build out-of-tree everything, then go with 8.3.12.
http://git.drbd.org/gitweb.cgi?p=drbd-8.3.git;a=shortlog

> So my main question is, which userland version is recommended to be
> used with linux 3.2 upstream drbd module?

8.3.11 (or 8.3.12, does not make a real difference here).

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com



More information about the drbd-user mailing list