summaryrefslogtreecommitdiff
path: root/2005/flow-accounting-ols2005/OLS2005/goyal/goyal-abstract.tex
blob: a396e49e12a7cc3dd99745830d8db7510a5af956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

%         Registration           Kdump, A Kexec based kernel crash dumping    
%                                                mechanism                    
%                              Vivek Goyal (vgoyal@in.ibm.com)                

Kdump is a kexec-based kernel crash dumping      
mechanism, which is being perceived as a       
reliable crash dumping solution for Linux. In  
this paper we discuss what kexec is and what   
it can do in general case. Kexec has been      
modified to boot a new kernel even in a system 
crash event. This paper includes the details   
about the changes made in kexec to handle the  
panic situations. Given the fact that kexec    
enables booting into a new kernel while        
preserving the memory contents in a crash      
scenario, kdump uses this feature to capture   
the kernel crash dump. Physical memory layout  
and processor state are encoded in ELF Core    
format and these headers are stored in a       
reserved section of memory. Upon a crash, new  
kernel boots up from reserved memory and       
provides a platform to retrieve stored elf     
headers and capture the crash dump. We briefly 
discuss elf core header creation and dump      
capture mechanism and also detail how to       
configure and use kdump feature.               



personal git repositories of Harald Welte. Your mileage may vary