[Pkg-fglrx-devel] Bug#860825: fglrx-driver does not work with backportkernel 4.9

Marco Hutzfeld m.hutzfeld at gmx.de
Thu Apr 20 17:26:07 UTC 2017


Package: fglrx-driver
Version: 1:15.12-2~bpo8+3

Package: linux-image-4.9.0-0.bpo.2-amd64
Version: 4.9.18-1~bpo8+1


During creation of an new kernelmodule via DKMS I get an error and the
module will not created.

linux-image-4.9.0-0.bpo.2-amd64 (4.9.18-1~bpo8+1) wird eingerichtet ...
/etc/kernel/postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.9.0-0.bpo.2-amd64
(x86_64)
Consult /var/lib/dkms/fglrx/15.12/build/make.log for more information.


Here is the log.file:

DKMS make.log for fglrx-15.12 for kernel 4.9.0-0.bpo.2-amd64 (x86_64)
Mo 17. Apr 16:21:34 CEST 2017
make: Entering directory '/usr/src/linux-headers-4.9.0-0.bpo.2-amd64'
  LD      /var/lib/dkms/fglrx/15.12/build/built-in.o
  CC [M]  /var/lib/dkms/fglrx/15.12/build/firegl_public.o
In file included from /var/lib/dkms/fglrx/15.12/build/firegl_public.c:207:0:
/var/lib/dkms/fglrx/15.12/build/firegl_public.h:654:21: warning: extra
tokens at end of #ifndef directive
 #ifndef boot_cpu_has(X86_FEATURE_PGE)
                     ^
/var/lib/dkms/fglrx/15.12/build/firegl_public.c: In function
‘KCL_LockUserPages’:
/var/lib/dkms/fglrx/15.12/build/firegl_public.c:3232:78: warning:
passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type
     ret = get_user_pages_remote(current, current->mm, vaddr, page_cnt,
1, 0, (struct page **)page_list, NULL);
                                                                             
^
In file included from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/scatterlist.h:7:0,
                 from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/dmapool.h:14,
                 from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/pci.h:1269,
                 from /var/lib/dkms/fglrx/15.12/build/firegl_public.c:117:
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6:
note: expected ‘struct vm_area_struct **’ but argument is of type
‘struct page **’
 long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
/var/lib/dkms/fglrx/15.12/build/firegl_public.c:3232:11: error: too many
arguments to function ‘get_user_pages_remote’
     ret = get_user_pages_remote(current, current->mm, vaddr, page_cnt,
1, 0, (struct page **)page_list, NULL);
           ^
In file included from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/scatterlist.h:7:0,
                 from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/dmapool.h:14,
                 from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/pci.h:1269,
                 from /var/lib/dkms/fglrx/15.12/build/firegl_public.c:117:
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6:
note: declared here
 long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
/var/lib/dkms/fglrx/15.12/build/firegl_public.c: In function
‘KCL_LockReadOnlyUserPages’:
/var/lib/dkms/fglrx/15.12/build/firegl_public.c:3254:78: warning:
passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type
     ret = get_user_pages_remote(current, current->mm, vaddr, page_cnt,
0, 0, (struct page **)page_list, NULL);
                                                                             
^
In file included from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/scatterlist.h:7:0,
                 from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/dmapool.h:14,
                 from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/pci.h:1269,
                 from /var/lib/dkms/fglrx/15.12/build/firegl_public.c:117:
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6:
note: expected ‘struct vm_area_struct **’ but argument is of type
‘struct page **’
 long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
/var/lib/dkms/fglrx/15.12/build/firegl_public.c:3254:11: error: too many
arguments to function ‘get_user_pages_remote’
     ret = get_user_pages_remote(current, current->mm, vaddr, page_cnt,
0, 0, (struct page **)page_list, NULL);
           ^
In file included from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/scatterlist.h:7:0,
                 from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/dmapool.h:14,
                 from
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/pci.h:1269,
                 from /var/lib/dkms/fglrx/15.12/build/firegl_public.c:117:
/usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6:
note: declared here
 long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
/var/lib/dkms/fglrx/15.12/build/firegl_public.c: At top level:
/var/lib/dkms/fglrx/15.12/build/firegl_public.c:6493: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.9.0-0.bpo.2-common/scripts/Makefile.build:298:
recipe for target '/var/lib/dkms/fglrx/15.12/build/firegl_public.o' failed
make[3]: *** [/var/lib/dkms/fglrx/15.12/build/firegl_public.o] Error 1
/usr/src/linux-headers-4.9.0-0.bpo.2-common/Makefile:1507: recipe for
target '_module_/var/lib/dkms/fglrx/15.12/build' failed
make[2]: *** [_module_/var/lib/dkms/fglrx/15.12/build] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.9.0-0.bpo.2-amd64'

At the moment it is not possible to use the fgrlx-driver with this kernel.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20170420/6677e783/attachment.sig>


More information about the Pkg-fglrx-devel mailing list