[CentOS] Update to Centos 7.7 / Arch ppc64le / Problem with nvidia driver

Mathy Froeyen

mathy.froeyen at kuleuven.be
Thu Sep 26 07:22:48 UTC 2019


Hi

I had similar erors when installing the new kernel
and then the new kernel did not boot to the graphics.
Even the ctrl-alt-F2 to get a terminal did not work.

I had to reboot with adding a 3 to the end of the grub linux line, to get a terminal (without graphics).
Then I ran the latest nvidia driver installer downloaded from the nvidia site.

Then a normal reboot and it worked.

cheers
mathy


________________________________________
From: CentOS <centos-bounces at centos.org> on behalf of Ralf Aumüller <Ralf.Aumueller at informatik.uni-stuttgart.de>
Sent: Wednesday, September 25, 2019 10:30
To: centos at centos.org
Subject: [CentOS] Update to Centos 7.7 / Arch ppc64le / Problem with nvidia     driver

Hello,

today I updated a CentOS 7.6 ppc64le machine to CentOS 7.7. After reboot to the
new kernel (4.18.0-80.7.2.el7.ppc64le) dkms could not build the nvidia-module.

Error-message from dkms:

Compiler version check failed:

The major and minor number of the compiler used to
compile the kernel:

gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC)

does not match the compiler used here:

cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)


Output of /proc/version with new kernel running is:
Linux version 4.18.0-80.7.2.el7.ppc64le (mockbuild at ppc64le-01.bsys.centos.org)
(gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC)) #1 SMP Thu Sep 12 15:45:05
UTC 2019

Problem seams to be:

The kernel was compiled with gcc-version 8.3.1 and installed is gcc 4.8.5. All
previous kernels were compiled with gcc 4.8.5. See:

#cat /usr/src/kernels/*/include/generated/compile.h |grep LINUX_COMPILER
define LINUX_COMPILER "gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)"
define LINUX_COMPILER "gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)"
define LINUX_COMPILER "gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)"
define LINUX_COMPILER "gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)"
define LINUX_COMPILER "gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)"
define LINUX_COMPILER "gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC)"
define LINUX_COMPILER "gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC)"

Any comments?

Best regards,
Ralf
_______________________________________________
CentOS mailing list
CentOS at centos.org
https://lists.centos.org/mailman/listinfo/centos



More information about the CentOS mailing list