Skip to content

Provide 2.x.8586.0 and 2.x.8732.0 Neuron kernel modules#452

Merged
arnaldo2792 merged 4 commits into
bottlerocket-os:developfrom
arnaldo2792:more-neuron-drivers/kernel-kit
May 28, 2026
Merged

Provide 2.x.8586.0 and 2.x.8732.0 Neuron kernel modules#452
arnaldo2792 merged 4 commits into
bottlerocket-os:developfrom
arnaldo2792:more-neuron-drivers/kernel-kit

Conversation

@arnaldo2792
Copy link
Copy Markdown
Contributor

@arnaldo2792 arnaldo2792 commented May 28, 2026

Description of changes:
Provide 2.x.8586.0 and 2.x.8732.0 Neuron kernel modules. Additionally, update summaries of kernel modules since they were a bit inconsistent with other kernel modules

Testing done:
Launched a inf2 instance, confirmed devices are visible and advertised with the new kernel modules:

Details
bash-5.2# rmmod neuron
bash-5.2# insmod /usr/libexec/neuron/neuron_2x_8732/neuron.ko
bash-5.2# /opt/aws/neuron/bin/neuron-ls
+--------+--------+--------+---------+
| NEURON | NEURON | NEURON |   PCI   |
| DEVICE | CORES  | MEMORY |   BDF   |
+--------+--------+--------+---------+
| 0      | 2      | 32 GB  | 00:1f.0 |
+--------+--------+--------+---------+
bash-5.2#
bash-5.2# rmmod neuron
bash-5.2# insmod /usr/libexec/neuron/neuron_2x_8586/neuron.ko

I had to re-create the device plugin pod to make sure it used the new driver, then I confirmed it worked:

bash-5.2# /opt/aws/neuron/bin/neuron-ls
+--------+--------+--------+---------+
| NEURON | NEURON | NEURON |   PCI   |
| DEVICE | CORES  | MEMORY |   BDF   |
+--------+--------+--------+---------+
| 0      | 2      | 32 GB  | 00:1f.0 |
+--------+--------+--------+---------+
bash-5.2#

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
Source5: https://cache.bottlerocket.aws/aws-neuronx-dkms-2.x.8072.0.noarch.rpm/d96bd0fe73482684c97faae6f779bfa8a84e9b9ca09f796031d409322550fb1744a38e6c54f5fcc8c1221f051cf04f518694876ea825722f5ed7895c2e8bb22a/aws-neuronx-dkms-2.x.8072.0.noarch.rpm
# Neuron driver 2.x.8689.0
Source6: https://cache.bottlerocket.aws/aws-neuronx-dkms-2.x.8689.0.noarch.rpm/5d3ce7f81858d5aae62279369bce72e041dd321f71146a4ab8e61f9230f3965323f9c9230547476614f1c334b84c59edbd892524e2a87c35b46960a044502e9f/aws-neuronx-dkms-2.x.8689.0.noarch.rpm
Source7: gpgkey-00FA2C1079260870A76D2C285749CAD8646D9185.asc
Copy link
Copy Markdown
Contributor

@piyush-jena piyush-jena May 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not required at all but given changes of this kind, do you think it would be a good idea to make the gpg-key Source1 ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a great call out, let me fix that

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, lets punt this, it will get all confusing if I do this in this PR.

@arnaldo2792 arnaldo2792 marked this pull request as ready for review May 28, 2026 18:27
@arnaldo2792 arnaldo2792 merged commit 0cb8e47 into bottlerocket-os:develop May 28, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants