AnsweredAssumed Answered

graphic card installation failed centos 7.7

Question asked by benyaminpy on Sep 20, 2019
Latest reply on Sep 30, 2019 by colesdav

GPU Card: Radeon RX560

CPU: Intel Core i3 Skylake

Motherboard: MSI pcmate B250

 

i had a clean installation of Centos 7.6 + AMDpro driver

today when i updated to Centos 7.7, i get loads of amd_gpu while computer trying to boot up!

tried to install different kernel that matchs with the one that gpu installation process needed, but it doesnt worked too.

 

but in the last step, i downloaded the driver again and extracted it,

then i tried to install it through amdgpu-pro-install -y command, and somewhere in installation result it says:

Error! Bad return status for module build on kernel: 3.10.0-1062.1.1.el7.x86_64 (x86_64)
Consult /var/lib/dkms/amdgpu/19.30-855429.el7/build/make.log for more information.
warning: %post(amdgpu-dkms-0:19.30-855429.el7.noarch) scriptlet failed, exit status 10
Non-fatal POSTIN scriptlet failure in rpm package amdgpu-dkms-19.30-855429.el7.noarch

 

and here is the complete result:

 

$ ./amdgpu-pro-install -y
[amdgpu-pro-local]
Name=AMD amdgpu Pro local repository
baseurl=file:///var/opt/amdgpu-pro-local
enabled=1
gpgcheck=0

Loaded plugins: copr, fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.itu.edu.tr
* centosplus: kozyatagi.mirror.guzel.net.tr
* epel: repos.del.extreme-ix.org
* extras: ftp.linux.org.tr
* nux-dextop: li.nux.ro
* remi-php71: mirror.cedia.org.ec
* remi-safe: mirror.cedia.org.ec
* updates: mirror.dgn.net.tr
amdgpu-pro-local | 2.9 kB 00:00:00
amdgpu-pro-local/primary_db | 37 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package amdgpu-pro-versionlist.x86_64 0:19.30-855429.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================
Installing:
amdgpu-pro-versionlist x86_64 19.30-855429.el7 amdgpu-pro-local 3.0 k

Transaction Summary
=====================================================================================================================================================================================
Install 1 Package

Total download size: 3.0 k
Installed size: 3.0 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : amdgpu-pro-versionlist-19.30-855429.el7.x86_64 1/1
Verifying : amdgpu-pro-versionlist-19.30-855429.el7.x86_64 1/1

Installed:
amdgpu-pro-versionlist.x86_64 0:19.30-855429.el7

Complete!
Loaded plugins: copr, fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.itu.edu.tr
* centosplus: kozyatagi.mirror.guzel.net.tr
* epel: repos.del.extreme-ix.org
* extras: ftp.linux.org.tr
* nux-dextop: li.nux.ro
* remi-php71: mirror.cedia.org.ec
* remi-safe: mirror.cedia.org.ec
* updates: mirror.dgn.net.tr
Resolving Dependencies
--> Running transaction check
---> Package amdgpu.x86_64 0:19.30-855429.el7 will be installed
--> Processing Dependency: amdgpu-lib = 19.30-855429.el7 for package: amdgpu-19.30-855429.el7.x86_64
---> Package amdgpu-dkms.noarch 0:19.30-855429.el7 will be installed
--> Processing Dependency: amdgpu-core for package: amdgpu-dkms-19.30-855429.el7.noarch
---> Package amdgpu-pro.x86_64 0:19.30-855429.el7 will be installed
--> Processing Dependency: libgl-amdgpu-pro = 19.30-855429.el7 for package: amdgpu-pro-19.30-855429.el7.x86_64
--> Processing Dependency: libegl-amdgpu-pro = 19.30-855429.el7 for package: amdgpu-pro-19.30-855429.el7.x86_64
--> Processing Dependency: libgbm-amdgpu-pro-base = 19.30-855429.el7 for package: amdgpu-pro-19.30-855429.el7.x86_64
--> Processing Dependency: amdgpu-pro-core = 19.30-855429.el7 for package: amdgpu-pro-19.30-855429.el7.x86_64
--> Processing Dependency: libglapi-amdgpu-pro = 19.30-855429.el7 for package: amdgpu-pro-19.30-855429.el7.x86_64
--> Processing Dependency: libgl-amdgpu-pro-appprofiles = 19.30-855429.el7 for package: amdgpu-pro-19.30-855429.el7.x86_64
--> Processing Dependency: libgl-amdgpu-pro-ext = 19.30-855429.el7 for package: amdgpu-pro-19.30-855429.el7.x86_64
--> Processing Dependency: libgbm-amdgpu-pro = 19.30-855429.el7 for package: amdgpu-pro-19.30-855429.el7.x86_64
--> Processing Dependency: libgl-amdgpu-pro-dri = 19.30-855429.el7 for package: amdgpu-pro-19.30-855429.el7.x86_64
--> Processing Dependency: libgles-amdgpu-pro = 19.30-855429.el7 for package: amdgpu-pro-19.30-855429.el7.x86_64
---> Package vulkan-amdgpu-pro.x86_64 0:19.30-855429.el7 will be installed
--> Running transaction check
---> Package amdgpu-core.noarch 0:19.30-855429.el7 will be installed
---> Package amdgpu-lib.x86_64 0:19.30-855429.el7 will be installed
--> Processing Dependency: mesa-amdgpu-vdpau-drivers = 1:19.2.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: llvm-amdgpu-libs = 1:9.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: mesa-amdgpu-libOSMesa = 1:19.2.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: mesa-amdgpu-dri-drivers = 1:19.2.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: libdrm-amdgpu = 1:2.4.98-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: mesa-amdgpu-libxatracker = 1:19.2.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: mesa-amdgpu-libGL = 1:19.2.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: mesa-amdgpu-filesystem = 1:19.2.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: libwayland-amdgpu-server = 1.15.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: mesa-amdgpu-libEGL = 1:19.2.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: mesa-amdgpu-libGLES = 1:19.2.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: libwayland-amdgpu-client = 1.15.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: mesa-amdgpu-libgbm = 1:19.2.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: xorg-x11-amdgpu-drv-amdgpu = 1:19.0.1-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: libwayland-amdgpu-egl = 1.15.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: libdrm-amdgpu-common = 1.0.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
--> Processing Dependency: mesa-amdgpu-libglapi = 1:19.2.0-855429.el7 for package: amdgpu-lib-19.30-855429.el7.x86_64
---> Package amdgpu-pro-core.noarch 0:19.30-855429.el7 will be installed
---> Package libegl-amdgpu-pro.x86_64 0:19.30-855429.el7 will be installed
---> Package libgbm-amdgpu-pro.x86_64 0:19.30-855429.el7 will be installed
---> Package libgbm-amdgpu-pro-base.noarch 0:19.30-855429.el7 will be installed
---> Package libgl-amdgpu-pro.x86_64 0:19.30-855429.el7 will be installed
---> Package libgl-amdgpu-pro-appprofiles.noarch 0:19.30-855429.el7 will be installed
---> Package libgl-amdgpu-pro-dri.x86_64 0:19.30-855429.el7 will be installed
---> Package libgl-amdgpu-pro-ext.x86_64 0:19.30-855429.el7 will be installed
---> Package libglapi-amdgpu-pro.x86_64 0:19.30-855429.el7 will be installed
---> Package libgles-amdgpu-pro.x86_64 0:19.30-855429.el7 will be installed
--> Running transaction check
---> Package libdrm-amdgpu.x86_64 1:2.4.98-855429.el7 will be installed
---> Package libdrm-amdgpu-common.noarch 0:1.0.0-855429.el7 will be installed
---> Package libwayland-amdgpu-client.x86_64 0:1.15.0-855429.el7 will be installed
---> Package libwayland-amdgpu-egl.x86_64 0:1.15.0-855429.el7 will be installed
---> Package libwayland-amdgpu-server.x86_64 0:1.15.0-855429.el7 will be installed
---> Package llvm-amdgpu-libs.x86_64 1:9.0-855429.el7 will be installed
---> Package mesa-amdgpu-dri-drivers.x86_64 1:19.2.0-855429.el7 will be installed
---> Package mesa-amdgpu-filesystem.x86_64 1:19.2.0-855429.el7 will be installed
---> Package mesa-amdgpu-libEGL.x86_64 1:19.2.0-855429.el7 will be installed
---> Package mesa-amdgpu-libGL.x86_64 1:19.2.0-855429.el7 will be installed
---> Package mesa-amdgpu-libGLES.x86_64 1:19.2.0-855429.el7 will be installed
---> Package mesa-amdgpu-libOSMesa.x86_64 1:19.2.0-855429.el7 will be installed
---> Package mesa-amdgpu-libgbm.x86_64 1:19.2.0-855429.el7 will be installed
---> Package mesa-amdgpu-libglapi.x86_64 1:19.2.0-855429.el7 will be installed
---> Package mesa-amdgpu-libxatracker.x86_64 1:19.2.0-855429.el7 will be installed
---> Package mesa-amdgpu-vdpau-drivers.x86_64 1:19.2.0-855429.el7 will be installed
---> Package xorg-x11-amdgpu-drv-amdgpu.x86_64 1:19.0.1-855429.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================
Installing:
amdgpu x86_64 19.30-855429.el7 amdgpu-pro-local 1.8 k
amdgpu-dkms noarch 19.30-855429.el7 amdgpu-pro-local 11 M
amdgpu-pro x86_64 19.30-855429.el7 amdgpu-pro-local 7.0 k
vulkan-amdgpu-pro x86_64 19.30-855429.el7 amdgpu-pro-local 8.4 M
Installing for dependencies:
amdgpu-core noarch 19.30-855429.el7 amdgpu-pro-local 3.8 k
amdgpu-lib x86_64 19.30-855429.el7 amdgpu-pro-local 2.5 k
amdgpu-pro-core noarch 19.30-855429.el7 amdgpu-pro-local 8.1 k
libdrm-amdgpu x86_64 1:2.4.98-855429.el7 amdgpu-pro-local 67 k
libdrm-amdgpu-common noarch 1.0.0-855429.el7 amdgpu-pro-local 3.9 k
libegl-amdgpu-pro x86_64 19.30-855429.el7 amdgpu-pro-local 30 k
libgbm-amdgpu-pro x86_64 19.30-855429.el7 amdgpu-pro-local 134 k
libgbm-amdgpu-pro-base noarch 19.30-855429.el7 amdgpu-pro-local 2.4 k
libgl-amdgpu-pro x86_64 19.30-855429.el7 amdgpu-pro-local 267 k
libgl-amdgpu-pro-appprofiles noarch 19.30-855429.el7 amdgpu-pro-local 25 k
libgl-amdgpu-pro-dri x86_64 19.30-855429.el7 amdgpu-pro-local 10 M
libgl-amdgpu-pro-ext x86_64 19.30-855429.el7 amdgpu-pro-local 110 k
libglapi-amdgpu-pro x86_64 19.30-855429.el7 amdgpu-pro-local 131 k
libgles-amdgpu-pro x86_64 19.30-855429.el7 amdgpu-pro-local 22 k
libwayland-amdgpu-client x86_64 1.15.0-855429.el7 amdgpu-pro-local 40 k
libwayland-amdgpu-egl x86_64 1.15.0-855429.el7 amdgpu-pro-local 7.3 k
libwayland-amdgpu-server x86_64 1.15.0-855429.el7 amdgpu-pro-local 54 k
llvm-amdgpu-libs x86_64 1:9.0-855429.el7 amdgpu-pro-local 14 M
mesa-amdgpu-dri-drivers x86_64 1:19.2.0-855429.el7 amdgpu-pro-local 9.0 M
mesa-amdgpu-filesystem x86_64 1:19.2.0-855429.el7 amdgpu-pro-local 2.3 k
mesa-amdgpu-libEGL x86_64 1:19.2.0-855429.el7 amdgpu-pro-local 107 k
mesa-amdgpu-libGL x86_64 1:19.2.0-855429.el7 amdgpu-pro-local 164 k
mesa-amdgpu-libGLES x86_64 1:19.2.0-855429.el7 amdgpu-pro-local 13 k
mesa-amdgpu-libOSMesa x86_64 1:19.2.0-855429.el7 amdgpu-pro-local 3.4 M
mesa-amdgpu-libgbm x86_64 1:19.2.0-855429.el7 amdgpu-pro-local 27 k
mesa-amdgpu-libglapi x86_64 1:19.2.0-855429.el7 amdgpu-pro-local 32 k
mesa-amdgpu-libxatracker x86_64 1:19.2.0-855429.el7 amdgpu-pro-local 973 k
mesa-amdgpu-vdpau-drivers x86_64 1:19.2.0-855429.el7 amdgpu-pro-local 2.4 M
xorg-x11-amdgpu-drv-amdgpu x86_64 1:19.0.1-855429.el7 amdgpu-pro-local 65 k

Transaction Summary
=====================================================================================================================================================================================
Install 4 Packages (+29 Dependent packages)

Total download size: 60 M
Installed size: 60 M
Downloading packages:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 388 MB/s | 60 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : amdgpu-core-19.30-855429.el7.noarch 1/33
Installing : amdgpu-pro-core-19.30-855429.el7.noarch 2/33
Installing : 1:mesa-amdgpu-libglapi-19.2.0-855429.el7.x86_64 3/33
Installing : 1:llvm-amdgpu-libs-9.0-855429.el7.x86_64 4/33
Installing : libwayland-amdgpu-server-1.15.0-855429.el7.x86_64 5/33
Installing : 1:mesa-amdgpu-filesystem-19.2.0-855429.el7.x86_64 6/33
Installing : 1:mesa-amdgpu-libGLES-19.2.0-855429.el7.x86_64 7/33
Installing : libgl-amdgpu-pro-appprofiles-19.30-855429.el7.noarch 8/33
Installing : libgl-amdgpu-pro-19.30-855429.el7.x86_64 9/33
Installing : libwayland-amdgpu-client-1.15.0-855429.el7.x86_64 10/33
Installing : libdrm-amdgpu-common-1.0.0-855429.el7.noarch 11/33
Installing : 1:libdrm-amdgpu-2.4.98-855429.el7.x86_64 12/33
Installing : libgbm-amdgpu-pro-base-19.30-855429.el7.noarch 13/33
Installing : libgbm-amdgpu-pro-19.30-855429.el7.x86_64 14/33
Installing : 1:mesa-amdgpu-libEGL-19.2.0-855429.el7.x86_64 15/33
Installing : libgles-amdgpu-pro-19.30-855429.el7.x86_64 16/33
Installing : libegl-amdgpu-pro-19.30-855429.el7.x86_64 17/33
Installing : 1:xorg-x11-amdgpu-drv-amdgpu-19.0.1-855429.el7.x86_64 18/33
Installing : 1:mesa-amdgpu-dri-drivers-19.2.0-855429.el7.x86_64 19/33
Installing : 1:mesa-amdgpu-vdpau-drivers-19.2.0-855429.el7.x86_64 20/33
Installing : 1:mesa-amdgpu-libGL-19.2.0-855429.el7.x86_64 21/33
Installing : 1:mesa-amdgpu-libgbm-19.2.0-855429.el7.x86_64 22/33
Installing : 1:mesa-amdgpu-libxatracker-19.2.0-855429.el7.x86_64 23/33
Installing : libgl-amdgpu-pro-ext-19.30-855429.el7.x86_64 24/33
Installing : 1:mesa-amdgpu-libOSMesa-19.2.0-855429.el7.x86_64 25/33
Installing : libgl-amdgpu-pro-dri-19.30-855429.el7.x86_64 26/33
Installing : libglapi-amdgpu-pro-19.30-855429.el7.x86_64 27/33
Installing : libwayland-amdgpu-egl-1.15.0-855429.el7.x86_64 28/33
Installing : amdgpu-lib-19.30-855429.el7.x86_64 29/33
Installing : amdgpu-dkms-19.30-855429.el7.noarch 30/33
Loading new amdgpu-19.30-855429.el7 DKMS files...
Building for 3.10.0-1062.1.1.el7.x86_64
Building initial module for 3.10.0-1062.1.1.el7.x86_64
Error! Bad return status for module build on kernel: 3.10.0-1062.1.1.el7.x86_64 (x86_64)
Consult /var/lib/dkms/amdgpu/19.30-855429.el7/build/make.log for more information.
warning: %post(amdgpu-dkms-0:19.30-855429.el7.noarch) scriptlet failed, exit status 10
Non-fatal POSTIN scriptlet failure in rpm package amdgpu-dkms-19.30-855429.el7.noarch
Installing : amdgpu-19.30-855429.el7.x86_64 31/33
Installing : amdgpu-pro-19.30-855429.el7.x86_64 32/33
Installing : vulkan-amdgpu-pro-19.30-855429.el7.x86_64 33/33
Verifying : 1:mesa-amdgpu-libOSMesa-19.2.0-855429.el7.x86_64 1/33
Verifying : libgl-amdgpu-pro-19.30-855429.el7.x86_64 2/33
Verifying : amdgpu-lib-19.30-855429.el7.x86_64 3/33
Verifying : libwayland-amdgpu-client-1.15.0-855429.el7.x86_64 4/33
Verifying : libgbm-amdgpu-pro-base-19.30-855429.el7.noarch 5/33
Verifying : 1:mesa-amdgpu-libEGL-19.2.0-855429.el7.x86_64 6/33
Verifying : 1:mesa-amdgpu-libGLES-19.2.0-855429.el7.x86_64 7/33
Verifying : libgles-amdgpu-pro-19.30-855429.el7.x86_64 8/33
Verifying : 1:mesa-amdgpu-dri-drivers-19.2.0-855429.el7.x86_64 9/33
Verifying : libgbm-amdgpu-pro-19.30-855429.el7.x86_64 10/33
Verifying : 1:mesa-amdgpu-vdpau-drivers-19.2.0-855429.el7.x86_64 11/33
Verifying : vulkan-amdgpu-pro-19.30-855429.el7.x86_64 12/33
Verifying : libwayland-amdgpu-egl-1.15.0-855429.el7.x86_64 13/33
Verifying : amdgpu-19.30-855429.el7.x86_64 14/33
Verifying : libwayland-amdgpu-server-1.15.0-855429.el7.x86_64 15/33
Verifying : libgl-amdgpu-pro-dri-19.30-855429.el7.x86_64 16/33
Verifying : 1:mesa-amdgpu-libglapi-19.2.0-855429.el7.x86_64 17/33
Verifying : amdgpu-pro-core-19.30-855429.el7.noarch 18/33
Verifying : amdgpu-core-19.30-855429.el7.noarch 19/33
Verifying : 1:libdrm-amdgpu-2.4.98-855429.el7.x86_64 20/33
Verifying : libgl-amdgpu-pro-appprofiles-19.30-855429.el7.noarch 21/33
Verifying : 1:mesa-amdgpu-libGL-19.2.0-855429.el7.x86_64 22/33
Verifying : 1:llvm-amdgpu-libs-9.0-855429.el7.x86_64 23/33
Verifying : 1:mesa-amdgpu-libgbm-19.2.0-855429.el7.x86_64 24/33
Verifying : libegl-amdgpu-pro-19.30-855429.el7.x86_64 25/33
Verifying : 1:mesa-amdgpu-libxatracker-19.2.0-855429.el7.x86_64 26/33
Verifying : amdgpu-dkms-19.30-855429.el7.noarch 27/33
Verifying : 1:mesa-amdgpu-filesystem-19.2.0-855429.el7.x86_64 28/33
Verifying : libgl-amdgpu-pro-ext-19.30-855429.el7.x86_64 29/33
Verifying : libdrm-amdgpu-common-1.0.0-855429.el7.noarch 30/33
Verifying : amdgpu-pro-19.30-855429.el7.x86_64 31/33
Verifying : 1:xorg-x11-amdgpu-drv-amdgpu-19.0.1-855429.el7.x86_64 32/33
Verifying : libglapi-amdgpu-pro-19.30-855429.el7.x86_64 33/33

Installed:
amdgpu.x86_64 0:19.30-855429.el7 amdgpu-dkms.noarch 0:19.30-855429.el7 amdgpu-pro.x86_64 0:19.30-855429.el7 vulkan-amdgpu-pro.x86_64 0:19.30-855429.el7

Dependency Installed:
amdgpu-core.noarch 0:19.30-855429.el7 amdgpu-lib.x86_64 0:19.30-855429.el7 amdgpu-pro-core.noarch 0:19.30-855429.el7
libdrm-amdgpu.x86_64 1:2.4.98-855429.el7 libdrm-amdgpu-common.noarch 0:1.0.0-855429.el7 libegl-amdgpu-pro.x86_64 0:19.30-855429.el7
libgbm-amdgpu-pro.x86_64 0:19.30-855429.el7 libgbm-amdgpu-pro-base.noarch 0:19.30-855429.el7 libgl-amdgpu-pro.x86_64 0:19.30-855429.el7
libgl-amdgpu-pro-appprofiles.noarch 0:19.30-855429.el7 libgl-amdgpu-pro-dri.x86_64 0:19.30-855429.el7 libgl-amdgpu-pro-ext.x86_64 0:19.30-855429.el7
libglapi-amdgpu-pro.x86_64 0:19.30-855429.el7 libgles-amdgpu-pro.x86_64 0:19.30-855429.el7 libwayland-amdgpu-client.x86_64 0:1.15.0-855429.el7
libwayland-amdgpu-egl.x86_64 0:1.15.0-855429.el7 libwayland-amdgpu-server.x86_64 0:1.15.0-855429.el7 llvm-amdgpu-libs.x86_64 1:9.0-855429.el7
mesa-amdgpu-dri-drivers.x86_64 1:19.2.0-855429.el7 mesa-amdgpu-filesystem.x86_64 1:19.2.0-855429.el7 mesa-amdgpu-libEGL.x86_64 1:19.2.0-855429.el7
mesa-amdgpu-libGL.x86_64 1:19.2.0-855429.el7 mesa-amdgpu-libGLES.x86_64 1:19.2.0-855429.el7 mesa-amdgpu-libOSMesa.x86_64 1:19.2.0-855429.el7
mesa-amdgpu-libgbm.x86_64 1:19.2.0-855429.el7 mesa-amdgpu-libglapi.x86_64 1:19.2.0-855429.el7 mesa-amdgpu-libxatracker.x86_64 1:19.2.0-855429.el7
mesa-amdgpu-vdpau-drivers.x86_64 1:19.2.0-855429.el7 xorg-x11-amdgpu-drv-amdgpu.x86_64 1:19.0.1-855429.el7

Complete!
WARNING: amdgpu dkms failed for running kernel

 

 

and here is the log file's content:

$ cat /var/lib/dkms/amdgpu/19.30-855429.el7/build/make.log
DKMS make.log for amdgpu-19.30-855429.el7 for kernel 3.10.0-1062.1.1.el7.x86_64 (x86_64)
Fri Sep 20 12:54:22 +0430 2019
make: Entering directory `/usr/src/kernels/3.10.0-1062.1.1.el7.x86_64'
LD /var/lib/dkms/amdgpu/19.30-855429.el7/build/built-in.o
LD /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/built-in.o
LD /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/built-in.o
LD /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/built-in.o
CC [M] /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.o
CC [M] /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/sched_main.o
CC [M] /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/ttm_memory.o
LD /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/built-in.o
CC [M] /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/amdgpu_drv.o
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:117:0: warning: "IS_REACHABLE" redefined [enabled by default]
#define IS_REACHABLE(option) __or(IS_BUILTIN(option), \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:117:0: warning: "IS_REACHABLE" redefined [enabled by default]
#define IS_REACHABLE(option) __or(IS_BUILTIN(option), \
^
In file included from <command-line>:0:0:
././include/linux/kconfig.h:52:0: note: this is the location of the previous definition
#define IS_REACHABLE(option) (config_enabled(option) || \
^
In file included from <command-line>:0:0:
././include/linux/kconfig.h:52:0: note: this is the location of the previous definition
#define IS_REACHABLE(option) (config_enabled(option) || \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:124:1: error: conflicting types for ‘drm_fb_helper_remove_conflicting_framebuffers’
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:124:1: error: conflicting types for ‘drm_fb_helper_remove_conflicting_framebuffers’
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:117:0: warning: "IS_REACHABLE" redefined [enabled by default]
#define IS_REACHABLE(option) __or(IS_BUILTIN(option), \
^
In file included from <command-line>:0:0:
././include/linux/kconfig.h:52:0: note: this is the location of the previous definition
#define IS_REACHABLE(option) (config_enabled(option) || \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:7:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_fb_helper.h:618:1: note: previous definition of ‘drm_fb_helper_remove_conflicting_framebuffers’ was here
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:7:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:
include/drm/drm_fb_helper.h:618:1: note: previous definition of ‘drm_fb_helper_remove_conflicting_framebuffers’ was here
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:124:1: error: conflicting types for ‘drm_fb_helper_remove_conflicting_framebuffers’
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:7:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_fb_helper.h:618:1: note: previous definition of ‘drm_fb_helper_remove_conflicting_framebuffers’ was here
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:117:0: warning: "IS_REACHABLE" redefined [enabled by default]
#define IS_REACHABLE(option) __or(IS_BUILTIN(option), \
^
In file included from <command-line>:0:0:
././include/linux/kconfig.h:52:0: note: this is the location of the previous definition
#define IS_REACHABLE(option) (config_enabled(option) || \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:124:1: error: conflicting types for ‘drm_fb_helper_remove_conflicting_framebuffers’
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: In function ‘kcl_drm_calc_vbltimestamp_from_scanoutpos’:
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:7:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_fb_helper.h:618:1: note: previous definition of ‘drm_fb_helper_remove_conflicting_framebuffers’ was here
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: In function ‘kcl_drm_calc_vbltimestamp_from_scanoutpos’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: ‘flags’ undeclared (first use in this function)
flags, refcrtc, mode);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: warning: passing argument 4 of ‘drm_calc_vbltimestamp_from_scanoutpos’ from incompatible pointer type [enabled by default]
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: ‘flags’ undeclared (first use in this function)
flags, refcrtc, mode);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: warning: passing argument 4 of ‘drm_calc_vbltimestamp_from_scanoutpos’ from incompatible pointer type [enabled by default]
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: In function ‘kcl_drm_calc_vbltimestamp_from_scanoutpos’:
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: expected ‘union ktime_t *’ but argument is of type ‘struct timeval *’
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:
include/drm/drm_vblank.h:202:6: note: expected ‘union ktime_t *’ but argument is of type ‘struct timeval *’
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: ‘flags’ undeclared (first use in this function)
flags, refcrtc, mode);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: note: each undeclared identifier is reported only once for each function it appears in
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: too many arguments to function ‘drm_calc_vbltimestamp_from_scanoutpos’
flags, refcrtc, mode);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: warning: passing argument 4 of ‘drm_calc_vbltimestamp_from_scanoutpos’ from incompatible pointer type [enabled by default]
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: too many arguments to function ‘drm_calc_vbltimestamp_from_scanoutpos’
flags, refcrtc, mode);
^
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: declared here
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: expected ‘union ktime_t *’ but argument is of type ‘struct timeval *’
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:
include/drm/drm_vblank.h:202:6: note: declared here
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: At top level:
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: At top level:
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: too many arguments to function ‘drm_calc_vbltimestamp_from_scanoutpos’
flags, refcrtc, mode);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:416:8: error: redefinition of ‘struct drm_format_name_buf’
struct drm_format_name_buf {
^
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: declared here
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:416:8: error: redefinition of ‘struct drm_format_name_buf’
struct drm_format_name_buf {
^
In file included from include/drm/drmP.h:70:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_fourcc.h:142:8: note: originally defined here
struct drm_format_name_buf {
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: At top level:
In file included from include/drm/drmP.h:70:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:
include/drm/drm_fourcc.h:142:8: note: originally defined here
struct drm_format_name_buf {
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:416:8: error: redefinition of ‘struct drm_format_name_buf’
struct drm_format_name_buf {
^
In file included from include/drm/drmP.h:70:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_fourcc.h:142:8: note: originally defined here
struct drm_format_name_buf {
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: In function ‘kcl_drm_calc_vbltimestamp_from_scanoutpos’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: ‘flags’ undeclared (first use in this function)
flags, refcrtc, mode);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: warning: passing argument 4 of ‘drm_calc_vbltimestamp_from_scanoutpos’ from incompatible pointer type [enabled by default]
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: expected ‘union ktime_t *’ but argument is of type ‘struct timeval *’
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: too many arguments to function ‘drm_calc_vbltimestamp_from_scanoutpos’
flags, refcrtc, mode);
^
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: declared here
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: At top level:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:416:8: error: redefinition of ‘struct drm_format_name_buf’
struct drm_format_name_buf {
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:647:0: warning: "_DRM_PRINTK" redefined [enabled by default]
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from include/drm/drmP.h:70:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_fourcc.h:142:8: note: originally defined here
struct drm_format_name_buf {
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:647:0: warning: "_DRM_PRINTK" redefined [enabled by default]
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from include/drm/drm_mm.h:49:0,
from include/drm/drmP.h:72,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_print.h:285:0: note: this is the location of the previous definition
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:647:0: warning: "_DRM_PRINTK" redefined [enabled by default]
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from include/drm/drm_mm.h:49:0,
from include/drm/drmP.h:72,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.c:1:
include/drm/drm_print.h:285:0: note: this is the location of the previous definition
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from include/drm/drm_mm.h:49:0,
from include/drm/drmP.h:72,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_print.h:285:0: note: this is the location of the previous definition
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:647:0: warning: "_DRM_PRINTK" redefined [enabled by default]
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from include/drm/drm_mm.h:49:0,
from include/drm/drmP.h:72,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_print.h:285:0: note: this is the location of the previous definition
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:11:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm_types.h:11:3: error: conflicting types for ‘pfn_t’
} pfn_t;
^
In file included from include/asm-generic/memory_model.h:4:0,
from ./arch/x86/include/asm/page.h:75,
from ./arch/x86/include/asm/thread_info.h:11,
from include/linux/thread_info.h:66,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/rcupdate.h:38,
from include/linux/rbtree.h:34,
from include/linux/hrtimer.h:18,
from /usr/src/kernels/3.10.0-1062.1.1.el7.x86_64/include/drm/drm_backport.h:12,
from <command-line>:0:
include/linux/pfn.h:14:3: note: previous declaration of ‘pfn_t’ was here
} pfn_t;
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:11:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm_types.h: In function ‘vmf_insert_mixed’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm_types.h:26:3: error: incompatible type for argument 3 of ‘vm_insert_mixed’
int err = vm_insert_mixed(vma, addr, pfn);
^
In file included from /usr/src/kernels/3.10.0-1062.1.1.el7.x86_64/include/drm/drm_backport.h:63:0,
from <command-line>:0:
include/linux/mm.h:2284:5: note: expected ‘pfn_t’ but argument is of type ‘pfn_t’
int vm_insert_mixed(struct vm_area_struct *vma, unsigned long addr,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:12:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_list.h: At top level:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_list.h:6:20: error: redefinition of ‘list_bulk_move_tail’
static inline void list_bulk_move_tail(struct list_head *head,
^
In file included from include/linux/preempt.h:11:0,
from include/linux/spinlock.h:50,
from include/linux/rcupdate.h:38,
from include/linux/rbtree.h:34,
from include/linux/hrtimer.h:18,
from /usr/src/kernels/3.10.0-1062.1.1.el7.x86_64/include/drm/drm_backport.h:12,
from <command-line>:0:
include/linux/list.h:180:20: note: previous definition of ‘list_bulk_move_tail’ was here
static inline void list_bulk_move_tail(struct list_head *head,
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/ttm_memory.c:29:0: warning: "pr_fmt" redefined [enabled by default]
#define pr_fmt(fmt) "[TTM] " fmt
^
In file included from include/linux/kref.h:20:0,
from include/linux/dma-fence.h:28,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_fence.h:12,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/backport/backport.h:5,
from <command-line>:0:
include/linux/kernel.h:928:0: note: this is the location of the previous definition
#define pr_fmt(fmt) fmt
^
make[2]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl/kcl_drm.o] Error 1
make[1]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdkcl] Error 2
make[1]: *** Waiting for unfinished jobs....
CC [M] /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/amdgpu_device.o
make[2]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm/ttm_memory.o] Error 1
make[1]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/ttm] Error 2
CC [M] /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/sched_fence.o
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../powerplay/inc/amdgpu_smu.h:28:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../amdgpu/amdgpu.h:86,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:12,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../display/dc/dm_pp_smu.h:246:4: error: unknown type name ‘BOOLEAN’
BOOLEAN pstate_handshake_supported);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../display/dc/dm_pp_smu.h:247:1: warning: no semicolon at end of struct or union [enabled by default]
};
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:13:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm.h: In function ‘kcl_get_user_pages’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm.h:45:29: error: macro "get_user_pages" passed 8 arguments, but takes just 5
write, force, pages, vmas);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm.h:44:2: warning: return makes integer from pointer without a cast [enabled by default]
return get_user_pages(tsk, mm, start, nr_pages,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:30:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h: In function ‘kcl_pci_create_measure_file’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h:116:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h: At top level:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h:119:31: error: redefinition of ‘pci_upstream_bridge’
static inline struct pci_dev *pci_upstream_bridge(struct pci_dev *dev)
^
In file included from include/drm/drm_pci.h:35:0,
from include/drm/drmP.h:78,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/pci.h:582:31: note: previous definition of ‘pci_upstream_bridge’ was here
static inline struct pci_dev *pci_upstream_bridge(struct pci_dev *dev)
^
make[2]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/sched_main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC [M] /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/amdgpu_kms.o
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:34:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_idr.h:7:0: warning: "idr_for_each_entry_continue" redefined [enabled by default]
#define idr_for_each_entry_continue(idr, entry, id) \
^
In file included from <command-line>:0:0:
/usr/src/kernels/3.10.0-1062.1.1.el7.x86_64/include/drm/drm_backport.h:356:0: note: this is the location of the previous definition
#define idr_for_each_entry_continue(idp, entry, id) \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:40:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_timekeeping.h:5:19: error: redefinition of ‘ktime_get_ns’
static inline u64 ktime_get_ns(void)
^
In file included from include/linux/ktime.h:442:0,
from include/linux/hrtimer.h:19,
from /usr/src/kernels/3.10.0-1062.1.1.el7.x86_64/include/drm/drm_backport.h:12,
from <command-line>:0:
include/linux/timekeeping.h:179:19: note: previous definition of ‘ktime_get_ns’ was here
static inline u64 ktime_get_ns(void)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:42:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_overflow.h:248:35: error: redefinition of ‘array_size’
static inline __must_check size_t array_size(size_t a, size_t b)
^
In file included from include/linux/slab.h:13:0,
from include/drm/drmP.h:54,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/overflow.h:247:35: note: previous definition of ‘array_size’ was here
static inline __must_check size_t array_size(size_t a, size_t b)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:42:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_overflow.h:270:35: error: redefinition of ‘array3_size’
static inline __must_check size_t array3_size(size_t a, size_t b, size_t c)
^
In file included from include/linux/slab.h:13:0,
from include/drm/drmP.h:54,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/overflow.h:269:35: note: previous definition of ‘array3_size’ was here
static inline __must_check size_t array3_size(size_t a, size_t b, size_t c)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:42:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_overflow.h:282:35: error: redefinition of ‘__ab_c_size’
static inline __must_check size_t __ab_c_size(size_t n, size_t size, size_t c)
^
In file included from include/linux/slab.h:13:0,
from include/drm/drmP.h:54,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/overflow.h:281:35: note: previous definition of ‘__ab_c_size’ was here
static inline __must_check size_t __ab_c_size(size_t n, size_t size, size_t c)
^
make[2]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/amdgpu_drv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:117:0: warning: "IS_REACHABLE" redefined [enabled by default]
#define IS_REACHABLE(option) __or(IS_BUILTIN(option), \
^
In file included from <command-line>:0:0:
././include/linux/kconfig.h:52:0: note: this is the location of the previous definition
#define IS_REACHABLE(option) (config_enabled(option) || \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:124:1: error: conflicting types for ‘drm_fb_helper_remove_conflicting_framebuffers’
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:7:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_fb_helper.h:618:1: note: previous definition of ‘drm_fb_helper_remove_conflicting_framebuffers’ was here
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: In function ‘kcl_drm_calc_vbltimestamp_from_scanoutpos’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: ‘flags’ undeclared (first use in this function)
flags, refcrtc, mode);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: warning: passing argument 4 of ‘drm_calc_vbltimestamp_from_scanoutpos’ from incompatible pointer type [enabled by default]
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: expected ‘union ktime_t *’ but argument is of type ‘struct timeval *’
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: too many arguments to function ‘drm_calc_vbltimestamp_from_scanoutpos’
flags, refcrtc, mode);
^
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: declared here
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: At top level:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:416:8: error: redefinition of ‘struct drm_format_name_buf’
struct drm_format_name_buf {
^
In file included from include/drm/drmP.h:70:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_fourcc.h:142:8: note: originally defined here
struct drm_format_name_buf {
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:647:0: warning: "_DRM_PRINTK" redefined [enabled by default]
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from include/drm/drm_mm.h:49:0,
from include/drm/drmP.h:72,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_print.h:285:0: note: this is the location of the previous definition
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:117:0: warning: "IS_REACHABLE" redefined [enabled by default]
#define IS_REACHABLE(option) __or(IS_BUILTIN(option), \
^
In file included from <command-line>:0:0:
././include/linux/kconfig.h:52:0: note: this is the location of the previous definition
#define IS_REACHABLE(option) (config_enabled(option) || \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:124:1: error: conflicting types for ‘drm_fb_helper_remove_conflicting_framebuffers’
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:7:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_fb_helper.h:618:1: note: previous definition of ‘drm_fb_helper_remove_conflicting_framebuffers’ was here
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: In function ‘kcl_drm_calc_vbltimestamp_from_scanoutpos’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: ‘flags’ undeclared (first use in this function)
flags, refcrtc, mode);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: warning: passing argument 4 of ‘drm_calc_vbltimestamp_from_scanoutpos’ from incompatible pointer type [enabled by default]
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: expected ‘union ktime_t *’ but argument is of type ‘struct timeval *’
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: too many arguments to function ‘drm_calc_vbltimestamp_from_scanoutpos’
flags, refcrtc, mode);
^
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: declared here
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: At top level:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:416:8: error: redefinition of ‘struct drm_format_name_buf’
struct drm_format_name_buf {
^
In file included from include/drm/drmP.h:70:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_fourcc.h:142:8: note: originally defined here
struct drm_format_name_buf {
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:647:0: warning: "_DRM_PRINTK" redefined [enabled by default]
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from include/drm/drm_mm.h:49:0,
from include/drm/drmP.h:72,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/backport/backport.h:6,
from <command-line>:0:
include/drm/drm_print.h:285:0: note: this is the location of the previous definition
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../powerplay/inc/amdgpu_smu.h:28:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../amdgpu/amdgpu.h:86,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:12,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../display/dc/dm_pp_smu.h:246:4: error: unknown type name ‘BOOLEAN’
BOOLEAN pstate_handshake_supported);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../display/dc/dm_pp_smu.h:247:1: warning: no semicolon at end of struct or union [enabled by default]
};
^
make[2]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler/sched_fence.o] Error 1
make[1]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/scheduler] Error 2
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:13:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm.h: In function ‘kcl_get_user_pages’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm.h:45:29: error: macro "get_user_pages" passed 8 arguments, but takes just 5
write, force, pages, vmas);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm.h:44:2: warning: return makes integer from pointer without a cast [enabled by default]
return get_user_pages(tsk, mm, start, nr_pages,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:30:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h: In function ‘kcl_pci_create_measure_file’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h:116:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h: At top level:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h:119:31: error: redefinition of ‘pci_upstream_bridge’
static inline struct pci_dev *pci_upstream_bridge(struct pci_dev *dev)
^
In file included from include/drm/drm_pci.h:35:0,
from include/drm/drmP.h:78,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/pci.h:582:31: note: previous definition of ‘pci_upstream_bridge’ was here
static inline struct pci_dev *pci_upstream_bridge(struct pci_dev *dev)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:34:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_idr.h:7:0: warning: "idr_for_each_entry_continue" redefined [enabled by default]
#define idr_for_each_entry_continue(idr, entry, id) \
^
In file included from <command-line>:0:0:
/usr/src/kernels/3.10.0-1062.1.1.el7.x86_64/include/drm/drm_backport.h:356:0: note: this is the location of the previous definition
#define idr_for_each_entry_continue(idp, entry, id) \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:40:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_timekeeping.h:5:19: error: redefinition of ‘ktime_get_ns’
static inline u64 ktime_get_ns(void)
^
In file included from include/linux/ktime.h:442:0,
from include/linux/hrtimer.h:19,
from /usr/src/kernels/3.10.0-1062.1.1.el7.x86_64/include/drm/drm_backport.h:12,
from <command-line>:0:
include/linux/timekeeping.h:179:19: note: previous definition of ‘ktime_get_ns’ was here
static inline u64 ktime_get_ns(void)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:42:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_overflow.h:248:35: error: redefinition of ‘array_size’
static inline __must_check size_t array_size(size_t a, size_t b)
^
In file included from include/linux/slab.h:13:0,
from include/drm/drmP.h:54,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/overflow.h:247:35: note: previous definition of ‘array_size’ was here
static inline __must_check size_t array_size(size_t a, size_t b)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:42:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_overflow.h:270:35: error: redefinition of ‘array3_size’
static inline __must_check size_t array3_size(size_t a, size_t b, size_t c)
^
In file included from include/linux/slab.h:13:0,
from include/drm/drmP.h:54,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/overflow.h:269:35: note: previous definition of ‘array3_size’ was here
static inline __must_check size_t array3_size(size_t a, size_t b, size_t c)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:42:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_overflow.h:282:35: error: redefinition of ‘__ab_c_size’
static inline __must_check size_t __ab_c_size(size_t n, size_t size, size_t c)
^
In file included from include/linux/slab.h:13:0,
from include/drm/drmP.h:54,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/overflow.h:281:35: note: previous definition of ‘__ab_c_size’ was here
static inline __must_check size_t __ab_c_size(size_t n, size_t size, size_t c)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:117:0: warning: "IS_REACHABLE" redefined [enabled by default]
#define IS_REACHABLE(option) __or(IS_BUILTIN(option), \
^
In file included from <command-line>:0:0:
././include/linux/kconfig.h:52:0: note: this is the location of the previous definition
#define IS_REACHABLE(option) (config_enabled(option) || \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:124:1: error: conflicting types for ‘drm_fb_helper_remove_conflicting_framebuffers’
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:7:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_fb_helper.h:618:1: note: previous definition of ‘drm_fb_helper_remove_conflicting_framebuffers’ was here
drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: In function ‘kcl_drm_calc_vbltimestamp_from_scanoutpos’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: ‘flags’ undeclared (first use in this function)
flags, refcrtc, mode);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: warning: passing argument 4 of ‘drm_calc_vbltimestamp_from_scanoutpos’ from incompatible pointer type [enabled by default]
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: expected ‘union ktime_t *’ but argument is of type ‘struct timeval *’
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:400:12: error: too many arguments to function ‘drm_calc_vbltimestamp_from_scanoutpos’
flags, refcrtc, mode);
^
In file included from include/drm/drmP.h:83:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_vblank.h:202:6: note: declared here
bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h: At top level:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:416:8: error: redefinition of ‘struct drm_format_name_buf’
struct drm_format_name_buf {
^
In file included from include/drm/drmP.h:70:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_fourcc.h:142:8: note: originally defined here
struct drm_format_name_buf {
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:647:0: warning: "_DRM_PRINTK" redefined [enabled by default]
#define _DRM_PRINTK(once, level, fmt, ...) \
^
In file included from include/drm/drm_mm.h:49:0,
from include/drm/drmP.h:72,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/drm/drm_print.h:285:0: note: this is the location of the previous definition
#define _DRM_PRINTK(once, level, fmt, ...) \
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/amdgpu_device.c:126:13: warning: ‘amdgpu_device_parse_faked_did’ declared ‘static’ but never defined [-Wunused-function]
static void amdgpu_device_parse_faked_did(struct amdgpu_device *adev);
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../powerplay/inc/amdgpu_smu.h:28:0,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../amdgpu/amdgpu.h:86,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:12,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../display/dc/dm_pp_smu.h:246:4: error: unknown type name ‘BOOLEAN’
BOOLEAN pstate_handshake_supported);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../display/dc/dm_pp_smu.h:247:1: warning: no semicolon at end of struct or union [enabled by default]
};
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:13:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm.h: In function ‘kcl_get_user_pages’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm.h:45:29: error: macro "get_user_pages" passed 8 arguments, but takes just 5
write, force, pages, vmas);
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_mm.h:44:2: warning: return makes integer from pointer without a cast [enabled by default]
return get_user_pages(tsk, mm, start, nr_pages,
^
make[2]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/amdgpu_device.o] Error 1
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:30:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h: In function ‘kcl_pci_create_measure_file’:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h:116:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h: At top level:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_pci.h:119:31: error: redefinition of ‘pci_upstream_bridge’
static inline struct pci_dev *pci_upstream_bridge(struct pci_dev *dev)
^
In file included from include/drm/drm_pci.h:35:0,
from include/drm/drmP.h:78,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/pci.h:582:31: note: previous definition of ‘pci_upstream_bridge’ was here
static inline struct pci_dev *pci_upstream_bridge(struct pci_dev *dev)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:34:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_idr.h:7:0: warning: "idr_for_each_entry_continue" redefined [enabled by default]
#define idr_for_each_entry_continue(idr, entry, id) \
^
In file included from <command-line>:0:0:
/usr/src/kernels/3.10.0-1062.1.1.el7.x86_64/include/drm/drm_backport.h:356:0: note: this is the location of the previous definition
#define idr_for_each_entry_continue(idp, entry, id) \
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:40:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_timekeeping.h:5:19: error: redefinition of ‘ktime_get_ns’
static inline u64 ktime_get_ns(void)
^
In file included from include/linux/ktime.h:442:0,
from include/linux/hrtimer.h:19,
from /usr/src/kernels/3.10.0-1062.1.1.el7.x86_64/include/drm/drm_backport.h:12,
from <command-line>:0:
include/linux/timekeeping.h:179:19: note: previous definition of ‘ktime_get_ns’ was here
static inline u64 ktime_get_ns(void)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:42:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_overflow.h:248:35: error: redefinition of ‘array_size’
static inline __must_check size_t array_size(size_t a, size_t b)
^
In file included from include/linux/slab.h:13:0,
from include/drm/drmP.h:54,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/overflow.h:247:35: note: previous definition of ‘array_size’ was here
static inline __must_check size_t array_size(size_t a, size_t b)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:42:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_overflow.h:270:35: error: redefinition of ‘array3_size’
static inline __must_check size_t array3_size(size_t a, size_t b, size_t c)
^
In file included from include/linux/slab.h:13:0,
from include/drm/drmP.h:54,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/overflow.h:269:35: note: previous definition of ‘array3_size’ was here
static inline __must_check size_t array3_size(size_t a, size_t b, size_t c)
^
In file included from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:42:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_overflow.h:282:35: error: redefinition of ‘__ab_c_size’
static inline __must_check size_t __ab_c_size(size_t n, size_t size, size_t c)
^
In file included from include/linux/slab.h:13:0,
from include/drm/drmP.h:54,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/include/kcl/kcl_drm.h:6,
from /var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/../include/../backport/backport.h:9,
from <command-line>:0:
include/linux/overflow.h:281:35: note: previous definition of ‘__ab_c_size’ was here
static inline __must_check size_t __ab_c_size(size_t n, size_t size, size_t c)
^
make[2]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu/amdgpu_kms.o] Error 1
make[1]: *** [/var/lib/dkms/amdgpu/19.30-855429.el7/build/amd/amdgpu] Error 2
make: *** [_module_/var/lib/dkms/amdgpu/19.30-855429.el7/build] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-1062.1.1.el7.x86_64'

Outcomes