Font Size: a A A

A Research Of FRAM-based Linux Kernel Crash Dump Mechanism

Posted on:2014-01-29Degree:MasterType:Thesis
Country:ChinaCandidate:B ZhangFull Text:PDF
GTID:2248330398482945Subject:Detection Technology and Automation
Abstract/Summary:PDF Full Text Request
Embedded system is closely related to the life of each one of us, the kernel, as thebrain of the whole embedded systems, its stability and security is more important.However, due to the uncertainty of the time of the collapse of the system kernel, it isoften difficult to obtain the information when the system kernel crash, however, thecollapse of the system kernel memory is great help for dump and analysis the kernellevel error, it can identify the problem when the first time the event of a failure thefirst time happens in the system, without having to reproduce the problem. Therefore,the study and research kernel crash memory dump is a very practical value andmeaning work.If kernel crash happens, when Linux system running, the kernel crash informationwas timely recorded in the FRAM, and staff can read out crash information from theFRAM in the future, which provides a strong basis for solve the kernel crash bug.This program can applications without too many restrictions on the hardware and thesystem, just add the FRAM drive to the kernel and connect the piece of iron memoryto system peripherals, which can be used to most of the Linux system to guaranteeLinux system security and stability.In this dissertation, first, analyzing the Linux kernel crash scenario, andidentifying the kernel crash memory dump starting point, and then dump the kernelcrash memory to FM25H20by the design of kernel crash dump mechanism in thisdissertation. Implement the FM25H20driver in Linux by study the SPI and MTDsubsystem in Linux, so that the kernel can successfully access FM25H20, andeventually store the crash memory into the FM25H20. Finally, test the dumpmechanism by loading the driver module, which can generated crash informationwhen insmod it into Linux, the test results show that the dump mechanism in this dissertation can successfully dump the Linux kernel crash memory to FM25H20,which meets the design requirements.
Keywords/Search Tags:Linux kernel, Linux driver, crash memory, FRAM memory
PDF Full Text Request
Related items