Skip to content

[Documentation] NVIDIA driver instructions use unavailable kernel package names on kernel 7.2 #17

Closed

Description

@tanmaymohan

What documentation is missing or unclear?

While following the NVIDIA driver installation guide on an AL2027 x86_64 instance, the documented kernel package command failed:

bash
sudo dnf install kernel-devel-$(uname -r) kernel-headers-$(uname -r) -y
DNF reported:

No match for argument: kernel-devel-7.2.8-14.137.amzn2027.x86_64
No match for argument: kernel-headers-7.2.8-14.137.amzn2027.x86_64

For this kernel, the available packages use the kernel7.2-* prefix. The following packages installed successfully:

kernel7.2-devel-7.2.8-14.137.amzn2027.x86_64
kernel7.2-headers-7.2.8-14.137.amzn2027.x86_64
kernel7.2-modules-extra-7.2.8-14.137.amzn2027.x86_64
kernel7.2-modules-extra-common-7.2.8-14.137.amzn2027.x86_64

It would be helpful if the guide documented the kernel-series package naming or provided a command that reliably selects packages matching the running kernel.

Where should this be documented?

Amazon Linux 2027 User Guide — NVIDIA drivers:

https://docs.aws.amazon.com/linux/al2027/ug/nvidia-drivers.html

Specifically, the step that installs the kernel headers and development packages.

Additional context

Test environment:

Amazon Linux: Amazon Linux 2027.0.20261026
Architecture: x86_64
Kernel: 7.2.8-14.137.amzn2027.x86_64
NVIDIA driver: 580.178.04
After installing the kernel7.2-* packages, DKMS built the NVIDIA open kernel module successfully:

nvidia/580.178.04, 7.2.8-14.137.amzn2027.x86_64, x86_64: installed

I encountered this while building an experimental AL2027 EKS 1.34 NVIDIA AMI. After correcting the package names, I tested it on G6 and Gr6 instances with NVIDIA L4 GPUs. Driver loading, device-plugin registration, nvidia-smi, CUDA VectorAdd, user-namespace execution, GPU inference and reboot recovery all worked.

The EKS testing is only additional validation; this report is specifically about the package names used in the NVIDIA installation documentation

Activity

  1. added
    documentation
    on Oct 28, 2026
  2. SreeSunku commented on Oct 29, 2026

    @SreeSunku

    @tanmaymohan - Thanks for the feedback. We made the fix to the AWS Docs here: https://docs.aws.amazon.com/linux/al2027/ug/nvidia-drivers.html. Please let us know of any additional questions. Thanks !

  3. tanmaymohan commented on Oct 29, 2026

    @tanmaymohan
    Author

    Thanks for the quick turnaround. The updated command correctly derives the kernel series and matches the kernel7.2-* packages used in my AL2027 test. This resolves the documentation issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions