[Crash-utility] mod -S and debuginfo kernel rpm
Dave Anderson
anderson at redhat.com
Tue Apr 21 13:05:08 UTC 2009
----- "Michael Holzheu" <holzheu at linux.vnet.ibm.com> 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
More information about the Crash-utility
mailing list