[Vdo-devel] Question related to kernel

Sweet Tea Dorminy sweettea at redhat.com
Tue Nov 6 16:34:30 UTC 2018


Greetings;

Take a look at the 6.1 branch at https://github.com/dm-vdo/kvdo/tree/6.1,
which I believe does build against kernel 4.4. Your compile log seems to
indicate you downloaded a 6.2 version of VDO from Github, which removed
support for certain older kernel versions.

Let us know if you have more problems!

Thanks!

John Dorminy

On Tue, Nov 6, 2018 at 10:38 AM, Marko Vida <marko.vida at cronet.ie> wrote:

> Hi,
>
> I tried to install vdo on a CentOS 7.5 modified release - XCP-ng 7.6 to be
> exact. This runs on kernel 4.4.
> VDO works great on vanilla CentOS 7.5 (kernel 3.10).
>
> After installing kvdo module I realized that this module is compiled and
> available only for kernel 3.10. I have then downloaded a soruce code from
> git and tried to compile it myself. This was also unsuccessful due to
> missing files.
>
> # make -C /usr/src/kernels/4.4.0+10-x86_64 M=`pwd`
> make: Entering directory `/usr/src/kernels/4.4.0+10-x86_64'
>   CC [M]  /opt/kvdo-6.2.0.239/uds/memoryLinuxKernel.o
> /opt/kvdo-6.2.0.239/uds/memoryLinuxKernel.c:25:28: fatal error:
> linux/sched/mm.h: No such file or directory
>  #include <linux/sched/mm.h>
>                             ^
> compilation terminated.
> make[2]: *** [/opt/kvdo-6.2.0.239/uds/memoryLinuxKernel.o] Error 1
> make[1]: *** [/opt/kvdo-6.2.0.239/uds] Error 2
> make: *** [_module_/opt/kvdo-6.2.0.239] Error 2
> make: Leaving directory `/usr/src/kernels/4.4.0+10-x86_64'
>
>
> Upon searching where to find that file, I came across kernel-plus-devel
> package, which is by the way, only available up to version 3.10.
>
> I was wondering do you plan to implement support for Kernel 4 anytime soon
> or / if not, what would be the best way to run vdo on kernel 4.4?
>
> Regards,
> Marko
> VDO Enthusiast
>
> _______________________________________________
> Vdo-devel mailing list
> Vdo-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/vdo-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vdo-devel/attachments/20181106/964e0998/attachment.htm>


More information about the vdo-devel mailing list