----- "Michael Holzheu" <holzheu(a)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