Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1026931: rocminfo: fails with error "lsmod: not found"

63 views
Skip to first unread message

Cordell Bloor

unread,
Dec 24, 2022, 3:10:03 AM12/24/22
to
Package: rocminfo
Version: 5.2.3-1
Severity: normal
X-Debbugs-Cc: cg...@slerp.xyz

Dear Maintainer,

After installing rocminfo on a fresh new Debian image, I ran the command
and saw the error:

sh: 1: lsmod: not found
ROCk module is NOT loaded, possibly no GPU devices

After running `apt install kmod`, this problem was resolved and I saw
normal output:

ROCk module is loaded
<system details>

-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages rocminfo depends on:
ii libc6 2.36-5
ii libgcc-s1 12.2.0-9
ii libhsa-runtime64-1 5.2.3-1
ii libstdc++6 12.2.0-9
ii pciutils 1:3.9.0-2
ii python3 3.10.6-3

rocminfo recommends no packages.

rocminfo suggests no packages.

-- no debconf information

Étienne Mollier

unread,
Jan 2, 2023, 4:47:14 PM1/2/23
to
Hi Cory,

Cordell Bloor, on 2022-12-24:
> After installing rocminfo on a fresh new Debian image, I ran the command
> and saw the error:
>
> sh: 1: lsmod: not found
> ROCk module is NOT loaded, possibly no GPU devices
>
> After running `apt install kmod`, this problem was resolved and I saw
> normal output:
>
> ROCk module is loaded
> <system details>

Thanks for your report, this would have been caught by a proper
autopkgtest, so sounds like I would have to spend some time to
wrap up something. I guess the end result would look similar to
running the test suite, with a check on /dev/kfd availability,
and a proper skip if not running on real hardware. Shouldn't be
too hard, autopkgtest provides the appropriate knobs for that.

Best wishes, :)
--
Étienne Mollier <emol...@emlwks999.eu>
Fingerprint: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
Sent from /dev/tty1, please excuse my verbosity.
On air: Nemrud - Lion Of Commagene
signature.asc
0 new messages