Hello. I used the sata_via kmod to install centos 8 in an old desktop that otherwise
wouldn't find the drive. I had probably at least two kernel updates since that went
without issues.
Then when upgrading to centos 8.3 the kernel went from 4.18.193 to 4.18.240 and this new
kernel would drop me into dracut shell. I described it in this post in the forums (to the
end, as it was a pre-existing post)
https://forums.centos.org/viewtopic.php?f=54&t=76597
Trying to solve the new kernel issue I installed elrepo-release and kmod-sata_via but this
resulted in now me being unable to successfully boot into neither kernels as it failed to
install the kmod into the kernel I was using which was the old one (193) and I think maybe
because of me being in the old kernel, the package also didn't install for the new
kernel (?).
So I booted a Fedora live-usb and regenerated all initramfs after copying sata_via.ko to
the kernel dirs in lib/modules. This resulted in the new kernel now working but it still
failed to install in the old one. I'm thinking that maybe it wasn't needed to copy
sata_via.ko from /lib/modules/4.18.0-240.el8.x86_64 (where the package puts it) to
/lib/modules/4.18.0-240.1.1.el8_3.x86_64 but that the failure might have come from the
fact that I was using version 193 and the package expected for me to be using version 240
and would run dracut into the current running kernel, which failed.
As for my use case, since this is an old desktop pc I might probably just pin the kernel
and not upgrade it more.