[DRBD-user] Fwd: make kernel module for xenserver ddk 7.2

Dmitrij Nemirskij dmitrij.v.nemirskij at gmail.com
Fri Aug 18 16:23:03 CEST 2017

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


Source drbd-9.0.8-1

+ make -C obj/default all KDIR=/usr/src/kernels/4.4.0+10.x86_64
make[1]: Entering directory `/root/rpmbuild/BUILD/drbd-9.0.8-1/obj/default'

    Calling toplevel makefile of kernel source tree, which I believe is in

    SORRY, kernel makefile not found. You need to tell me a correct KDIR!

make[1]: *** [greeting] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/drbd-9.0.8-1/obj/default'
error: Bad exit status from /var/tmp/rpm-tmp.St6ZUO (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.St6ZUO (%build)
make: *** [kmp-rpm] Error 1
[root at localhost drbd-9.0.8-1]#
[root at localhost drbd-9.0.8-1]# ls -l /usr/src/kernels/
total 4
drwxr-xr-x. 23 root root 4096 Aug 18 14:07 4.4.0+10-x86_64

[root at localhost drbd-9.0.8-1]# ls -l /lib/mod
modprobe.d/     modules/        modules-load.d/
[root at localhost drbd-9.0.8-1]# ls -l /lib/modules/
total 4
drwxr-xr-x. 3 root root 4096 May  9 14:49 4.4.0+10

fix it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170818/aa6f1e6a/attachment.htm>

More information about the drbd-user mailing list