[Issue]: Cannot build image for Ubuntu 26.04
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 62/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- docker, ubuntu
- Lĩnh vực
- build-system, devops
Hướng nghiên cứu
Start with internal/kmmmodule/dockerfiles/DockerfileTemplate.ubuntu and compare its package list with the Ubuntu 26.04 reproduction shown in the issue. Check the related example in docs/drivers/precompiled-driver.md and the release-note entry, then rerun the provided docker build; done means the Ubuntu 26.04 image builds without the missing-package failure.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem Description
https://rocm.docs.amd.com/en/latest/compatibility/compatibility-matrix.html says that ROCm is supported on Ubuntu 26.04, kernel 7.0.
The Dockerfile used the operator uses for Ubuntu downloads the linux-modules-extra package: https://github.com/ROCm/gpu-operator/blob/fa43b1cac338749d25810b934cff3e942e0e86c5/internal/kmmmodule/dockerfiles/DockerfileTemplate.ubuntu#L23
However, the linux-modules-extra package is not shipped for kernel 7.0 and newer: https://discourse.ubuntu.com/t/kernel-development-release-cadence-and-deprecation-of-linux-modules-extra/65176
Therefore, the Dockerfile build fails:
[+] Building 4.9s (6/14) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.35kB 0.0s
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2) 0.0s
=> WARN: InvalidDefaultArgInFrom: Default value for ARG ubuntu:${OS_VERSION} results in empty or invalid base image name (line 2) 0.0s
=> WARN: InvalidDefaultArgInFrom: Default value for ARG ubuntu:${OS_VERSION} results in empty or invalid base image name (line 35) 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:26.04 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [builder 1/7] FROM docker.io/library/ubuntu:26.04 0.0s
=> ERROR [builder 2/7] RUN apt-get update && apt-get install -y bc bison flex libelf-dev gnupg wget git make gcc 4.9s
=> CANCELED [stage-1 2/5] RUN apt-get update && apt-get install -y kmod 4.9s
------
> [builder 2/7] RUN apt-get update && apt-get install -y bc bison flex libelf-dev gnupg wget git make gcc ca-certificates linux-headers-7.0.0-30-generic linux-modules-extra-7.0.0-30-generic:
0.508 Get:1 http://security.ubuntu.com/ubuntu resolute-security InRelease [137 kB]
0.614 Get:2 http://security.ubuntu.com/ubuntu resolute-security/restricted amd64 Packages [431 kB]
0.709 Get:3 http://archive.ubuntu.com/ubuntu resolute InRelease [136 kB]
0.729 Get:4 http://security.ubuntu.com/ubuntu resolute-security/multiverse amd64 Packages [11.2 kB]
0.746 Get:5 http://security.ubuntu.com/ubuntu resolute-security/main amd64 Packages [511 kB]
0.817 Get:6 http://security.ubuntu.com/ubuntu resolute-security/universe amd64 Packages [196 kB]
1.026 Get:7 http://archive.ubuntu.com/ubuntu resolute-updates InRelease [137 kB]
1.229 Get:8 http://archive.ubuntu.com/ubuntu resolute-backports InRelease [136 kB]
1.309 Get:9 http://archive.ubuntu.com/ubuntu resolute/restricted amd64 Packages [189 kB]
1.336 Get:10 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages [1874 kB]
1.513 Get:11 http://archive.ubuntu.com/ubuntu resolute/universe amd64 Packages [20.1 MB]
3.027 Get:12 http://archive.ubuntu.com/ubuntu resolute/multiverse amd64 Packages [352 kB]
3.052 Get:13 http://archive.ubuntu.com/ubuntu resolute-updates/universe amd64 Packages [300 kB]
3.078 Get:14 http://archive.ubuntu.com/ubuntu resolute-updates/multiverse amd64 Packages [14.3 kB]
3.078 Get:15 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 Packages [599 kB]
3.123 Get:16 http://archive.ubuntu.com/ubuntu resolute-updates/restricted amd64 Packages [443 kB]
3.160 Get:17 http://archive.ubuntu.com/ubuntu resolute-backports/universe amd64 Packages [567 B]
3.539 Fetched 25.6 MB in 3s (7612 kB/s)
3.539 Reading package lists...
4.071 Reading package lists...
4.589 Building dependency tree...
4.738 Reading state information...
4.814 E: Unable to locate package linux-modules-extra-7.0.0-30-generic
4.814 E: Couldn't find any package by glob 'linux-modules-extra-7.0.0-30-generic'
4.814 E: Couldn't find any package by regex 'linux-modules-extra-7.0.0-30-generic'
Operating System
Ubuntu 26.04.0
CPU
N/A
GPU
N/A
ROCm Version
N/A
ROCm Component
No response
Steps to Reproduce
Download the Dockerfile used by the operator, then run:
#!/usr/bin/env bash
export OS_VERSION=26.04
export OS_CODENAME=resolute
export KERNEL_FULL_VERSION=7.0.0-30-generic
export DRIVERS_VERSION=31.40.1
export REPO_URL=https://repo.radeon.com
docker build \
--build-arg OS_VERSION=${OS_VERSION} \
--build-arg OS_CODENAME=${OS_CODENAME} \
--build-arg KERNEL_FULL_VERSION=${KERNEL_FULL_VERSION} \
--build-arg DRIVERS_VERSION=${DRIVERS_VERSION} \
--build-arg REPO_URL=${REPO_URL} \
-t registry.example.com/amdgpu-driver:ubuntu-${OS_VERSION}-${KERNEL_FULL_VERSION}-${DRIVERS_VERSION} \
- <precompiled.dockerfile
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
Additional Information
There is a note for the 1.4.0 operator release that appears to be related.
There are a few places in the operator repository that reference this package, including the example Dockerfile in the documentation.
- Ngôn ngữ chính
- Go
- Star
- 110
- Fork
- 63
- Merge trung bình
- 4 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ROCm/gpu-operator
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ROCm/gpu-operator#688 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ROCm/gpu-operator#679 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
ROCm/gpu-operator#638 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Issue]: multiple critical and security CVEs found in the images released with 1.5.1Có thể làm lại được @yansun1996 đã nhận 76 ngày trước và không có pull request nào đang mở. Đang mở
ROCm/gpu-operator#629 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Node-labeller amd.com/gpu.vram undercounts addressable memory on dpx_nps1 (divides by compute-partition count, ignores memory-partition mode)Có thể làm lại được @bhatnitish đã nhận 170 ngày trước và không có pull request nào đang mở. Đang mở
ROCm/gpu-operator#555 · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ROCm/gpu-operator
Issue tương tự
-
docs: database/sql Sessions example never commits its batch, and its "Full Example" link is a 404Đang mởdocumentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
ClickHouse/clickhouse-go#2185 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tagvalue.Read fails with "token too long" on lines over 64 KiBCó thể đã có người làm @G26karthik đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
spdx/tools-golang#319 ·
-
area: community priority: p1 size: s type: docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
romanitalian/paytriage#23 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100