dm-vdo/kvdo

VDO fails to auto add transparantly on my AlmaLinux 9.3 box

Opened this issue · 5 comments

Ehm, I'm sure its PEBKAC :) But:

dnf update snippet:
kvdo/8.2.3.3 autoinstall failed due to missing dependencies: LZ4_DECOMPRESS Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. Failed.

And manually:

❯ dkms install kvdo/8.2.3.3 -k 6.7.8-1.el9.elrepo.x86_64
Sign command: /lib/modules/6.7.8-1.el9.elrepo.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j32 KERNELRELEASE=6.7.8-1.el9.elrepo.x86_64 -C /lib/modules/6.7.8-1.el9.elrepo.x86_64/build M=/var/lib/dkms/kvdo/8.2.3.3/build....
Signing module /var/lib/dkms/kvdo/8.2.3.3/build/vdo/kvdo.ko
Cleaning build area...

kvdo.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.7.8-1.el9.elrepo.x86_64/extra/
Adding any weak-modules
depmod....
❯ dracut -f -p --kver=6.7.8-1.el9.elrepo.x86_64 --force
dracut: Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE_[AMD|INTEL]!=y

Beats me 👎

Thanks for the report. I am going to see if I can reproduce this. Hopefully, I will have an answer in a few days.

Chung

Hi, I am able to install kmod-kvdo in AlmaLinux 9.3 with and without elrepo.

Do you know if LZ4 is configured in your kernel. Thanks!

❯ modinfo lz4 filename: /lib/modules/6.7.8-1.el9.elrepo.x86_64/kernel/crypto/lz4.ko.xz alias: crypto-lz4 alias: lz4 description: LZ4 Compression Algorithm license: GPL srcversion: B88E495B33ADC7320B31AA8 depends: lz4_compress retpoline: Y intree: Y name: lz4 vermagic: 6.7.8-1.el9.elrepo.x86_64 SMP preempt mod_unload modversions ❯ uname -a Linux beerstra 6.7.8-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 2 21:21:36 EST 2024 x86_64 x86_64 x86_64 GNU/Linux

The funky part is simply installing a new kernel from elrepo fails on building kvdo, but manually building kvdo via dkms for that specific kernel works just fine. I'm sure something is wrong on my part but as we speak I do use vdo on multiple LVM2 volumes with 6.7.8 ;) I did build kvdo-dkms and vdo-tools from spec files though.

I have some hw requirements that are not met by the default AlmaLinux 9.3 kernel. Specific: sensors, amd pstates and proper support for my AMD iGPU graphics.

Hi. I am trying to see if I can reproduce this. Can you tell me how do you do the update?
Are you updating your OS when this happened? Or you are just updating VDO?

Thanks!

It goes wrong during kernel-ml update form elrepo, zfs and nvidia modules build just fine during this step. As said manually running dkms install on the new kernel and vdo module does run successfully.