I want to use "crash" to look at the kernel core.
crash /usr/lib/debug/lib/modules//vmlinux /var/crash//vmcore
But /usr/lib/debug/lib is empty and it looks like that directory (debug libraries) is populated with "debuginfo-install kernel"
I have the iso mount on /mnt/disc and yum recognizes the repo.
yum repolist all
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
repo id repo name status
InstallMedia Red Hat Enterprise Linux 7.7 enabled: 5,229
repolist: 5,229
However when I try the following it seems to want/need a subscription-manager registration:
debuginfo-install kernel
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Could not find debuginfo for main pkg: kernel-3.10.0-1062.el7.x86_64
No debuginfo packages available to install
OR
debuginfo-install kernel –enablerepo=InstallMedia
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Could not find debuginfo for main pkg: kernel-3.10.0-1062.el7.x86_64
No debuginfo packages available to install
How do I install the kernel debuginfo packages from the iso repo?
Best Answer
If you have an iso image or a DVD try the below step to have it mount and install packages in the local system.
mkdir -p /mnt/disc
mount -o loop RHEL7.1.iso /mnt/disc
yum repolist enabled
Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. repo id repo name
InstallMedia Red Hat Enterprise Linux 7.7 repolist: 5,229