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

EKS Latest kernel release 5.4.238-148.346 has no headers/devel packages #1266

Closed
renilthomas opened this issue Apr 14, 2023 · 3 comments
Closed

Comments

@renilthomas
Copy link

Environment:

  • AWS Region: us-east-1
  • EKS Platform version (use aws eks describe-cluster --name <name> --query cluster.platformVersion): eks.6
  • Kubernetes version (use aws eks describe-cluster --name <name> --query cluster.version): 1.23
  • AMI Version: 1.23.17-20230406
  • Kernel (e.g. uname -a):5.4.238-148.346.amzn2.x86_64
  • Release information (run cat /etc/eks/release on a node):
BASE_AMI_ID="ami-099e00fe4091e48af"
BUILD_TIME="Thu Apr  6 01:36:29 UTC 2023"
BUILD_KERNEL="5.4.238-148.346.amzn2.x86_64"
ARCH="x86_64"

Why this kernel version does not seem to have a linux-headers or kernel-devel pacakge. Falco relies on this to build the driver.

@HenryYanTR
Copy link

Datadog agent also crashes on this EKS AMI

@ravilr
Copy link

ravilr commented Apr 18, 2023

looks like there is only kernel-headers-5.4.238-148.347.amzn2.x86_64 and kernel-devel-5.4.238-148.347.amzn2.x86_64 available in the rpm repo here.

@aws team/ @camrakin any idea why the latest AMI release is installing kernel-5.4.238-148.346.amzn2.x86_64 instead of 5.4.238-148.347.amzn2.x86_64 ( .346 versus .347) ? perhaps the versionlock of kernel is introducing this issue ?

sudo yum versionlock delete kernel && sudo yum -y install kernel && sudo reboot does align both the kernel and kernel-headers rpm to same ...347 version and unblocks any kernel modules installation.

@cartermckinnon
Copy link
Member

cartermckinnon commented Apr 19, 2023

Sorry for the late reply; kernel-5.4.238-148.346 had a fatal issue affecting SMB mounts in which a null pointer dereference caused a panic. As a result, this package (and the associated header, devel, etc. packages) was removed from the Amazon Linux 2 repositories. The issue has been fixed in kernel-5.4.238-148.347.

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

4 participants