[DRBD-user] make drbd9 for xenserver 7.2

Dmitrij V. Nemirskij tech at ru-point.com
Fri Sep 1 16:25:57 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.


Hi

Any ideas?



2017-08-21 9:50 GMT+03:00 Dmitrij Nemirskij <dmitrij.v.nemirskij at gmail.com>:

> How to make kernel module for xenserver 7.2, I need help
>
> download ddk for xenserver 7.2
> download drbd drbd-9.0.8-1
> cd drbd-9.0.8-1
> make kmp-rpm
>
> + 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
>     KDIR=/usr/src/kernels/4.4.0+10.x86_64
>
>     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.aP4Z71 (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.aP4Z71 (%build)
> make: *** [kmp-rpm] Error 1
>
> Where did the prefix .x86_64 come from?
>
> [root at localhost drbd-9.0.8-1]# uname -r
> 4.4.0+10
> [root at localhost drbd-9.0.8-1]# ls /boot/
> config-4.4.0+10  grub2
>  initrd-4.4.0+10.img  System.map-4.4.0+10
>  vmlinuz-4.4.0+10
> grub             initramfs-0-rescue-3a47b1aa9e2c42b19ffd091ac6a945c3.img
>  initrd-4.4-xen.img   vmlinuz-0-rescue-3a47b1aa9e2c42b19ffd091ac6a945c3
>  vmlinuz-4.4-xen
> [root at localhost drbd-9.0.8-1]# ls -l /boot/
> total 49564
> -rw-r--r--. 1 root root   107867 May  9 14:20 config-4.4.0+10
> drwxr-xr-x. 2 root root     4096 May  9 14:47 grub
> drwx------. 6 root root     4096 May  9 14:50 grub2
> -rw-r--r--. 1 root root 26321716 May  9 14:48 initramfs-0-rescue-
> 3a47b1aa9e2c42b19ffd091ac6a945c3.img
> -rw-r--r--. 1 root root 11294256 May  9 14:49 initrd-4.4.0+10.img
> lrwxrwxrwx. 1 root root       19 May  9 14:49 initrd-4.4-xen.img ->
> initrd-4.4.0+10.img
> -rw-r--r--. 1 root root  2996461 May  9 14:20 System.map-4.4.0+10
> -rwxr-xr-x. 1 root root  5156528 May  9 14:48 vmlinuz-0-rescue-
> 3a47b1aa9e2c42b19ffd091ac6a945c3
> -rw-r--r--. 1 root root  4772064 May  9 14:20 vmlinuz-4.4.0+10
> lrwxrwxrwx. 1 root root       16 May  9 14:49 vmlinuz-4.4-xen ->
> vmlinuz-4.4.0+10
> [root at localhost drbd-9.0.8-1]# ls -l /usr/lib
> lib/     lib64/   libexec/
> [root at localhost drbd-9.0.8-1]# ls -l /usr/lib/modules/
> total 4
> drwxr-xr-x. 3 root root 4096 May  9 14:49 4.4.0+10
> [root at localhost drbd-9.0.8-1]#
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170901/b77f521c/attachment.htm>


More information about the drbd-user mailing list