Unable find the debuginfo package for kernel with version of 5.4.142-1

General support questions
Post Reply
loremipsum
Posts: 1
Joined: 2022/06/03 14:46:43

Unable find the debuginfo package for kernel with version of 5.4.142-1

Post by loremipsum » 2022/06/03 15:13:21

Unable find the debuginfo package for kernel with version of 5.4.142-1


I am trying to debug the kernel with systemtap, the version of kernel is 5.4.142-1

Code: Select all

root@localhost:~# uname -r
5.4.142-1.el7.elrepo.x86_64
One of pre-requisites to use systemtap is to install the following kernel related rpms with the same version of kernel:
  • kernel-devel
  • kernel-debuginfo
  • kernel-common-debuginfo
I have search the official debuginfo source(http://debuginfo.centos.org/altarch/7/kernel/x86_64/), it seems that only 5.4.142-200 is available, I wonder where could I find the kernel package with the version of 5.4.142-1,thanks!

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable find the debuginfo package for kernel with version of 5.4.142-1

Post by TrevorH » 2022/06/03 16:17:17

1) That's an ELRepo package not a CentOS one
2) They don't provide debuginfo packages for their kernels.
3) It's severely out of date, the current kernel-lt on CentOS 7 from ELRepo is 5.4.196-1.el7.elrepo
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply