Package Details: kvdo-dkms 6.2.2.117-1

Git Clone URL: https://aur.archlinux.org/kvdo-dkms.git (read-only, click to copy)
Package Base: kvdo-dkms
Description: A pair of kernel modules which provide pools of deduplicated and/or compressed block storage
Upstream URL: https://github.com/dm-vdo/kvdo
Licenses: GPL2
Provides: kvdo
Submitter: zapp-brannigan
Maintainer: zapp-brannigan
Last Packager: zapp-brannigan
Votes: 3
Popularity: 0.25
First Submitted: 2018-08-19 18:48
Last Updated: 2020-01-21 16:58

Dependencies (0)

Required by (1)

Sources (3)

Latest Comments

1 2 Next › Last »

danhyal commented on 2020-01-01 20:48

I'm 99% sure it's related to the CONFIG_HZ kernel config, to fix the build issue compile linux-ck with CONFIG_HZ=1000 or use linux-zen where it is the default.

damir commented on 2020-01-01 20:21

but it builds fine against 4.19.92-1-lts (my backup kernel) ;)

damir commented on 2020-01-01 20:21

i just ran into another problem against kernel 5.4.7-arch1-1 (x86_64):

  LD [M]  /var/lib/dkms/kvdo/6.2.2.24/build/uds/uds.o
In file included from /var/lib/dkms/kvdo/6.2.2.24/build/vdo/../uds/memoryAlloc.h:30,
                 from /var/lib/dkms/kvdo/6.2.2.24/build/vdo/kernel/histogram.c:24:
/var/lib/dkms/kvdo/6.2.2.24/build/vdo/kernel/histogram.c: In function ‘makeLogarithmicJiffiesHistogram’:
/var/lib/dkms/kvdo/6.2.2.24/build/vdo/../uds/permassert.h:114:5: error: duplicate case value
  114 |     case expr:              \
      |     ^~~~
/var/lib/dkms/kvdo/6.2.2.24/build/vdo/kernel/histogram.c:600:3: note: in expansion of macro ‘STATIC_ASSERT’
  600 |   STATIC_ASSERT((MSEC_PER_SEC % HZ) == 0);
      |   ^~~~~~~~~~~~~
/var/lib/dkms/kvdo/6.2.2.24/build/vdo/../uds/permassert.h:113:5: note: previously used here
  113 |     case 0:                 \
      |     ^~~~
/var/lib/dkms/kvdo/6.2.2.24/build/vdo/kernel/histogram.c:600:3: note: in expansion of macro ‘STATIC_ASSERT’
  600 |   STATIC_ASSERT((MSEC_PER_SEC % HZ) == 0);
      |   ^~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:265: /var/lib/dkms/kvdo/6.2.2.24/build/vdo/kernel/histogram.o] Error 1

damir commented on 2020-01-01 20:20

linux-ck-zen is from http://repo-ck.com/

danhyal commented on 2020-01-01 16:43

@damir I don't see a kernel called linux-ck-zen on the aur, have you tried the linux-zen kernel? that works just fine for me.

damir commented on 2020-01-01 16:32

FYI - kvdo 6.2.2.24 is not compatible with linux-ck-zen:

  CC [M]  /var/lib/dkms/kvdo/6.2.2.24/build/uds/singleFileLayout.o
/var/lib/dkms/kvdo/6.2.2.24/build/uds/resourceUsageLinuxKernel.c: In function ‘a
ddOneThread’:
/var/lib/dkms/kvdo/6.2.2.24/build/uds/resourceUsageLinuxKernel.c:69:21: error: ‘
struct task_struct’ has no member named ‘se’
   69 |     .cputime  = task->se.sum_exec_runtime,
      |                     ^~
  CC [M]  /var/lib/dkms/kvdo/6.2.2.24/build/uds/udsModule.o
make[2]: *** [scripts/Makefile.build:266: /var/lib/dkms/kvdo/6.2.2.24/build/uds/
resourceUsageLinuxKernel.o] Error 1

zapp-brannigan commented on 2019-12-21 08:08

Thank you, merged your changes :)

danhyal commented on 2019-12-21 02:10

I have fixed the package using a patch from upstream, consider merging the changes from my repo. https://github.com/Danhyal-Masood/kvdo-dkms

balwierz commented on 2019-07-27 09:53

Module does not compile with the current gcc + kernel sources:

/var/lib/dkms/kvdo/6.2.1.102/build/vdo/base/heap.c: In function ‘swapElements’:
/var/lib/dkms/kvdo/6.2.1.102/build/vdo/base/heap.c:52:3: error: ISO C90 forbids variable length array ‘temp’ [-Werror=vla]
   52 |   byte temp[heap->elementSize];
      |   ^~~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /var/lib/dkms/kvdo/6.2.1.102/build/vdo/base/heap.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/kvdo/6.2.1.102/build/uds/util/pathBuffer.c: In function ‘initializePathBufferSprintf’:
/var/lib/dkms/kvdo/6.2.1.102/build/uds/util/pathBuffer.c:91:3: error: ISO C90 forbids array ‘buf’ whose size can’t be evaluated [-Werror=vla]
   91 |   char buf[DEFAULT_PATH_BUFFER_SIZE];
      |   ^~~~
cc1: all warnings being treated as errors

nyoxi commented on 2019-02-28 19:24

I see. linux-lts has HZ set to 100, that's why the assert works there.