aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kdump
diff options
context:
space:
mode:
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>2013-07-03 18:08:38 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 19:08:03 -0400
commit987bf6fe3b1409b1cdf4352b3c421260c95d52f2 (patch)
tree9368d8d04d71f8b3297b08ba72eccbdb218382d1 /Documentation/kdump
parenta11edb59a05d8d5195419bd1fc28d82752324158 (diff)
Documentation/kdump/kdump.txt: remove /dev/oldmem description
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> Cc: Vivek Goyal <vgoyal@redhat.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Dave Hansen <dave@sr71.net> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Matt Fleming <matt.fleming@intel.com> Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Tony Luck <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/kdump')
-rw-r--r--Documentation/kdump/kdump.txt31
1 files changed, 6 insertions, 25 deletions
diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt
index 9c7fd988e299..bec123e466ae 100644
--- a/Documentation/kdump/kdump.txt
+++ b/Documentation/kdump/kdump.txt
@@ -47,19 +47,12 @@ parameter. Optionally the size of the ELF header can also be passed
47when using the elfcorehdr=[size[KMG]@]offset[KMG] syntax. 47when using the elfcorehdr=[size[KMG]@]offset[KMG] syntax.
48 48
49 49
50With the dump-capture kernel, you can access the memory image, or "old 50With the dump-capture kernel, you can access the memory image through
51memory," in two ways: 51/proc/vmcore. This exports the dump as an ELF-format file that you can
52 52write out using file copy commands such as cp or scp. Further, you can
53- Through a /dev/oldmem device interface. A capture utility can read the 53use analysis tools such as the GNU Debugger (GDB) and the Crash tool to
54 device file and write out the memory in raw format. This is a raw dump 54debug the dump file. This method ensures that the dump pages are correctly
55 of memory. Analysis and capture tools must be intelligent enough to 55ordered.
56 determine where to look for the right information.
57
58- Through /proc/vmcore. This exports the dump as an ELF-format file that
59 you can write out using file copy commands such as cp or scp. Further,
60 you can use analysis tools such as the GNU Debugger (GDB) and the Crash
61 tool to debug the dump file. This method ensures that the dump pages are
62 correctly ordered.
63 56
64 57
65Setup and Installation 58Setup and Installation
@@ -423,18 +416,6 @@ the following command:
423 416
424 cp /proc/vmcore <dump-file> 417 cp /proc/vmcore <dump-file>
425 418
426You can also access dumped memory as a /dev/oldmem device for a linear
427and raw view. To create the device, use the following command:
428
429 mknod /dev/oldmem c 1 12
430
431Use the dd command with suitable options for count, bs, and skip to
432access specific portions of the dump.
433
434To see the entire memory, use the following command:
435
436 dd if=/dev/oldmem of=oldmem.001
437
438 419
439Analysis 420Analysis
440======== 421========