From alfonso at slafuente.es Wed Apr 8 09:49:37 2020 From: alfonso at slafuente.es (Alfonso M Sanchez-Lafuente) Date: Wed, 8 Apr 2020 18:49:37 +0200 Subject: [PlanetCCRMA] Fatal error compiling NVIDIA kernel module Message-ID: <69d34430-9949-07a6-e623-f5930c5fbe36@slafuente.es> Hi there! I've been successfully using fedora 27 + ccrma kernels for quite a few years. However, I have now upgraded my system to Fedora 31. I have to use the NVIDIA drivers, rather then the nouveau ones, due to ramdon system freezes cause by the video card, which made the system completely unusable. However, when compiling the nvidia module using akmods I get the following error: ---8<--- 2020/04/08 18:37:12 akmodsbuild: FATAL: modpost: GPL-incompatible module nvidia-modeset.ko uses GPL-only symbol 'lockdep_init_map' 2020/04/08 18:37:12 akmodsbuild: make[2]: *** [scripts/Makefile.modpost:94: __modpost] Error 1 2020/04/08 18:37:12 akmodsbuild: make[1]: *** [Makefile:1603: modules] Error 2 2020/04/08 18:37:12 akmodsbuild: make[1]: Leaving directory '/usr/src/kernels/5.4.24-200.rt15.1.fc31.ccrma.x86_64+rt' 2020/04/08 18:37:12 akmodsbuild: make: *** [Makefile:81: modules] Error 2 2020/04/08 18:37:12 akmodsbuild: error: Estado de salida err?neo de /var/tmp/rpm-tmp.E7vRWE (%build) ---8<--- I've ben reading about that GPL-thing but, honestly, I have no clue about what this is all about, and/or if there is any solution or workaround. The nvidia module compiles just fine when using the "official" kernels in fedora repository. I would appreciate any help. Thanks in advance.-- -- amsl From alfonso at slafuente.es Wed Apr 8 22:57:23 2020 From: alfonso at slafuente.es (=?ISO-8859-1?Q?Alfonso_M_S=E1nchez-Lafuente?=) Date: Thu, 09 Apr 2020 07:57:23 +0200 Subject: [PlanetCCRMA] Fatal error compiling NVIDIA kernel module In-Reply-To: <69d34430-9949-07a6-e623-f5930c5fbe36@slafuente.es> Message-ID: <3091q7h1f1-1@m0190090.ppops.net> Hi again.Sorry. I forgot to mention that, if using an "official" kernel from Fedora repositories, the nvidia module is built just fine. So, it seems to be related with some particular feature of the rt kernels.I've read some stuff about that GPL issues, but haven't found a solution on the net.Any help or advice will be appreciated.?-- amsl -------- Mensaje original --------De: Alfonso M Sanchez-Lafuente Fecha: 8/4/20 18:52 (GMT+01:00) Para: planetccrma at ccrma.Stanford.EDU Asunto: [PlanetCCRMA] Fatal error compiling NVIDIA kernel module Hi there!I've been successfully using fedora 27 + ccrma kernels for quite a few years. However, I have now upgraded my system to Fedora 31. I have to use the NVIDIA drivers, rather then the nouveau ones, due to ramdon system freezes cause by the video card, which made the system completely unusable. However, when compiling the nvidia module using akmods I get the following error:---8<---2020/04/08 18:37:12 akmodsbuild: FATAL: modpost: GPL-incompatible module nvidia-modeset.ko uses GPL-only symbol 'lockdep_init_map'2020/04/08 18:37:12 akmodsbuild: make[2]: *** [scripts/Makefile.modpost:94: __modpost] Error 12020/04/08 18:37:12 akmodsbuild: make[1]: *** [Makefile:1603: modules] Error 22020/04/08 18:37:12 akmodsbuild: make[1]: Leaving directory '/usr/src/kernels/5.4.24-200.rt15.1.fc31.ccrma.x86_64+rt'2020/04/08 18:37:12 akmodsbuild: make: *** [Makefile:81: modules] Error 22020/04/08 18:37:12 akmodsbuild: error: Estado de salida err?neo de /var/tmp/rpm-tmp.E7vRWE (%build)---8<---I've ben reading about that GPL-thing but, honestly, I have no clue about what this is all about, and/or if there is any solution or workaround. The nvidia module compiles just fine when using the "official" kernels in fedora repository.I would appreciate any help.Thanks in advance.---- amsl_______________________________________________PlanetCCRMA mailing listPlanetCCRMA at ccrma.stanford.eduhttps://cm-mail.stanford.edu/mailman/listinfo/planetccrma -------------- next part -------------- An HTML attachment was scrubbed... URL: