Package Details: kvdo-dkms 8.2.3.3-2

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: eggz
Last Packager: eggz
Votes: 5
Popularity: 0.002118
First Submitted: 2018-08-19 18:48 (UTC)
Last Updated: 2023-10-24 05:48 (UTC)

Dependencies (1)

Required by (1)

Sources (2)

Pinned Comments

eggz commented on 2022-01-27 13:04 (UTC)

Tired of compiling? Use this binary repo instead! Add this at the end of /etc/pacman.conf :

[packages]
Server = http://nhameh.ovh/$repo/$arch
SigLevel = Optional TrustAll

Latest Comments

1 2 3 Next › Last »

micwoj92 commented on 2023-10-23 16:35 (UTC)

Please add dkms to depends.

Xynon commented on 2022-12-09 06:20 (UTC)

thanks for this :)

eggz commented on 2022-01-27 13:16 (UTC)

Hello guys, I have adopted this package to make it work with the latest kernel. For my environment it seems to work now, I can get started.

But I cannot guarantee it will work for other environments aswell. If it proves too much work then ill probably end up orphaning these vdo packages aswel. Its just that ... I got it working for me and I just wanted to share my work.

eggz commented on 2022-01-27 13:04 (UTC)

Tired of compiling? Use this binary repo instead! Add this at the end of /etc/pacman.conf :

[packages]
Server = http://nhameh.ovh/$repo/$arch
SigLevel = Optional TrustAll

zork commented on 2022-01-27 13:03 (UTC)

8.x is not production ready. vdo python tool do not exists anymore, there is no easy way to convert existing non-lvm devices to vdo-lvm devices, documentation is not complete [1].

I managed to compile it with 5.15 using https://github.com/rhawalsh/kvdo, but I reverted back to 5.4 kernel from kernel-lts unofficial repo and the latest kvdo 6.x

[1] https://listman.redhat.com/archives/vdo-devel/2022-January/msg00001.html

zapp-brannigan commented on 2021-03-26 15:20 (UTC)

Hmmm, i see. Since i do not use vdo/kvdo anymore, is anybody interested to take over maintenance for the PKGBUILDs?

nyoxi commented on 2021-03-26 12:08 (UTC)

Unfortunately no. :) The source now point to a git branch and not to a tagged commit. Since there were new commits pushed in February the SHA has does not match anymore.

The following patch makes it explicit that git branch is used to avoid confusion. Optionally appending string "-git" to VERSION or something like that may be be a good idea too.

diff --git a/PKGBUILD b/PKGBUILD
index af6cf68..645646c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,16 +10,16 @@ arch=('x86_64')
 url="https://github.com/rhawalsh/kvdo"
 license=('GPL2')
 provides=('kvdo')
-source=("$_pkgname-$pkgver.tar.gz::https://github.com/rhawalsh/kvdo/archive/$pkgver-COPR.tar.gz"
+source=("git+https://github.com/rhawalsh/kvdo#branch=$pkgver-COPR"
         "dkms.conf"
         "config_hz.patch")
-sha256sums=('78f0a02aeb69d65010184d836ea3da2b2430cdd480cb58a4793fe4e980371924'
+sha256sums=('SKIP'
             '516f60bdb28f7a0cb6c8f1f84c656ee7c6aec8feb393538f227ed515372ac88a'
             '8871d201fef0b4ae8ea4a3459e7a3b375b5d104df110dcbf56c8da929c68b946')

 package() {
   mkdir -p "$pkgdir"/usr/src
-  cp -r "$_pkgname-$pkgver-COPR" "$pkgdir"/usr/src/"$_pkgname-$pkgver"
+  cp -r "$_pkgname" "$pkgdir"/usr/src/"$_pkgname-$pkgver"
   cd "$pkgdir"/usr/src/kvdo-"$pkgver"
   patch --forward --strip=0 -i "$srcdir"/config_hz.patch
   cd "$srcdir"

zapp-brannigan commented on 2020-12-12 08:27 (UTC)

Switched to COPR repo, so everyone should be happy ;)

id01 commented on 2020-12-11 00:19 (UTC) (edited on 2020-12-11 00:20 (UTC) by id01)

According to README.md on upstream[1], a fork compatible with new kernel versions has been made and is being maintained here[2] under the -COPR branches. While it still requires a patch for config_hz (to remove the check for an integer number of millseconds in every tick), it no longer needs vla-warning, and can compile on latest kernels.

I suggest using this, and have made an alternate version of this PKGBUILD using those sources that works on 5.9.

[1] https://github.com/dm-vdo/kvdo

[2] https://github.com/rhawalsh/kvdo/tree/6.2.4.26-COPR

PKGBUILD:

# Maintainer: zapp-brannigan <fuerst.reinje@web.de>
#             danhyal <danhyal@gmail.com>
#             jgottula
_pkgname=kvdo
pkgname=kvdo-dkms
pkgrel=1
pkgver=6.2.4.26
pkgdesc='A pair of kernel modules which provide pools of deduplicated and/or compressed block storage'
arch=('x86_64')
url="https://github.com/rhawalsh/kvdo"
license=('GPL2')
provides=('kvdo')
source=("$_pkgname-$pkgver-COPR.tar.gz::https://github.com/rhawalsh/kvdo/archive/$pkgver-COPR.tar.gz"
        "dkms.conf"
        "config_hz.patch")
sha256sums=('78f0a02aeb69d65010184d836ea3da2b2430cdd480cb58a4793fe4e980371924'
            '516f60bdb28f7a0cb6c8f1f84c656ee7c6aec8feb393538f227ed515372ac88a'
            '79e0c9cc6f81ee40f3e3efb15b5602640c891105f78e8add6b47a05e7a9221c4')

package() {
  mkdir -p "$pkgdir"/usr/src
  cp -r "$_pkgname-$pkgver-COPR" "$pkgdir"/usr/src/"$_pkgname-$pkgver-COPR"
  cd "$pkgdir"/usr/src/kvdo-"$pkgver-COPR"
  patch --forward --strip=0 -i "$srcdir"/config_hz.patch
  cd "$srcdir"
  sed -e "s/@PKGVER@/${pkgver}-COPR/" dkms.conf > "$pkgdir"/usr/src/"$_pkgname-$pkgver-COPR"/dkms.conf
}

config_hz.patch:

--- vdo/kernel/histogram.c  2020-12-10 15:44:20.579469737 -0800
+++ vdo/kernel/histogram.c  2020-12-10 15:44:36.982834361 -0800
@@ -595,8 +595,10 @@
    * If these fail, we have a jiffy duration that is not an integral number of
    * milliseconds, and the unit conversion code needs updating.
    */
+/* I live on the edge
   STATIC_ASSERT(HZ <= MSEC_PER_SEC);
   STATIC_ASSERT((MSEC_PER_SEC % HZ) == 0);
+*/
   return makeLogarithmicHistogramWithConversionFactor(parent, name, initLabel,
                                                       countedItems,
                                                       metric, "milliseconds",

mushrewm commented on 2020-05-12 02:40 (UTC)

I made a patch[1] to this repo to get it building again on the latest kernels.

[1] https://gist.github.com/SeamusConnor/90394a58cdc1d30c396a1c43f206768e