A Networking-basee Linux Crash Dump

Author
JiangWei
Advisor
YangCan , LiJianGuang
School
South China University of Technology
Major
Computer technology
Classification
TP316.81
Degree
Master's thesis
Year
2010
Downloads
82
Citations
0

Request the full text

Abstract

Thedebuggingofprogramisalwaysoneofbusiestthingssincethecomputerhasbeenmade. Asthe technology of computer develops rapidly, the more strict requirements to the technology ofdebuggingisraised. Insomeimportanceenvironments,itisnecessarytofigureouttherootcausein first fault analysis. This is a huge challenge to traditional technology of debugging, which isconsist of reproducing bug, continuing to track and debugging step by step. An effective wayis to dump to a file when system crashes and analysis it whenever you want. As a new kernel,main stream of Linux is always lack of a crash dump. That leaded to there are many crashdump were made, but no compatibility each other. As far as, there are many crash dump thatyou can find, such as LKCD, Netdump, Diskdump, and so on, but there are also many restrictson some architectures. In this paper, we will introduce a new crash dump called VMDump,which is network-based and constructed to C/S model. Program of capturing memory runson client and the server provides a service to receive data. Client captures memory and sendsit to server when the system of client crashes. Kernel RPC is used for the communication waybetweenclientandserver,itmaketheprogrammingmoresimpleandmoreeffectivelyinnetworktraffic. VMDump is used for special platform, Egenra’s BladeFrame, it let Linux is possible toprovide a reliability service on special platform. At the same time, the dump file of VMDump iscompatible to LKCD, that means the traditional tools, such as lcrash and crash might be used toanalysis it, while no longer developing other tools. VMDump not only provides a crash dumpfor Egenera’BladeFrame, but also had a try on a new crash dump. Thus VMDump has hugeworth on practicality and theory researching.

Table of contents

Summary 5-6 Abstract 6-10 illustration directory the Form 10-11 catalog 11-12 The first chapter 12-16 1.1 purpose of this research the 12-15 1.2 contribution of this paper 15-16 Linux the Kernel About Us 16-21 2.1 the the origin Linux 16 2.2 Linux kernel structure 16-19 2.3 Linux source code composed 19-20 2.4 This chapter summarizes the collapse under 20-21 Chapter Linux memory dump 21-33 3.1 LKCD is 21-22 3.2 Netdump nbsp,; 22-25 3.2.1 Netdump, design the 22-24 3.2.2 Netdump, setting 24-25 3.3 the Diskdump 25 3.4 the Diskdump security 25-26 3.5 the Diskdump reliability 26 3.6 kernel 26 3.7 KDump 26-29 3.7.1 Kexec 27 3.7.2 KDump brief history of the development of 27-29 3.7.2.1 KDump design overview 28-29 3.8 MKdump nbsp,; the work 29-30 3.8.1 MKdump, is 29 3.8.2 Mkexec 29-30 3.8.3 the mini kernel- 30 3.8.4 mini kernel dump format 3.9 Linux 30 memory dump analysis tool 30-32 3.9.1 lcrash 30-31 3.9.2 Alicia 31 3.9.3 crash 31-32 3.10 This chapter summarizes 32-33 Chapter Linux memory model 33-40 4.1 kernel address type 33-34 4.2 physical memory description 34-36 4.3 linear address space 36-37 4.4 Linux paging model 37 -39 4.5 This chapter summarizes 39-40 Chapter the Linux notification of chain the 40-44 5.1 notification chain Notifier Chains 40 -41 5.2 notification chain type 41-42 5.3 using the notification chain 42-43 5.4 This chapter concludes are found; 43-44 <br / > Chapter VI ELF file format to introduce 44-50 6.1 ELF 44 6.2 file format 44-45 6.3 data indicates 45 6.4 ELF file header 45-47 6.5 regional head 47-48 the 6.6 symbol table 48-49 <br / 6.7 This chapter summarizes 49-50 Chapter VII of the Linux module mechanism 50-56 7.1 kernel module composed 50-51 the 7.2 module compiled the 51-52 7.3 module loaded 52-53 7.4 module uninstall 53 7.5 Find module 53 7.6 kernel symbol table the 53-54 7.7 module parameters 54-55 7.8 This chapter summarizes 55-56 eighth Chapter network-based Linux kernel crash dump 56-79 8.1 client and server communication protocol 57-59 8.2 server design 59-61 8.3 client design 61-74 the 8.3.1 memory dump device 61-63 8.3.1.1 communicate with the server 61 - 62 8.3.1.2 upper memory dump core interface 62-63 8.3.2 vmcore module 63-74 8.3.2.1 capture system crashes event 63-64 8.3.2.2 protect the crash site 64-68 8.3.2.3 memory dump file format 68-71 8.3. the 2.4 save memory image the 71-74 8.4 compile and install 74-75 8.5 system crashes 75-76 8.6 memory dump File the 76-78 8.7 This chapter summarizes 78-79 conclusion 79-81 Reference 81-84 <br / > Acknowledgements 84

Related dissertations

  1. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis
  2. The Research of CANopen Protocol Based on Embedded Systems
  3. Research and Realization of Embedded Wireless Sensor Networks
    ZhangJiPing ·Dalian Polytechnic University ·2013 ·Master's thesis
  4. Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
    WuHeSheng ·Nanjing University ·2013 ·Doctoral dissertation
  5. The Tailoring of Linux Kernel Based on Testing Coverage
    GuoRui ·University of North ·2014 ·Master's thesis
  6. Porting and Research on Android Based on CK810
    YuChaoJun ·Zhejiang University ·2014 ·Master's thesis
  7. Analysis and Debugging Reseach for the Battery Type Long Pulse Power System
  8. Reseacrh and Realization of Steam Turbine Bearing Temperature Monitoring and Recording Embedded System Based on ARM
    CuiHongLiang ·Dalian Polytechnic University ·2013 ·Master's thesis
  9. Research and Application of Multifunctional Industrial Gas Manufactuirng Monitoring System Based on ARM Platform
  10. The Design and Implement of Internet Monitoring Equipment
  11. Research and Implementation of Intelligent Handheld RFID Reader
  12. A Research of FRAM-based Linux Kernel Crash Dump Mechanism
    ZhangBo ·Chinese Geology University (Beijing) ·2013 ·Master's thesis
  13. Realization on Achieving Wineserver Mechanism in the Linux Kernel
    ZhongBaiSong ·Nanchang University ·2012 ·Master's thesis
  14. Research of Auto-tracing and Analysis in Kernel Running of Linux2.6Based on ARM Simulation Platform
  15. Driver Development of PCIE Data Acquisition Card in Embedded Linux
  16. Design of a Source-Level Linux Kernel Debugger Based on Xen
    LiChao ·Shanghai Jiaotong University ·2013 ·Master's thesis
  17. Multifunctional diary of the design and implementation of Android system based on mobile phone
    YuLong ·Northwestern University ·2012 ·Master's thesis
  18. Research and Implementation of USB Wireless LAN Driver on Embedded Linux
    GuoZuo ·Jinan University ·2012 ·Master's thesis
  19. Research and Implementation of Semi-partitioned Multiprocessor Real-time Scheduling
    XieLiTang ·Northeastern University ·2010 ·Master's thesis
  20. Implementation of Basic Support Software Platform for Loongson-3A
    ShiYang ·China Ship Research Institute ·2012 ·Master's thesis