No kmod-kvdo compatible with kernel-5.14.0-47.el9.x86_64

Issues related to applications and software problems and general support
Post Reply
ambiamber
Posts: 2
Joined: 2022/01/27 22:32:54

No kmod-kvdo compatible with kernel-5.14.0-47.el9.x86_64

Post by ambiamber » 2022/01/27 23:39:54

I tried the newest one in koji (kmod-kvdo-8.1.1.287-10.el9.x86_64.rpm) but it installs under

/lib/modules/5.14.0-44.el9.x86_64/extra/kmod-kvdo

The one that dnf provides now installs under

/lib/modules/5.14.0-30.el9.x86_64/extra/kmod-kvdo

To work with kernel-5.14.0-47.el9.x86_64 it needs to install under

/lib/modules/5.14.0-47.el9.x86_64/extra/kmod-kvdo

I had to patch the source code for kmod-kvdo-8.1.0.316-10.el9.x86_64 to make it compile on kernel-5.14.0-47.el9.x86_64

Code: Select all

$ cat rpmbuild/SOURCES/0004-STATUSTYPE_IMA.patch
diff --git a/vdo/dmvdo.c b/vdo/dmvdo.c
--- dmvdo.c	2022-01-27 17:57:26.531787497 -0500
+++ dmvdo.c	2022-01-27 18:00:42.454463549 -0500
@@ -197,6 +197,9 @@
 		device_config = (struct device_config *) ti->private;
 		DMEMIT("%s", device_config->original_string);
 		break;
+	case STATUSTYPE_IMA:
+	  *result = '\0';
+	  break;
 	}
 }
 $ diff -u rpmbuild/SPECS/kmod-kvdo.spec~ rpmbuild/SPECS/kmod-kvdo.spec
--- rpmbuild/SPECS/kmod-kvdo.spec~	2022-01-06 13:07:11.000000000 -0500
+++ rpmbuild/SPECS/kmod-kvdo.spec	2022-01-27 18:05:00.406771344 -0500
@@ -15,6 +15,7 @@
 Patch0:         0001-Eliminate-use-of-bvec_kmap_irq.patch
 Patch1:         0002-Removed-usage-of-removed-elevator-constants.patch
 Patch2:         0003-TEMP_RIP_OUT_SYSFS.patch
+Patch3:         0004-STATUSTYPE_IMA.patch
 
 %define findpat %( echo "%""P" )
 
@@ -110,6 +111,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %{nil}
 set -- *
 mkdir source
 

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: No kmod-kvdo compatible with kernel-5.14.0-47.el9.x86_64

Post by jlehtone » 2022/01/28 09:42:09

AFAIK, bug reports for Stream 9 should go to Red Hat Bugzilla:
https://bugzilla.redhat.com/enter_bug.c ... S%20Stream

ambiamber
Posts: 2
Joined: 2022/01/27 22:32:54

Re: No kmod-kvdo compatible with kernel-5.14.0-47.el9.x86_64

Post by ambiamber » 2022/01/28 20:16:51

I was able to fetch the spec file from koji and change the kernel version number in it and build the kmod-kvdo-8.1.1.287-10.el9.x86_64.rpm from that.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: No kmod-kvdo compatible with kernel-5.14.0-47.el9.x86_64

Post by TrevorH » 2022/01/28 20:39:13

Bug reports still need to go to the right place or no-one will know. To the best of my knowledge, no-one from the Stream team looks at the forums at all.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply