Discussion:
lcrash of a livedump files
Richard J Moore
2004-12-06 08:44:33 UTC
Permalink
Yes, this is odd. And if you run the command again dose it then work? Also,
what if you point lcrash to /boot for System.map and kerntypes.

I have noticed an odd behaviour where lcrash works on alternate invocations
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
cc
Richard J Moore/UK/***@IBMGB
03/12/2004 bcc
11:41
Subject
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çois

========================================================================
= Jean-François Larvoire ========= _/ ===========
= Hewlett-Packard ======= _/ =======
= 5 Avenue Raymond Chanas, Eybens ===== _/_/_/ _/_/_/ =====
= 38053 Grenoble Cedex 9, FRANCE ===== _/ _/ _/ _/ =====
= Phone: +33 476 14 13 38 ===== _/ _/ _/_/_/ =====
= Fax: +33 476 14 45 19 ======= _/ =======
= Email: jean-***@hp.com ========== _/ ==========
========================================================================

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 mapfile.
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
-----Original Message-----
From: lkcd-general-admin <at> lists.sourceforge.net [mailto:lkcd-general-
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 = /boot/System.map, dump = /dev/mem, outfile = stdout, kerntypes
= /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 = live_map.0, vmdump = live_vmdump.0, kerntypes = live_Kerntypes.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 = live_map.0, dump = live_vmdump.0, outfile = stdout, kerntypes
= 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/
Richard J Moore
2004-12-06 12:08:55 UTC
Permalink
your lkcdutils package is old. are you sure this is not you problem?

- -
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
cc
<***@kasenna.com>,
06/12/2004 <lkcd-***@lists.sourceforge.net>
10:33 bcc

Subject
RE: lcrash of a livedump files






Yes, of course I've tried many times. It fails every time.

I compared /boot/System.map and live_map.0. They're identical.
Same thing for /boot/Kerntypes and live_Kerntypes.0.
(Both files in /boot are actually links to the real file.)
I tried passing the /boot files names on the command line anyway, and of
course it fails the same way.

lkcdutils-4.1-1.src.rpm
Linux version 2.4.20


Live dump generation:

map = /boot/System.map, dump = /dev/mem, outfile = stdout, kerntypes =
/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.
Creating live system dump...
map = live_map.0, vmdump = live_vmdump.0, kerntypes = live_Kerntypes.0
Writing dump header ...
Writing dump pages ........
Dump complete.


Attempt to use it:

[***@east1 0]# lcrash live_map.0 live_vmdump.0 live_Kerntypes.0
map = live_map.0, dump = live_vmdump.0, outfile = stdout, kerntypes =
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
[***@east1 0]#


Jean-François

========================================================================
= Jean-François Larvoire ========= _/ ===========
= Hewlett-Packard ======= _/ =======
= 5 Avenue Raymond Chanas, Eybens ===== _/_/_/ _/_/_/ =====
= 38053 Grenoble Cedex 9, FRANCE ===== _/ _/ _/ _/ =====
= Phone: +33 476 14 13 38 ===== _/ _/ _/_/_/ =====
= Fax: +33 476 14 45 19 ======= _/ =======
= Email: jean-***@hp.com ========== _/ ==========
========================================================================

-----Original Message-----
From: Richard J Moore [mailto:***@uk.ibm.com]
Sent: Monday, 06 December, 2004 09:45
To: Larvoire, Jean-Francois
Cc: ***@kasenna.com; lkcd-***@lists.sourceforge.net
Subject: RE: lcrash of a livedump files





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

I have noticed an odd behaviour where lcrash works on alternate invocations
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
cc
Richard J Moore/UK/***@IBMGB
03/12/2004 bcc
11:41
Subject
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çois

========================================================================
= Jean-François Larvoire ========= _/ ===========
= Hewlett-Packard ======= _/ =======
= 5 Avenue Raymond Chanas, Eybens ===== _/_/_/ _/_/_/ =====
= 38053 Grenoble Cedex 9, FRANCE ===== _/ _/ _/ _/ =====
= Phone: +33 476 14 13 38 ===== _/ _/ _/_/_/ =====
= Fax: +33 476 14 45 19 ======= _/ =======
= Email: jean-***@hp.com ========== _/ ==========
========================================================================

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 mapfile.
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
-----Original Message-----
From: lkcd-general-admin <at> lists.sourceforge.net
[mailto:lkcd-general- 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 = /boot/System.map, dump = /dev/mem, outfile = stdout, kerntypes =
/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.
Post by Richard J Moore
livedump
Creating live system dump...
map = live_map.0, vmdump = live_vmdump.0, kerntypes = live_Kerntypes.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 = live_map.0,
dump = live_vmdump.0, outfile = stdout, kerntypes = 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/

Loading...