Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #85492

Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs

From Dieter Faulbaum <dieter@faulbaum.in-berlin.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs
Date 2025-02-12 18:10 +0100
Message-ID <Kfopj-ghWz-1@gated-at.bofh.it> (permalink)
References (11 earlier) <KfijT-gdRw-15@gated-at.bofh.it> <KfiMV-gehJ-11@gated-at.bofh.it> <KfmQx-ggPL-5@gated-at.bofh.it> <K5a4h-97gE-5@gated-at.bofh.it> <KfmQx-ggPL-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hello

Uwe Kleine-König <ukleinek@debian.org> writes:
...
> I think you can also disable some config item and then pahole 
> isn't needed. Anyhow, you seem to cope, that's fine.
>
>> Need some more time for the next steps.
>
> That's expected, I'm not holding my breath :-) Thanks for going 
> through that even though it's time-consuming. Just report back 
> when (and if) you're through.

I ran into problems at "stage" 10 (after creating and testing 9 
kernels) like these:

make -j16 my_defconfig bindeb-pkg
#
# No change to .config
#
  GEN     debian
dpkg-buildpackage --build=binary --no-pre-clean --unsigned-changes 
-R'make -f debian/rules' -j1 -a$(cat debian/arch)
dpkg-buildpackage: info: source package linux-upstream
dpkg-buildpackage: info: source version 
6.10.0-rc6-02741-g722e96c99f1d-11
dpkg-buildpackage: info: source distribution trixie
dpkg-buildpackage: info: source changed by Dieter Faulbaum 
<dieter@faulbaum.in-berlin.de>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 make -f debian/rules binary
#
# No change to .config
#
mkdir -p /home/dieter/tmp/linux/tools/objtool && make 
O=/home/dieter/tmp/linux subdir=tools/objtool --no-print-directory 
-C objtool 
mkdir -p /home/dieter/tmp/linux/tools/bpf/resolve_btfids && make 
O=/home/dieter/tmp/linux subdir=tools/bpf/resolve_btfids 
--no-print-directory -C bpf/resolve_btfids 
  INSTALL libsubcmd_headers
  INSTALL libsubcmd_headers
  CALL    scripts/checksyscalls.sh
  UPD     init/utsversion-tmp.h
  CC      init/version.o
  AR      init/built-in.a
  CC [M]  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_cik.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_vi.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v9.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v10.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v11.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v12.o
  CC [M]  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_interrupt.o
  CC [M]  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_events.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/cik_event_interrupt.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v9.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v10.o
  CC [M] 
  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v11.o
  CC [M]  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_smi_events.o
  CC [M]  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.o
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c: In function 
‘kfd_queue_buffer_svm_get’:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:108:26: error: 
implicit declaration of function ‘svm_range_from_addr’ 
[-Wimplicit-function-declaration]
  108 |                 prange = svm_range_from_addr(&p->svms, 
  addr, NULL);
      |                          ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:108:24: error: 
assignment to ‘struct svm_range *’ from ‘int’ makes pointer from 
integer without a cast [-Wint-conversion]
  108 |                 prange = svm_range_from_addr(&p->svms, 
  addr, NULL);
      |                        ^
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:112:28: error: 
invalid use of undefined type ‘struct svm_range’
  112 |                 if (!prange->mapped_to_gpu)
      |                            ^~
In file included from ./include/linux/kernel.h:23,
                 from ./include/linux/cpumask.h:11,
                 from ./arch/x86/include/asm/paravirt.h:21,
                 from ./arch/x86/include/asm/irqflags.h:60,
                 from ./include/linux/irqflags.h:18,
                 from ./include/linux/spinlock.h:59,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/slab.h:16,
                 from 
                 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:25:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:118:45: error: 
invalid use of undefined type ‘struct svm_range’
  118 |                 if (!test_bit(gpuidx, 
  prange->bitmap_access) &&
      |                                             ^~
./include/linux/bitops.h:45:44: note: in definition of macro 
‘bitop’
   45 |           __builtin_constant_p((uintptr_t)(addr) != 
   (uintptr_t)NULL) && \
      |                                            ^~~~
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:118:22: note: in 
expansion of macro ‘test_bit’
  118 |                 if (!test_bit(gpuidx, 
  prange->bitmap_access) &&
      |                      ^~~~~~~~

There are more errors similar to these (is the full output 
needed?)
Any idea what I can do (better)?

With regards
Dieter

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Salvatore Bonaccorso <carnil@debian.org> - 2025-01-29 16:00 +0100
  Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Cordell Bloor <cgmb@slerp.xyz> - 2025-02-02 00:40 +0100
    Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Dieter Faulbaum <dieter@faulbaum.in-berlin.de> - 2025-02-02 11:30 +0100
      Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Dieter Faulbaum <dieter@faulbaum.in-berlin.de> - 2025-02-03 11:00 +0100
      Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Uwe Kleine-König <ukleinek@debian.org> - 2025-02-11 22:30 +0100
        Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Dieter Faulbaum <dieter@faulbaum.in-berlin.de> - 2025-02-12 11:40 +0100
          Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Dieter Faulbaum <dieter@faulbaum.in-berlin.de> - 2025-02-12 12:10 +0100
            Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Uwe Kleine-König <ukleinek@debian.org> - 2025-02-12 16:30 +0100
              Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Dieter Faulbaum <dieter@faulbaum.in-berlin.de> - 2025-02-12 18:10 +0100
                Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Uwe Kleine-König <ukleinek@debian.org> - 2025-02-12 18:40 +0100
                Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Dieter Faulbaum <dieter@faulbaum.in-berlin.de> - 2025-02-12 19:40 +0100
            Bug#1093124: libhsa-runtime64-1: HSA exception: Queue create failed at hsaKmtCreateQueue with multiple programs Dieter Faulbaum <dieter@faulbaum.in-berlin.de> - 2025-03-11 13:00 +0100

csiph-web