[DRBD-user] Archlinux packaging

Seblu seblu at seblu.net
Wed Feb 1 12:48:18 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 30/01/2012 17:14, Lars Ellenberg wrote:
> 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

Ok i will apply your patch unless your release a 8.3.13 soon?

> 
> 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?
I doesn't try to build module! Unfortunatly, building userland check
kernel version.

i run ./configure --without-km. That should suffice to build userland
only, no?

> 
> 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).
ok thanks!

-- 
Sébastien Luttringer




More information about the drbd-user mailing list