When akmods builds `akmod-nvidia` on CentOS 8 with EPEL 8 (akmods-0.5.6-22.el8 and kmodtool-1-36.el8 from koji), the build fails: 2019/10/11 15:11:51 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 4.18.0-80.7.1.el8_0.x86_64 /usr/src/akmods/nvidia-kmod.latest' warning: user mockbuild does not exist - using root warning: group mock does not exist - using root warning: user mockbuild does not exist - using root warning: group mock does not exist - using root error: Failed build dependencies: kernel-abi-whitelists is needed by nvidia-kmod-3:430.40-1.el8.x86_64 If the kernel-abi-whitelists package is installed, the build succeeds.
Leigh, is this specific for nvidia ? I don't remember need that for VirtualBox , neither have a clue about what is the propose of kernel-abi-whitelists . We got excludekernel-filter.txt file in VirtualBox-kmod ... Best regards,
From commit [1] in line 203 [2] is not clear if we need kernel-abi-whitelists , and for what ... ? . I tested the new akmods and kmodtool in Centos 7 vm and I worked correctly . [1] https://src.fedoraproject.org/rpms/kmodtool/c/0e36b508bfd607d5c076c86b56ba6e0698225899?branch=master [2] + BuildRequires: kernel-devel = ${kernel_uname_r_wo_arch} redhat-rpm-config kernel-abi-whitelists
Hello, (In reply to Sergio Monteiro Basto from comment #2) > From commit [1] in line 203 [2] is not clear if we need > kernel-abi-whitelists , and for what ... ? . At the time of this addition, I used as one of the sources of inspiration this page: https://elrepo.org/tiki/wl-kmod and then with: rpm -qp --requires http://elrepo.org/linux/elrepo/el7/SRPMS/wl-kmod-6_30_223_271-5.el7.elrepo.nosrc.rpm it sounds to me that kernel-abi-whitelists had to be included in the BuildRequires list, maybe this was a mistake. Probably this BuildRequires in line 203 can be rewritten, but tests are needed, as this: + BuildRequires: kernel-devel = ${kernel_uname_r_wo_arch} redhat-rpm-config Comment about this subject are welcome. Cordially, -- NVieville
(In reply to Sergio Monteiro Basto from comment #1) > Leigh, is this specific for nvidia ? I don't remember need that for > VirtualBox , neither have a clue about what is the propose of > kernel-abi-whitelists . It's not required for nvidia. > We got excludekernel-filter.txt file in VirtualBox-kmod ... > > Best regards,
(In reply to nicolas.vieville from comment #3) > Hello, > > (In reply to Sergio Monteiro Basto from comment #2) > > From commit [1] in line 203 [2] is not clear if we need > > kernel-abi-whitelists , and for what ... ? . > > At the time of this addition, I used as one of the sources of > inspiration this page: > > https://elrepo.org/tiki/wl-kmod > > and then with: > > rpm -qp --requires > http://elrepo.org/linux/elrepo/el7/SRPMS/wl-kmod-6_30_223_271-5.el7.elrepo. > nosrc.rpm > > it sounds to me that kernel-abi-whitelists had to be included in the > BuildRequires list, maybe this was a mistake. I added the requires to akmods after discussing the issue with kwizart. https://src.fedoraproject.org/rpms/akmods/c/dad8a0461af884ef07de7d569d784827812b48ad?branch=master > Probably this BuildRequires in line 203 can be rewritten, but tests are > needed, as this: > > + BuildRequires: kernel-devel = ${kernel_uname_r_wo_arch} > redhat-rpm-config > > Comment about this subject are welcome. > > Cordially, > > > -- > NVieville
(In reply to leigh scott from comment #5) > > I added the requires to akmods after discussing the issue with kwizart. > > https://src.fedoraproject.org/rpms/akmods/c/ > dad8a0461af884ef07de7d569d784827812b48ad?branch=master > IMO for now is the correct option ... (In reply to nicolas.vieville from comment #3) > it sounds to me that kernel-abi-whitelists had to be included in the > BuildRequires list, maybe this was a mistake. > Probably this BuildRequires in line 203 can be rewritten, but tests are > needed, as this: > > + BuildRequires: kernel-devel = ${kernel_uname_r_wo_arch} > redhat-rpm-config Thank you for the info , I will give feedback after analyze it
Same issue till now ... :( kernel module build fails and it either reverts back to noveau, or if i black list noveau it simply presents wierd gnome with large icons and text like using a 90's calculator.
A fix is available in rawhide. and I think akmod works for current rhel8, so let's close this bug.