diff options
Diffstat (limited to 'Documentation/kdump/kdump.txt')
| -rw-r--r-- | Documentation/kdump/kdump.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index 7ff213f4becd..1f5f7d28c9e6 100644 --- a/Documentation/kdump/kdump.txt +++ b/Documentation/kdump/kdump.txt | |||
| @@ -39,8 +39,7 @@ SETUP | |||
| 39 | and apply http://lse.sourceforge.net/kdump/patches/kexec-tools-1.101-kdump.patch | 39 | and apply http://lse.sourceforge.net/kdump/patches/kexec-tools-1.101-kdump.patch |
| 40 | and after that build the source. | 40 | and after that build the source. |
| 41 | 41 | ||
| 42 | 2) Download and build the appropriate (latest) kexec/kdump (-mm) kernel | 42 | 2) Download and build the appropriate (2.6.13-rc1 onwards) vanilla kernel. |
| 43 | patchset and apply it to the vanilla kernel tree. | ||
| 44 | 43 | ||
| 45 | Two kernels need to be built in order to get this feature working. | 44 | Two kernels need to be built in order to get this feature working. |
| 46 | 45 | ||
| @@ -84,15 +83,16 @@ SETUP | |||
| 84 | 83 | ||
| 85 | 4) Load the second kernel to be booted using: | 84 | 4) Load the second kernel to be booted using: |
| 86 | 85 | ||
| 87 | kexec -p <second-kernel> --crash-dump --args-linux --append="root=<root-dev> | 86 | kexec -p <second-kernel> --args-linux --elf32-core-headers |
| 88 | init 1 irqpoll" | 87 | --append="root=<root-dev> init 1 irqpoll" |
| 89 | 88 | ||
| 90 | Note: i) <second-kernel> has to be a vmlinux image. bzImage will not work, | 89 | Note: i) <second-kernel> has to be a vmlinux image. bzImage will not work, |
| 91 | as of now. | 90 | as of now. |
| 92 | ii) By default ELF headers are stored in ELF32 format (for i386). This | 91 | ii) By default ELF headers are stored in ELF64 format. Option |
| 93 | is sufficient to represent the physical memory up to 4GB. To store | 92 | --elf32-core-headers forces generation of ELF32 headers. gdb can |
| 94 | headers in ELF64 format, specifiy "--elf64-core-headers" on the | 93 | not open ELF64 headers on 32 bit systems. So creating ELF32 |
| 95 | kexec command line additionally. | 94 | headers can come handy for users who have got non-PAE systems and |
| 95 | hence have memory less than 4GB. | ||
| 96 | iii) Specify "irqpoll" as command line parameter. This reduces driver | 96 | iii) Specify "irqpoll" as command line parameter. This reduces driver |
| 97 | initialization failures in second kernel due to shared interrupts. | 97 | initialization failures in second kernel due to shared interrupts. |
| 98 | 98 | ||
