Skip to content

Commit d58831e

Browse files
Vivek GoyalLinus Torvalds
authored andcommitted
[PATCH] kdump documentation update to introduce use of irqpoll
o Specify "irqpoll" command line option which loading second kernel. This helps in reducing driver initialization failures in second kernel due to shared interrupts. o Enabled LAPIC/IOAPIC support for UP kernels in second kernel. This reduces the chances of devices sharing the irq and hence reduces the chances of driver initialization failures in second kernel. o Build a UP capture kernel and disabled SMP support. Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent b089f4a commit d58831e

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

‎Documentation/kdump/kdump.txt‎

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,33 +66,39 @@ SETUP
6666
CONFIG_PHYSICAL_START=0x1000000
6767
c) Enable "/proc/vmcore support" (Optional, in Pseudo filesystems).
6868
CONFIG_PROC_VMCORE=y
69-
70-
Note: Options a) and b) depend upon "Configure standard kernel features
71-
(for small systems)" (under General setup).
72-
Option a) also depends on CONFIG_HIGHMEM (under Processor
69+
d) Disable SMP support and build a UP kernel (Until it is fixed).
70+
CONFIG_SMP=n
71+
e) Enable "Local APIC support on uniprocessors".
72+
CONFIG_X86_UP_APIC=y
73+
f) Enable "IO-APIC support on uniprocessors"
74+
CONFIG_X86_UP_IOAPIC=y
75+
76+
Note: i) Options a) and b) depend upon "Configure standard kernel features
77+
(for small systems)" (under General setup).
78+
ii) Option a) also depends on CONFIG_HIGHMEM (under Processor
7379
type and features).
74-
Both option a) and b) are under "Processor type and features".
80+
iii) Both option a) and b) are under "Processor type and features".
7581

7682
3) Boot into the first kernel. You are now ready to try out kexec-based crash
7783
dumps.
7884

7985
4) Load the second kernel to be booted using:
8086

8187
kexec -p <second-kernel> --crash-dump --args-linux --append="root=<root-dev>
82-
maxcpus=1 init 1"
88+
init 1 irqpoll"
8389

8490
Note: i) <second-kernel> has to be a vmlinux image. bzImage will not work,
8591
as of now.
8692
ii) By default ELF headers are stored in ELF32 format (for i386). This
8793
is sufficient to represent the physical memory up to 4GB. To store
8894
headers in ELF64 format, specifiy "--elf64-core-headers" on the
8995
kexec command line additionally.
90-
iii) For now (or until it is fixed), it's best to build the
91-
second-kernel without multi-processor support, i.e., make it
92-
a uniprocessor kernel.
96+
iii) Specify "irqpoll" as command line parameter. This reduces driver
97+
initialization failures in second kernel due to shared interrupts.
9398

9499
5) System reboots into the second kernel when a panic occurs. A module can be
95-
written to force the panic, for testing purposes.
100+
written to force the panic or "ALT-SysRq-c" can be used initiate a crash
101+
dump for testing purposes.
96102

97103
6) Write out the dump file using
98104

@@ -131,5 +137,5 @@ TODO
131137
CONTACT
132138
=======
133139

134-
Hariprasad Nellitheertha - hari at in dot ibm dot com
135140
Vivek Goyal (vgoyal@in.ibm.com)
141+
Maneesh Soni (maneesh@in.ibm.com)

0 commit comments

Comments
 (0)