Re: mod -S and debuginfo kernel rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Michael Holzheu" <holzheu@xxxxxxxxxxxxxxxxxx> wrote:

> Hi,
> 
> The kernel debuginfo rpms (e.g. kernel-debuginfo-xxx.s390x.rpm) > provide
> kernel modules that contain debug sections in order to access the > data
> structures with tools like crash. The kernel modules are named "<module_name>.ko.debug".
> 
> The mod -S command in crash does not recognize the ".debug" files. Is
> that by intention? What is the recommended way to load all the debug
> information?

That is by intention.  The argument to the "mod" command should be
the stripped "<module_name>.ko" file.  When loading that file, the
embedded link to the "<module_name>.ko.debug" file found in the
stripped "<module_name>.ko" file should be recognized and handled
internally by the embedded gdb module.  

Note that the "OBJECT FILE" name shown by "mod -S" command shows
the object file found in the "/lib/modules/...", i.e., not the
associated debuginfo file typicall found in "/usr/lib/debug/lib/modules/...".  

> Michael

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux