Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Vivek Goyal and committed by
Linus Torvalds
d58831e4 b089f4a6

+16 -10
+16 -10
Documentation/kdump/kdump.txt
··· 66 66 CONFIG_PHYSICAL_START=0x1000000 67 67 c) Enable "/proc/vmcore support" (Optional, in Pseudo filesystems). 68 68 CONFIG_PROC_VMCORE=y 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 69 75 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 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 73 79 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". 75 81 76 82 3) Boot into the first kernel. You are now ready to try out kexec-based crash 77 83 dumps. ··· 85 79 4) Load the second kernel to be booted using: 86 80 87 81 kexec -p <second-kernel> --crash-dump --args-linux --append="root=<root-dev> 88 - maxcpus=1 init 1" 82 + init 1 irqpoll" 89 83 90 84 Note: i) <second-kernel> has to be a vmlinux image. bzImage will not work, 91 85 as of now. ··· 93 87 is sufficient to represent the physical memory up to 4GB. To store 94 88 headers in ELF64 format, specifiy "--elf64-core-headers" on the 95 89 kexec command line additionally. 96 - iii) For now (or until it is fixed), it's best to build the 97 - second-kernel without multi-processor support, i.e., make it 98 - a uniprocessor kernel. 90 + iii) Specify "irqpoll" as command line parameter. This reduces driver 91 + initialization failures in second kernel due to shared interrupts. 99 92 100 93 5) System reboots into the second kernel when a panic occurs. A module can be 101 - written to force the panic, for testing purposes. 94 + written to force the panic or "ALT-SysRq-c" can be used initiate a crash 95 + dump for testing purposes. 102 96 103 97 6) Write out the dump file using 104 98 ··· 137 131 CONTACT 138 132 ======= 139 133 140 - Hariprasad Nellitheertha - hari at in dot ibm dot com 141 134 Vivek Goyal (vgoyal@in.ibm.com) 135 + Maneesh Soni (maneesh@in.ibm.com)