AnsweredAssumed Answered

[Linux] AMDGPU-Pro - kernel 4.7

Question asked by krteq on Aug 9, 2016
Latest reply on Feb 18, 2017 by empiredave

Hello,

 

I have an issue installing AMDGPU-Pro driver (version 16.30.3-315407) on a Linux Mint 18 with kernel 4.7 and Radeon R9 290.

It's failing during build of DKMS module - see below

 

Install script output:

Loading new amdgpu-pro-16.30.3-315407 DKMS files...

First Installation: checking all kernels...

Building only for 4.7.0-040700-generic

Building for architecture amd64

Building initial module for 4.7.0-040700-generic

Error! Bad return status for module build on kernel: 4.7.0-040700-generic (amd64)

Consult /var/lib/dkms/amdgpu-pro/16.30.3-315407/build/make.log for more information.

Content of "/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/make.log" logfile

DKMS make.log for amdgpu-pro-16.30.3-315407 for kernel 4.7.0-040700-generic (amd64)

Út srp  9 17:32:17 CEST 2016

make: Vstupuje se do adresáře „/usr/src/linux-headers-4.7.0-040700-generic“

  LD      /var/lib/dkms/amdgpu-pro/16.30.3-315407/build/built-in.o

  LD      /var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/built-in.o

  CC [M]  /var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/amdgpu_drv.o

In file included from /var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../backport/backport.h:9:0,

                 from <command-line>:0:

/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../backport/include/kcl/kcl_ttm.h: In function ‘kcl_ttm_bo_reserve’:

/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../backport/include/kcl/kcl_ttm.h:88:9: error: too many arguments to function ‘ttm_bo_reserve’

  return ttm_bo_reserve(bo, interruptible, no_wait, false, ticket);

         ^

In file included from /var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../backport/include/kcl/kcl_ttm.h:6:0,

                 from /var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/../backport/backport.h:9,

                 from <command-line>:0:

include/drm/ttm/ttm_bo_driver.h:858:19: note: declared here

static inline int ttm_bo_reserve(struct ttm_buffer_object *bo,

                   ^

scripts/Makefile.build:289: návod pro cíl „/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/amdgpu_drv.o“ selhal

make[2]: *** [/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu/amdgpu_drv.o] Chyba 1

scripts/Makefile.build:440: návod pro cíl „/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu“ selhal

make[1]: *** [/var/lib/dkms/amdgpu-pro/16.30.3-315407/build/amd/amdgpu] Chyba 2

Makefile:1463: návod pro cíl „_module_/var/lib/dkms/amdgpu-pro/16.30.3-315407/build“ selhal

make: *** [_module_/var/lib/dkms/amdgpu-pro/16.30.3-315407/build] Chyba 2

make: Opouští se adresář „/usr/src/linux-headers-4.7.0-040700-generic“

Is there any possibility to install AMDGPU-Pro driver with successfully builded DKMS module on linux kernel 4.7?

Outcomes