[DRBD-user] drbd-8.3.9rc2.tar.gz

rf at q-leap.de rf at q-leap.de
Wed Oct 20 16:33:30 CEST 2010

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


>>>>> "Lars" == Lars Ellenberg <lars.ellenberg at linbit.com> writes:

    >> Build automagic of who? The kernel? When I apply the patch generated by
    >> make kernel-patch and compile I get a "BLK_MAX_SEGMENTS undefined" error.

    Lars> Ah.  Well, the build magic of DRBD.  You are supposed to build
    Lars> the out-of-tree DRBD module as external module.  You are not
    Lars> supposed to use the "make kernel-patch" thing.  It may or may
    Lars> not work. I don't really care if it does.  We should probably
    Lars> drop if from our makefiles now.

    Lars> But if you go that route, you first need to
    Lars>  ./scripts/adjust_drbd_config_h.sh
    Lars> Or even KDIR=$KDIR O=$O ../scripts/adjust_drbd_config_h.sh

OK, that fixes the missing #define. Thanks for the hint.

    Lars> Could you reason why the first chunk would be necessary?

    >> The kernel doesn't know about the variable  $(DRBDSRC)

    Lars> Of course it does not.  And you should not patch it in there.
    Lars> The in-kernel tree drbd must only use the in kernel tree .h
    Lars> files, obviously.  So the in-kernel tree Makefile should be
    Lars> left untouched.

I prefer in-tree, but OK, I build it out of tree from now on.

Now to the more serious problem. Do you have any hint on how to start
debugging the SDP connect problem?

Roland



More information about the drbd-user mailing list