AnsweredAssumed Answered

Crimson 15.12 15.302 driver on Linux kernel 4.5.0

Question asked by migglu on Jun 1, 2016

Hello,

 

I'm using Debian Testing with kernel version 4.5.0 and trying to install the Crimson driver 15.12. The installation fails with the error 'DKMS part of installation failed.  Please refer to /usr/share/ati/fglrx-install.log for details'

 

When I looked at the log it only said that the make.sh script had a bad exit code (1), so I tried to look at DKMS log but it wasn't there... Turns out the installer removed the whole temporary folder for the installation right after it fails.

 

Doing some shell magic I managed to get to that log which states:

 

DKMS make.log for fglrx-15.302 for kernel 4.5.0-2-amd64 (x86_64)

Wed Jun  1 22:44:04 EEST 2016

AMD kernel module generator version 2.1

doing Makefile based build for kernel 2.6.x and higher

rm -rf *.c *.h *.o *.ko *.a .??* *.symvers

make -C /lib/modules/4.5.0-2-amd64/build SUBDIRS=/var/lib/dkms/fglrx/15.302/build/2.6.x modules

make[1]: Entering directory '/usr/src/linux-headers-4.5.0-2-amd64'

  CC [M]  /var/lib/dkms/fglrx/15.302/build/2.6.x/firegl_public.o

/var/lib/dkms/fglrx/15.302/build/2.6.x/firegl_public.c: In function ‘firegl_major_proc_read’:

/var/lib/dkms/fglrx/15.302/build/2.6.x/firegl_public.c:634:9: error: void value not ignored as it ought to be

     len = seq_printf(m, "%d\n", major);

         ^

/var/lib/dkms/fglrx/15.302/build/2.6.x/firegl_public.c: In function ‘KCL_fpu_save_init’:

/var/lib/dkms/fglrx/15.302/build/2.6.x/firegl_public.c:6458:49: error: ‘XSTATE_FP’ undeclared (first use in this function)

       if (!(fpu->state.xsave.header.xfeatures & XSTATE_FP))

                                                 ^

/var/lib/dkms/fglrx/15.302/build/2.6.x/firegl_public.c:6458:49: note: each undeclared identifier is reported only once for each function it appears in

/var/lib/dkms/fglrx/15.302/build/2.6.x/firegl_public.c: At top level:

/var/lib/dkms/fglrx/15.302/build/2.6.x/firegl_public.c:6448:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]

static int KCL_fpu_save_init(struct task_struct *tsk)

            ^

/usr/src/linux-headers-4.5.0-2-common/scripts/Makefile.build:263: recipe for target '/var/lib/dkms/fglrx/15.302/build/2.6.x/firegl_public.o' failed

make[4]: *** [/var/lib/dkms/fglrx/15.302/build/2.6.x/firegl_public.o] Error 1

/usr/src/linux-headers-4.5.0-2-common/Makefile:1408: recipe for target '_module_/var/lib/dkms/fglrx/15.302/build/2.6.x' failed

make[3]: *** [_module_/var/lib/dkms/fglrx/15.302/build/2.6.x] Error 2

Makefile:146: recipe for target 'sub-make' failed

make[2]: *** [sub-make] Error 2

Makefile:8: recipe for target 'all' failed

make[1]: *** [all] Error 2

make[1]: Leaving directory '/usr/src/linux-headers-4.5.0-2-amd64'

Makefile:88: recipe for target 'kmod_build' failed

make: *** [kmod_build] Error 2

build failed with return value 2

 

So, yeah, it seems to be a DKMS compilation error which is beyond my ability to correct.

 

Is this a bug, or is this kernel version simply not supported by the driver? I'm not really sure how to proceed with the installation...

 

Not sure if it matters, but I'm trying to install it on a desktop computer with AMD R9 280 and 16GB of ram.

Outcomes