Re: [PATCH] Documentation update for kdump
Date: Sun May 21 2006 - 15:22:11 EST
On Thu, 11 May 2006 12:35:57 -0700 David Wilder wrote:
> This patch contains a re-write of the kdump documentation (kdump.txt).
> We have updated much of the document to reflect the current state of
> kdump and reformatted the document for readability.
+Install kexec-tools and the Kdump patch
+1) Login as the root user.
+2) Download the kexec-tools user-space package from the following URL:
+3) Unpack the tarball with the tar command, as follows:
+ tar xvpzf kexec-tools-1.101.tar.gz
+4) Download the latest consolidated Kdump patch from the following URL:
+ (This location is being used until all the user-space Kdump patches
+ are integrated with the kexec-tools package.)
+5) Change to the kexec-tools-1.101 directory, as follows:
+ cd kexec-tools-1.101
+6) Apply the consolidated patch to the kexec-tools-1.101 source tree
+ with the patch command, as follows. (Modify the path to the downloaded
+ patch as necessary.)
+ patch -p1 < /path-to-kdump-patch/kexec-tools-1.101-kdump.patch
+7) Configure the package, as follows:
+8) Compile the package, as follows:
Can 1) log in as root
be moved to here?
+9) Install the package, as follows:
+ make install
+The dump-capture kernel
+1) Under "General setup," append "-kdump" to the current string in
+ "Local version."
+2) On x86, enable high memory support under "Processor type and
That would be CONFIG_HIGHMEM4B=y
but why is either of these required?
+6) Use a suitable value for "Physical address where the kernel is
+ loaded" (under "Processor type and features"). This only appears when
+ "kernel crash dumps" is enabled. By default this value is 0x1000000
+ (16MB). It should be the same as X in the "crashkernel=Y@X" boot
+ parameter discussed above.
+ On x86 and x86_64, use "CONFIG_PHYSICAL_START=0x1000000".
+ On ppc64 the value is automatically set at 32MB when
+ CONFIG_CRASH_DUMP is set.
+6) Optionally enable "/proc/vmcore support" under "Filesystems" ->
+ "Pseudo filesystems".
+ (CONFIG_PROC_VMCORE is set by default when CONFIG_CRASH_DUMP is selected.)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/