Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Wed, Feb 01, 2012 at 12:48:18PM +0100, Seblu wrote: > 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 somehow doubt that? > i run ./configure --without-km. That should suffice to build userland > only, no? Yes. I think that would even be the default, so: ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc But you did "cd drbd && make", which starts the module build anyways. So don't do that if you don't mean it. > > > > > 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 > > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user -- : 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