#1140063 amdsmi: rsmi_init is too verbose

Package:
src:amdsmi
Source:
src:amdsmi
Submitter:
Samuel Thibault
Date:
2026-06-15 11:39:02 UTC
Severity:
normal
Tags:
#1140063#5
Date:
2026-06-15 11:37:48 UTC
From:
To:
Hello,

I tried to re-introduce a dependency of hwloc on amdsmi in hwloc
2.14.0-1, but then it fell (again) on rocm_init() being too verbose: if
there is no AMD hardware in the system, rocm_init() complains loudly,
breaking various autopkgtest and such, e.g. openmpi:

https://ci.debian.net/packages/o/openmpi/unstable/amd64/71772823/

I thus had to disable the amdsmi dependency (again), preventing people
from getting the locality information of amd devices when they have one.

I have submitted a simple fix to upstream, the copilot bot suggested a
more invasive fix, not sure when that will converge.

I have attached the simple fix that can be applied in debian already.

Samuel