[Crash-utility] modules loaded from wrong directory
Olaf Hering
olaf at aepfle.de
Mon Mar 19 10:43:40 UTC 2018
On Fri, Mar 16, Dave Anderson wrote:
> For a single module whose debuginfo file is not located in one of the
> default/standard locations, append the fully-qualified pathname to the
> debuginfo file to "mod -s module":
That would be combersome I think. I rarely used crash in the last years,
so I probably do it all wrong.
If I have to use crash I get a core file and the used kernel version.
Then I dig the used kernel, kernel-debuginfo and perhaps the KMP rpm
packages from the archives. Everything gets copied to a workdir. The
binaries are extracted 'rpm2cpio|cpio -i' within that workdir. Thats why
I thought '--mod $dir' would let crash only operate below $dir.
So I have to rely on the fact that the uname of the running kernel never
matches the crashed kernel. And if it does happen to match I have to
hope all involved binaries match.
Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20180319/56274f94/attachment.sig>
More information about the Crash-utility
mailing list