[Crash-utility] How does crash find booted kernel?

Dave Anderson anderson at redhat.com
Mon Nov 2 14:12:53 UTC 2015



----- Original Message -----
> Hi Buland,
> 
> Thanks very much for your answer! After installing the right debuginfo package,
> now crash works!
> 
> BTW, if possible, could you spare a little time to explain other confusion: it seems
> that I don't select whether "debug" version or not during install RHEL 7, why does it
> install the "debug" version for me? Thanks!
> Best Regards
> Nan Xiao

I haven't done a RHEL7 installation from scratch in quite some
time, but with respect to the software selection stage, it gives
you a handful of possibilities (Minimal Install, Basic Web Server,
Virtualization Host, etc.), and with any of those selections you
would get the standard kernel-<version> package.  I don't even 
think it's possible to get the kernel-debug-<version> package
unless you did some kind of custom installation, or if it was 
installed after-the-fact.

Your system should have log files in /root that show what packages
were originally installed on the system.  Check them for evidence
of which kernel was installed.  

Dave





> 
> 
> On Mon, Nov 2, 2015 at 4:09 PM, Buland Kumar Singh
> <6b65726e656c at gmail.com> wrote:
> > On 2 November 2015 at 12:56, Nan Xiao <xiaonan830818 at gmail.com> wrote:
> >>
> >> Hi Buland,
> >>
> >> Firstly, thanks for your comments!
> >>
> >> Executing the following commands:
> >>
> >> [root at localhost ktap]# uname -r
> >> 3.10.0-123.el7.x86_64.debug
> >>
> >> [root at localhost ktap]# rpm -q kernel-debuginfo
> >> kernel-debuginfo-3.10.0-123.el7.x86_64
> >>
> >> [root at localhost ktap]# rpm -q kernel
> >> kernel-3.10.0-123.el7.x86_64
> >>
> >> It seems all the versions are match. So I think it is not this issue,
> >> thanks!
> >> Best Regards
> >> Nan Xiao
> >>
> >>
> >
> > Nan,
> >
> > The kernel running on your system is kernel-debug-3.10.0-123.el7.x86_64
> >
> > [root at localhost ktap]# uname -r
> > 3.10.0-123.el7.x86_64.debug
> >                         ^
> >                         '....
> >
> > It is provided by kernel-debug-3.10.0-123.el7.x86_64.rpm
> >
> > The kernel-debuginfo package installed on your system is for normal kernel.
> >
> > [root at localhost ktap]# rpm -q kernel-debuginfo
> > kernel-debuginfo-3.10.0-123.el7.x86_64
> >
> > To fix it, you need to install
> > kernel-debug-debuginfo-3.10.0-123.el7.x86_64.rpm
> >
> > --
> > BKS
> >
> > --
> > Crash-utility mailing list
> > Crash-utility at redhat.com
> > https://www.redhat.com/mailman/listinfo/crash-utility
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
> 




More information about the Crash-utility mailing list