On Thu, Nov 14, 2019 at 6:20 PM Steven Munroe <munroesj52(a)gmail.com> wrote:
> kernel-headers is related to the userspace API and is not tied to a particular
kernel version.
> If the userspace API doesn't change there's no need to rebuild. Is there a
problem you're
> seeing by not having an updated kernel-headers?
That does not be it works in all cases.
I have Highpoint RSSD 7101A card with 2TB of NVME storage, which I
would like to use!
With the latest Fedora 30 update (5.3.7) the kernel will not boot
because the modprobe can find the driver (rsnvme).
Interestingly the two previous kernels (5.1.19 and 5.1.20) have the
same complaint but boot anyway. The HighPoint storage is not used for
normal Linux OS or /home
So what is different with the 5.3.7 kernel!!!!
So I download latest HighPoint RDDS 7101A driver and run there magic
build script.
Which fines three kernels:
compile:default boot kernel: /boot/vmlinuz-5.3.7-200.fc30.x86_64
dumpkernels:kernel installed
kernel-5.1.20-300.fc30.x86_64
kernel-5.1.19-300.fc30.x86_64
kernel-5.3.7-200.fc30.x86_64
And tries to build its driver against each kernel. But that fails because:
kernelver:--------------------
compile:kernel file /boot/vmlinuz-5.3.7-200.fc30.x86_64 version
5.3.7-200.fc30.x86_64 [default boot kernel]
installkerndev:install kerneldev 5.3.7-200.fc30.x86_64
installkerndev:install package kernel-core-devel-5.3.7-200.fc30
Error: Unable to find a match: kernel-devel-5.3.7-200.fc30
compile:kernel 5.3.7-200.fc30.x86_64 does not contain kernel headers, active[1].
Ok so I install kernel-devel and get 5.3.11-200.fc30
and install kernel-headers and get 5.3.6-200.fc30
To build a module, you need kernel-devel, and it needs to be the same
version as the kernel you are building against. kernel-devel can be
parallel installed, so you can have multiple versions. It is highly
recommended that you run the 5.3.11 or newer kernel packages at this
point as well, since they fix a number of security issues.
Justin
>
> I run the HighPoint driver build again and it fails again because none
> of the installed kernels have matching headers.
>
> And I cant find any way to convince the 5.3.7 kernel not to care about
> the missing rsnvme driver. And I cant seem to find the matched kernel
> headers for the kernel fedora desided to install!!!!
>
> I am stuck here. I really don't want to be forced into a clean
> reinstall And I really want to be able to use this fast NVME storage.
> _______________________________________________
> devel mailing list -- devel(a)lists.fedoraproject.org
> To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org