Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS Stream release 8 not supported? #1632

Closed
VinInn opened this issue Dec 4, 2021 · 11 comments
Closed

CentOS Stream release 8 not supported? #1632

VinInn opened this issue Dec 4, 2021 · 11 comments

Comments

@VinInn
Copy link

VinInn commented Dec 4, 2021

Hope this is the correct place where to report about this issue.

on

uname -m && cat /etc/*release
x86_64
CentOS Stream release 8
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
CentOS Stream release 8
CentOS Stream release 8

i get

sudo yum install https://repo.radeon.com/amdgpu-install/21.40/rhel/8.4/amdgpu-install-21.40.40500-1.noarch.rpm
AMDGPU 21.40 repository                                                                                                                                                                                                                                                            267  B/s | 178  B     00:00
Errors during downloading metadata for repository 'amdgpu':
  - Status code: 404 for https://repo.radeon.com/amdgpu/21.40/rhel//main/x86_64/repodata/repomd.xml (IP: 13.82.220.49)
Error: Failed to download metadata for repo 'amdgpu': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

notice the missing 8.4 in the hyperlink after error 404
same with 8.5

Is there any solution/workaround?

@ROCmSupport
Copy link

Thanks @VinInn for reaching out.
We will take a look and update asap.

@ROCmSupport
Copy link

Hi @VinInn
I am not able to reproduce the problem.
Can you please try again and if you still see the issue, please share the exact steps(step by step) to reproduce the problem.
Thank you.

@VinInn
Copy link
Author

VinInn commented Dec 20, 2021

Just this

[localadmin@patatrack03 ~]$ sudo yum clean all
[sudo] password for localadmin:
36 files removed
[localadmin@patatrack03 ~]$ sudo yum update
CentOS Stream 8 - CERN                                                                                                                                                                                                 754 kB/s |  48 kB     00:00
CVMFS yum repository for el8                                                                                                                                                                                           465 kB/s |  24 kB     00:00
CentOS Stream 8 - AppStream                                                                                                                                                                                             13 MB/s |  18 MB     00:01
CentOS Stream 8 - BaseOS                                                                                                                                                                                                11 MB/s |  15 MB     00:01
CentOS Stream 8 - Extras                                                                                                                                                                                               607 kB/s |  16 kB     00:00
CentOS Stream 8 - PowerTools                                                                                                                                                                                            85 MB/s | 3.7 MB     00:00
AMDGPU 21.40 repository                                                                                                                                                                                                265  B/s | 178  B     00:00
Errors during downloading metadata for repository 'amdgpu':
  - Status code: 404 for https://repo.radeon.com/amdgpu/21.40/rhel//main/x86_64/repodata/repomd.xml (IP: 13.82.220.49)
Error: Failed to download metadata for repo 'amdgpu': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

also

[localadmin@patatrack03 ~]$ amdgpu-install
AMDGPU 21.40 repository                                                                                                                                                                                                266  B/s | 178  B     00:00
Errors during downloading metadata for repository 'amdgpu':
  - Status code: 404 for https://repo.radeon.com/amdgpu/21.40/rhel//main/x86_64/repodata/repomd.xml (IP: 13.82.220.49)
Error: Failed to download metadata for repo 'amdgpu': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

uname -a
Linux patatrack03 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Tue Nov 16 14:42:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

@coinserv
Copy link

I have the same issue, See below:

[root@Coinserv21]# dnf install https://repo.radeon.com/amdgpu-install/21.40/rhel/8.4/amdgpu-install-21.40.40500-1.noarch.rpm
Last metadata expiration check: 0:01:51 ago on Sat 25 Dec 2021 12:59:53 PM EST.
amdgpu-install-21.40.40500-1.noarch.rpm 89 kB/s | 20 kB 00:00
Dependencies resolved.

Package Architecture Version Repository Size

Installing:
amdgpu-install noarch 21.40.40500-1334189.el8 @commandline 20 k

Transaction Summary

Install 1 Package

Total size: 20 k
Installed size: 30 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : amdgpu-install-21.40.40500-1334189.el8.noarch 1/1
Running scriptlet: amdgpu-install-21.40.40500-1334189.el8.noarch 1/1
Verifying : amdgpu-install-21.40.40500-1334189.el8.noarch 1/1
Installed products updated.

Installed:
amdgpu-install-21.40.40500-1334189.el8.noarch

Complete!
[root@Coinserv21]# dnf clean all
57 files removed
[root@Coinserv21]# dnf update
CentOS Stream 8 - AppStream 3.4 MB/s | 18 MB 00:05
CentOS Stream 8 - BaseOS 5.5 MB/s | 16 MB 00:02
CentOS Stream 8 - Extras 29 kB/s | 16 kB 00:00
AMDGPU 21.40 repository 1.5 kB/s | 178 B 00:00
Errors during downloading metadata for repository 'amdgpu':

@brubash
Copy link

brubash commented Dec 31, 2021

Me too:

@ROCmSupport
Copy link

Hi @VinInn
I got clarity that you are asking about CentOS Stream 8, not CentOS 8.
Sorry for the confusion.
Currently we are not supporting CentOS stream 8 with ROCm. Please keep track of our documentation for the latest updates.
Thank you.

@fwyzard
Copy link

fwyzard commented Feb 16, 2022

Hi, here are the instructions to fix the amdgpu-install for CentOS 8 Stream, using the RHEL 8.5 repository:

sudo yum install -y https://repo.radeon.com/amdgpu-install/21.50/rhel/8.5/amdgpu-install-21.50.50000-1.el8.noarch.rpm
sudo sed -e's/$amdgpudistro/8.5/g' -i /etc/yum.repos.d/amdgpu*.repo

ROCm and HIP can then be installed as usual:

sudo amdgpu-install -y --usecase=dkms,rocm,hiplibsdk

or

sudo yum install -y amdgpu-dkms rocm-dev rocm-hip-sdk

@fwyzard
Copy link

fwyzard commented Feb 16, 2022

@ROCmSupport

Currently we are not supporting CentOS stream 8 with ROCm. Please keep track of our documentation for the latest updates.

Maybe you should instead improve the support for your users, while you still have any.

@Yujif1Aero
Copy link

I tried this and $ sudo amdgpu-install --usecase=hiplibsdk,rocm.
After installing finished, I did $rocm-smi but I is not woriking well.
I found an error during $ sudo amdgpu-install --usecase=hiplibsdk,rocm.
The error shows
Loading new amdgpu-5.18.13-1538762.el8 DKMS files...

Building for 4.18.0-490.el8.x86_64

Building initial module for 4.18.0-490.el8.x86_64

Error! Bad return status for module build on kernel: 4.18.0-490.el8.x86_64 (x86_64)

Consult /var/lib/dkms/amdgpu/5.18.13-1538762.el8/build/make.log for more information.

And I check the make.log
$ cat /var/lib/dkms/amdgpu/5.18.13-1538762.el8/build/make.log

DKMS make.log for amdgpu-5.18.13-1538762.el8 for kernel 4.18.0-490.el8.x86_64 (x86_64) 2023年 5月 19日 金曜日 15:50:29 JST

make: ディレクトリ '/usr/src/kernels/4.18.0-490.el8.x86_64' に入ります /var/lib/dkms/amdgpu/5.18.13-1538762.el8/build/Makefile:16: *** dma_resv->seq is missing., exit.... 中止.

make: *** [Makefile:1616: module/var/lib/dkms/amdgpu/5.18.13-1538762.el8/build] エラー 2 make: ディレクトリ '/usr/src/kernels/4.18.0-490.el8.x86_64' から出ます

Now I am using CentOS8stream and kernel is $ uname -r 4.18.0-490.el8.x86_64

Could you teach me how to fix it?

@Yujif1Aero
Copy link

And when I try installing $sudo amdgpu-install --usecase=dkms, I get a WARNING: amdgpu dkms failed for running kernel

@VasMan
Copy link

VasMan commented Sep 29, 2023

And when I try installing $sudo amdgpu-install --usecase=dkms, I get a WARNING: amdgpu dkms failed for running kernel

I am having the same issue with my CentOS Stream 8 running kernel 4.18.0-514.el8.x86_64 and my Radeon XT550. I get a black screen and can only SSH or remote desktop.

Did you manage to find a way around this or should I send the card back and try to find a different card that works for CentOS Stream 8?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants