[DRBD-user] drbd-8.3.1 - build regression from 8.3.1rc2 (on debian/lenny 2.6.26-1 xen-amd64)

Philipp Reisner philipp.reisner at linbit.com
Mon Mar 30 10:36:00 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 Saturday 28 March 2009 10:17:06 Bruno Voigt wrote:
> Hi,
>
> the following commit causes the m-a a-i drbd8 to fail
> on debian/lenny amd64
> with kernel 2.6.26-1-xen-amd64:
>
> http://git.drbd.org/?p=drbd-8.3.git;a=commitdiff;h=312e43eae1463c47c9984362
>8187fd050668272a
>
> 8.3.1rc2 worked,
> I had to reenable the following line in drbd_config.h :
>
> #define HAVE_LINUX_BYTEORDER_SWABB_H
>
> WR,
> Bruno

Hi Bruno,

I think this is an issue with the way the module is build on debian. In the
DRBD distribution tarball there is the ~drbd/scripts/adjust_drbd_config_h.sh .

With a CWD of ~drbd/drbd call the adjust script with KDIR and O set:

KDIR=/your/favourite/linux-src O= ../scripts/adjust_drbd_config_h.sh

And it will fix drbd drbd_config.h for that particular kernel.

I think that this step is not done by the debian build control files.

-Phil
-- 
: Dipl-Ing Philipp Reisner
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-50, Fax: +43-1-8178292-82
: http://www.linbit.com

DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.




More information about the drbd-user mailing list