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

rf at q-leap.de rf at q-leap.de
Wed Oct 20 13:42:37 CEST 2010


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

    Lars> On Mon, Oct 18, 2010 at 12:47:14PM +0200, rf at q-leap.de wrote:
    >> Also there were two issues when compiling the kernel modules for a 2.6.32
    >> kernel (both are present in 8.3.8.1 as well). I've appended a diff to
    >> the patch file I generated using make kernel-patch.

    Lars> Works for me, though.

Could you let me know what your exact cmdline to generate the patch is?

    Lars> The second chunk should be generated by the build automagic
    Lars> anyways.

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> Could you reason why the first chunk would be necessary?

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

Roland

    >> --- patch-linux-2.6.32.23.ql.2.6.32-14.nodrbd-drbd-8.3.9rc2	2010-10-15 16:34:04.854020482 +0200
    >> +++ patch-linux-2.6.32.23.ql.2.6.32-14.nodrbd-drbd-8.3.9rc2.orig	2010-10-15 16:03:11.345584416 +0200
    >> @@ -74,8 +74,8 @@
    >> --- linux-2.6.32.23.ql.2.6.32-14.nodrbd/drivers/block/drbd/Makefile	1970-01-01 01:00:00.000000000 +0100
    >> +++ linux-2.6.32.23.ql.2.6.32-14.nodrbd-drbd/drivers/block/drbd/Makefile	2010-10-15 15:24:49.000000000 +0200
    >> @@ -0,0 +1,11 @@
    >> -+ccflags-y := -include linux/drbd.h
    >> -+ccflags-y += -include linux/drbd_limits.h
    >> ++ccflags-y := -include $(DRBDSRC)/linux/drbd.h
    >> ++ccflags-y += -include $(DRBDSRC)/linux/drbd_limits.h
    >> +
    >> +drbd-y := drbd_buildtag.o drbd_bitmap.o drbd_proc.o
    >> +drbd-y += drbd_worker.o drbd_receiver.o drbd_req.o drbd_actlog.o


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

    Lars> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
    Lars> __
    Lars> please don't Cc me, but send to list   --   I'm subscribed
    Lars> _______________________________________________
    Lars> drbd-user mailing list
    Lars> drbd-user at lists.linbit.com
    Lars> http://lists.linbit.com/mailman/listinfo/drbd-user


More information about the drbd-user mailing list