[Crash-utility] mod -S and debuginfo kernel rpm

Dave Anderson anderson at redhat.com
Tue Apr 21 17:01:11 UTC 2009


----- "Michael Holzheu" <holzheu at linux.vnet.ibm.com> wrote:

> ... and as you already said. If we copy the .debug files into the lib
> directory, it seems to work:
> 
> # mkdir mydump
> # cd mydump
> # rpm2cpio kernel-2.6.18-128.el5.s390x.rpm | cpio -idv
> # rpm2cpio kernel-debuginfo-2.6.18-128.el5.s390x.rpm | cpio -idv
> # cp -r usr/lib/debug/lib/modules/2.6.18-128.el5/*
> lib/modules/2.6.18-128.el5/
> # crash vmlinux dump
> 
> crah> mod -S lib/modules/2.6.18-128.el5/
> crash> ptype struct eckd_count
> type = struct eckd_count {
>     __u16 cyl;
>     __u16 head;
>     __u8 record;
>     __u8 kl;
>     __u16 dl;
> }
> 
> Maybe that is already sufficient.

Kind of labor-intensive, though...

Dave




More information about the Crash-utility mailing list