Hallo,
ich hätte gerne openCL und versuchte den amdgpu-pro Treiber 17.40 für
SLED/SLES 12SP2 in Leap 42.3 zu installieren, die Variante --compute.
Fehlschlag. Fehlermeldungen folgen unten:
-Monoitorausgabe
-log-File
SELD/SLES und openSUSE Leap 42.3 sollten doch vergleichbar sein.
Gibt es eine DAU-taugliche Lösung?
Gruß
Peter
--------------
Monitorausgabe
---------------
Loading new amdgpu-17.40-492261 DKMS files...
Building for 4.4.114-42-default
Building initial module for 4.4.114-42-default
Error! Bad return status for module build on kernel: 4.4.114-42-default
(x86_64)
Consult /var/lib/dkms/amdgpu/17.40-492261/build/make.log for more
information.
warning: %post(amdgpu-pro-dkms-0:17.40-492261.noarch) scriptlet failed,
exit status 10
----------------
log-File-Ausgabe
----------------
DKMS make.log for amdgpu-17.40-492261 for kernel 4.4.114-42-default (x86_64)
Mon Feb 26 12:11:51 CET 2018
make: Entering directory '/usr/src/linux-4.4.114-42-obj/x86_64/default'
LD /var/lib/dkms/amdgpu/17.40-492261/build/built-in.o
LD /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/built-in.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_drm.o
LD /var/lib/dkms/amdgpu/17.40-492261/build/ttm/built-in.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_memory.o
LD /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/built-in.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_module.o
LD /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/built-in.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_device.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/amdgpu_drv.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/main.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_tt.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/symbols.o
In file included from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:8:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_mm.h: In
function ‘kcl_get_user_pages’:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_mm.h:32:4:
warning: passing argument 1 of ‘get_user_pages’ makes integer from
pointer without a cast [enabled by default]
write, force, pages, vmas);
^
In file included from
/usr/src/linux-4.4.114-42/include/linux/scatterlist.h:7:0,
from
/usr/src/linux-4.4.114-42/include/linux/dma-mapping.h:11,
from /usr/src/linux-4.4.114-42/include/drm/drmP.h:37,
from
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_drm.h:6,
from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:6,
from <command-line>:0:
/usr/src/linux-4.4.114-42/include/linux/mm.h:1264:6: note: expected
‘long unsigned int’ but argument is of type ‘struct task_struct *’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
In file included from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:8:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_mm.h:32:4:
warning: passing argument 2 of ‘get_user_pages’ makes integer from
pointer without a cast [enabled by default]
write, force, pages, vmas);
^
In file included from
/usr/src/linux-4.4.114-42/include/linux/scatterlist.h:7:0,
from
/usr/src/linux-4.4.114-42/include/linux/dma-mapping.h:11,
from /usr/src/linux-4.4.114-42/include/drm/drmP.h:37,
from
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_drm.h:6,
from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:6,
from <command-line>:0:
/usr/src/linux-4.4.114-42/include/linux/mm.h:1264:6: note: expected
‘long unsigned int’ but argument is of type ‘struct mm_struct *’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
In file included from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:8:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_mm.h:32:4:
warning: passing argument 4 of ‘get_user_pages’ makes pointer from
integer without a cast [enabled by default]
write, force, pages, vmas);
^
In file included from
/usr/src/linux-4.4.114-42/include/linux/scatterlist.h:7:0,
from
/usr/src/linux-4.4.114-42/include/linux/dma-mapping.h:11,
from /usr/src/linux-4.4.114-42/include/drm/drmP.h:37,
from
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_drm.h:6,
from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:6,
from <command-line>:0:
/usr/src/linux-4.4.114-42/include/linux/mm.h:1264:6: note: expected
‘struct page **’ but argument is of type ‘long unsigned int’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
In file included from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:8:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_mm.h:32:4:
warning: passing argument 5 of ‘get_user_pages’ makes pointer from
integer without a cast [enabled by default]
write, force, pages, vmas);
^
In file included from
/usr/src/linux-4.4.114-42/include/linux/scatterlist.h:7:0,
from
/usr/src/linux-4.4.114-42/include/linux/dma-mapping.h:11,
from /usr/src/linux-4.4.114-42/include/drm/drmP.h:37,
from
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_drm.h:6,
from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:6,
from <command-line>:0:
/usr/src/linux-4.4.114-42/include/linux/mm.h:1264:6: note: expected
‘struct vm_area_struct **’ but argument is of type ‘int’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
In file included from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:8:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_mm.h:32:4:
error: too many arguments to function ‘get_user_pages’
write, force, pages, vmas);
^
In file included from
/usr/src/linux-4.4.114-42/include/linux/scatterlist.h:7:0,
from
/usr/src/linux-4.4.114-42/include/linux/dma-mapping.h:11,
from /usr/src/linux-4.4.114-42/include/drm/drmP.h:37,
from
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_drm.h:6,
from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:6,
from <command-line>:0:
/usr/src/linux-4.4.114-42/include/linux/mm.h:1264:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
In file included from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:9:0,
from <command-line>:0:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_vga_switcheroo.h:
In function ‘kcl_vga_switcheroo_register_handler’:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_vga_switcheroo.h:40:2:
error: too few arguments to function ‘vga_switcheroo_register_handler’
return vga_switcheroo_register_handler(handler);
^
In file included from
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_vga_switcheroo.h:4:0,
from
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../backport/backport.h:9,
from <command-line>:0:
/usr/src/linux-4.4.114-42/include/linux/vga_switcheroo.h:159:5: note:
declared here
int vga_switcheroo_register_handler(const struct
vga_switcheroo_handler *handler,
^
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_fence.o
/usr/src/linux-4.4.114-42/scripts/Makefile.build:270: recipe for target
'/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/amdgpu_drv.o' failed
make[4]: ***
[/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/amdgpu_drv.o] Error 1
/usr/src/linux-4.4.114-42/scripts/Makefile.build:491: recipe for target
'/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu' failed
make[3]: *** [/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu] Error 2
make[3]: *** Warte auf noch nicht beendete Prozesse...
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_fence_array.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_chardev.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_kthread.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_bo.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_io.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_mn.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_topology.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_reservation.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_drm_global.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_bitmap.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_pci.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_bo_util.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_pasid.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_bo_vm.o
LD [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/amdkcl.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_doorbell.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_flat_memory.o
/var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_bo_vm.c: In function
‘ttm_bo_vm_fault’:
/var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_bo_vm.c:297:6: error:
incompatible type for argument 3 of ‘vm_insert_mixed’
pfn);
^
In file included from
/usr/src/linux-4.4.114-42/include/linux/scatterlist.h:7:0,
from
/usr/src/linux-4.4.114-42/include/linux/dma-mapping.h:11,
from /usr/src/linux-4.4.114-42/include/drm/drmP.h:37,
from
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_drm.h:6,
from
/var/lib/dkms/amdgpu/17.40-492261/build/ttm/backport/backport.h:6,
from <command-line>:0:
/usr/src/linux-4.4.114-42/include/linux/mm.h:2170:5: note: expected
‘pfn_t’ but argument is of type ‘long unsigned int’
int vm_insert_mixed(struct vm_area_struct *vma, unsigned long addr,
^
/usr/src/linux-4.4.114-42/scripts/Makefile.build:270: recipe for target
'/var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_bo_vm.o' failed
make[4]: *** [/var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_bo_vm.o]
Error 1
make[4]: *** Warte auf noch nicht beendete Prozesse...
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_process.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_queue.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_mqd_manager.o
/usr/src/linux-4.4.114-42/scripts/Makefile.build:491: recipe for target
'/var/lib/dkms/amdgpu/17.40-492261/build/ttm' failed
make[3]: *** [/var/lib/dkms/amdgpu/17.40-492261/build/ttm] Error 2
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_mqd_manager_cik.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_mqd_manager_vi.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_mqd_manager_v9.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_kernel_queue.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_kernel_queue_cik.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_kernel_queue_vi.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_kernel_queue_v9.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_packet_manager.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_process_queue_manager.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_device_queue_manager.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_device_queue_manager_cik.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_device_queue_manager_vi.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_device_queue_manager_v9.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_interrupt.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_events.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/cik_event_interrupt.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_int_process_v9.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_dbgdev.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_dbgmgr.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_crat.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_rdma.o
CC [M]
/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_peerdirect.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_ipc.o
CC [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_debugfs.o
LD [M] /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/amdkfd.o
/usr/src/linux-4.4.114-42/Makefile:1434: recipe for target
'_module_/var/lib/dkms/amdgpu/17.40-492261/build' failed
make[2]: *** [_module_/var/lib/dkms/amdgpu/17.40-492261/build] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2
make: Leaving directory '/usr/src/linux-4.4.114-42-obj/x86_64/default'
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe(a)opensuse.org
Um den Listen Administrator zu erreichen, schicken
Sie eine Mail an: opensuse-de+owner(a)opensuse.org