RE: lcrash of a livedump files

Richard J Moore <[email protected]> Mon, 6 Dec 2004 08:44:33 +0000
Newsgroups gmane.linux.lkcd.general
Message-ID <OF7931974B.22FD716D-ON80256F62.002FAF2B-80256F62.0030064A@uk.ibm.com>



Yes, this is odd. And if you run the command again dose it then work? A=
lso,
what if you point lcrash to /boot for System.map and kerntypes.

I have noticed an odd behaviour where lcrash works on alternate invocat=
ions
and fails on the others, for the same dump.

- -
Richard J Moore
IBM Advanced Linux Response Team - Linux Technology Centre
http://oss.software.ibm.com/developerworks/opensource/linux
Tel: (+44) (0)1962-817072


                                                                       =
    
             "Larvoire,                                                =
    
             Jean-Francois"                                            =
    
             <jean-francois.                                           =
 To 
             [email protected]         <[email protected]>                =
    
             >                                                         =
 cc 
                                     Richard J Moore/UK/IBM@IBMGB      =
    
             03/12/2004                                                =
bcc 
             11:41                                                     =
    
                                                                   Subj=
ect 
                                     RE: lcrash of a livedump files    =
    
                                                                       =
    
                                                                       =
    




Hi,

I found this old message in Google.
I'm having the same problem now.
Did you eventually find the solution?
(The solution suggested by Richard does not work for me)

Jean-Fran=E7ois

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

=3D Jean-Fran=E7ois Larvoire                 =3D=3D=3D=3D=3D=3D=3D=3D=3D=
   _/      =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D Hewlett-Packard                        =3D=3D=3D=3D=3D=3D=3D    _/ =
          =3D=3D=3D=3D=3D=3D=3D
=3D 5 Avenue Raymond Chanas, Eybens        =3D=3D=3D=3D=3D     _/_/_/  =
_/_/_/  =3D=3D=3D=3D=3D
=3D 38053 Grenoble Cedex 9, FRANCE         =3D=3D=3D=3D=3D    _/  _/  _=
/  _/   =3D=3D=3D=3D=3D
=3D Phone: +33 476 14 13 38                =3D=3D=3D=3D=3D   _/  _/  _/=
_/_/    =3D=3D=3D=3D=3D
=3D Fax:   +33 476 14 45 19                =3D=3D=3D=3D=3D=3D=3D       =
 _/       =3D=3D=3D=3D=3D=3D=3D
=3D Email: [email protected]   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
    _/     =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


From: Richard J Moore <richardj_moore <at> uk.ibm.com>
Subject: RE: lcrash of a livedump files
Newsgroups: gmane.linux.lkcd.general
Date: Sat, 25 Oct 2003 00:48:39 +0100

I've experienced this I believe its down to a corrupt copy of the mapfi=
le.
Try overriding the map file with the correct version in /boot

- -
Richard J Moore
RAS Project Lead - Linux Technology Centre
http://oss.software.ibm.com/developerworks/opensource/linux
Tel: (+44) (0)1962-817072

lkcd-general-admin <at> lists.sourceforge.net wrote on 23/10/2003 02:53=
:53:

>
> -----Original Message-----
> From: lkcd-general-admin <at> lists.sourceforge.net [mailto:lkcd-gene=
ral-
> admin <at> lists.sourceforge.net]On Behalf Of Alberto
> Sent: Saturday, October 18, 2003 7:02 AM
> To: lkcd-general <at> lists.sourceforge.net
> Subject: [lkcd-general] lcrash of a livedump files

> Hi,
> I've installed lkcdutils-4.1-1.src.rpm plus the corresponding
> kernel patch file for the 2.4.20 kernel. After build kernel and utils=
 I
> can now generate a live dump on a dedicate partition.
> # lcrash
> map =3D /boot/System.map, dump =3D /dev/mem, outfile =3D stdout, kern=
types
> =3D /boot/Kerntypes
> Please wait...
>         Initializing vmdump access ... Done.
>         Loading system map
> ................................................. Done.
>         Loading type info (Kerntypes) ... Done.
>         Initializing arch specific data ... Done.
>         Loading ksyms from dump ....... Done.
> >> livedump
> Creating live system dump...
> map =3D live_map.0, vmdump =3D live_vmdump.0, kerntypes =3D live_Kern=
types.0
> Writing dump header ...
> Writing dump pages ...................
> Dump complete.
> and basic commands work file after the live_dump.
> However, if I rerun lcrash using the live dump files it fails with
> the following command.
> lcrash live_map.0 live_vmdump.0 live_Kerntypes.0
> map =3D live_map.0, dump =3D live_vmdump.0, outfile =3D stdout, kernt=
ypes
> =3D live_Kerntypes.0
> Please wait...
>         Initializing vmdump access
> ........................................................... Done.
>         Loading system map
> ................................................. Done.
>         Loading type info (Kerntypes) ... Done.
>         Initializing arch specific data ... Done.
>         Loading ksyms from dump ... Failed.
> live_map.0: not found in dump file
> Have any body seen this before?
> [Guo, Min] How about copy /boot/System.map  to live_map.0, and retry?=

>
> Any help would be appreciate
> Thanks in advance
> beto
>
>
>
>

-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
=




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/