[DRBD-user] problems compiling drbd-3.8.10 on Debian/Squeeze

Jean-Francois Malouin Jean-Francois.Malouin at bic.mni.mcgill.ca
Mon Apr 18 17:19:43 CEST 2011

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


Hi,

* Felix Frank <ff at mpexnet.de> [20110418 03:22]:
> On 04/15/2011 05:36 PM, Jean-Francois Malouin wrote:
> > Hi,
> > 
> > I can't seem to compile drbd-3.8.10 on Debian/squeeze using
> > module-assistant. This is with Debian kernel
> > linux-image-2.6.32-5-xen-amd64 (2.6.32-31)
> > 
> > make[3]: Entering directory
> > `/usr/src/linux-headers-2.6.32-5-xen-amd64'
> >   CC [M]  /usr/src/modules/drbd/drbd/drbd_buildtag.o
> > In file included from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/notifier.h:13,
> >                  from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/memory_hotplug.h:6,
> >                  from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/mmzone.h:668,
> >                  from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/gfp.h:4,
> >                  from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/kmod.h:22,
> >                  from /usr/src/linux-headers-2.6.32-5-common-xen/include/linux/module.h:13,
> >                  from /usr/src/linux-headers-2.6.32-5-common-xen/include/net/sock.h:48,
> >                  from /usr/src/modules/drbd/drbd/linux/connector.h:109,
> >                  from /usr/src/modules/drbd/drbd/linux/drbd.h:28,
> >                  from /usr/src/modules/drbd/drbd/drbd_buildtag.c:2:
> > /usr/src/modules/drbd/drbd/linux/mutex.h:6:27: error: asm/semaphore.h: No such file or directory
> > 
> > Any pointers? Full build trace is attached.
> > thanks,
> > jf
> 
> Hi,
> 
> I believe you're supposed to be using the DRBD module from within the
> kernel source tree (Debian backported DRBD into their Squeeze kernel).
> 
> I had bad luck building the out-of-tree module for a newish kernel
> recently, as well.

Yes, Debian comes with 8.3.7.
However I can compile 8.3.8 no problem, 
but not 8.3.10 so I'm just wondering...

thanks
jf

> 
> HTH,
> Felix
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list