aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2009-08-10 14:41:16 +0800
committerHuang Ying <ying.huang@intel.com>2009-08-10 14:41:16 +0800
commit852f0e29e8eb69599522f72202df90cac35a187e (patch)
tree0cc9545e74f1003852e668814d2b5f1e8c9235fd
parent34198bce00a430b01fe60ce6713c8dd07d4e477b (diff)
downloadmce-test-852f0e29e8eb69599522f72202df90cac35a187e.tar.gz
Document update
Cleanup README. Update kernel requirement in doc/howto.txt. Signed-off-by: Huang Ying <ying.huang@intel.com>
-rw-r--r--README21
-rw-r--r--doc/howto.txt48
2 files changed, 47 insertions, 22 deletions
diff --git a/README b/README
index 3f54e4f..193ff15 100644
--- a/README
+++ b/README
@@ -14,6 +14,7 @@ Here is a short description of what is included in the package
README
This document
+
COPYING
GNU General Public License
@@ -21,7 +22,6 @@ Makefile
Top level make file for MCE test suite
drivers/*
-
Contains test drivers, which drive test procedure and do some
common works for test drivers. There is one directory for each
test driver, the user interface of a driver is the driver.sh
@@ -42,6 +42,10 @@ config/*
parameters for test driver, which test cases are used in test,
the parameters for test cases, etc.
+tsrc/*
+ Some standalone test programs for various parts of the machine
+ check code.
+
lib/*
Contains some shell scripts, in which some common shell
functions and variable definitions are defined to be used by
@@ -76,12 +80,21 @@ bin/
Some tools used by test drivers or test cases will be
installed into this directory.
+
+Test Instruction
+----------------
+
+Please refer to corresponding section in doc/howto.txt.
+
+
Futher Information
------------------
For futher information about MCE test suite, please refer to documents
in doc sub-directory.
-README.kdump: For testing via kdump. With kdump, a real panic
- will triggered.
-design.txt: Simple design document
+doc/howto.txt: a more detailed HOWTO document
+
+doc/cases/*.txt: Description of every test case, including test
+ objective, code patch tested, reference and
+ expected results
diff --git a/doc/howto.txt b/doc/howto.txt
index f7d08ad..4939303 100644
--- a/doc/howto.txt
+++ b/doc/howto.txt
@@ -18,26 +18,36 @@ guide and how to add new test cases into test suite.
0. Quick shortcut
------------------
+
+- Install the Linux kernel with full MCE injection support, including
+ latest Linux kernel (2.6.31) and MCE injection enhancement patchset
+ in: http://ftp.kernel.org/pub/linux/kernel/people/yhuang/mce/. Make
+ sure following configuration options are enabled:
+
+ CONFIG_X86_MCE=y
+ CONFIG_X86_MCE_INTEL=y
+ CONFIG_X86_MCE_INJECT=y
+
- Get mcelog git version from
-git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git.
-and install in /usr/sbin (or rather first in your $PATH)
+ git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git.
+ and install in /usr/sbin (or rather first in your $PATH)
-git clone git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git
-cd mcelog
-make
-sudo make install
+ git clone git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git
+ cd mcelog
+ make
+ sudo make install
- Get mce-inject git version from
-git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git.
+ git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git.
-git clone git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
-cd mce-inject
-make
-sudo make install
+ git clone git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
+ cd mce-inject
+ make
+ sudo make install
- Run make test-simple
-This will do the basic tests, but not the more complicated kdump ones.
-For more information on those read below.
+ This will do the basic tests, but not the more complicated kdump ones.
+ For more information on those read below.
1. Introduction
---------------
@@ -237,9 +247,7 @@ instructions.
a. Linux kernel and user space tools as follow should be installed
- - A Linux kernel with MCE injection support. Latest Linux kernel
- MCE injection patches can be found at:
- git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6.git
+ - A Linux kernel with full MCE injection support (see 0)
- mce-inject tool (see 3.1)
- mcelog with proper version (see 3.2)
@@ -287,8 +295,12 @@ Enterprise Linux 5. Since KDUMP is supported by the above mentioned
distro's the test driver was written and tested on them. Contribution
towards supporting more distributions are welcome.
-a. Install Linux kernel with MCE injection support. Latest Linux
- kernel MCE injection patches can be found at: FIXME url.
+a. Install Linux kernel with full MCE injection and KDUMP support. In
+ addition to MCE injection support in section 0, the following
+ configuration options should be enabled too:
+
+ CONFIG_KEXEC=y
+ CONFIG_CRASH_DUMP=y
b. Install these additional packages: