CN102855922A - Method for recording computer crash information in Flash - Google Patents

Method for recording computer crash information in Flash Download PDF

Info

Publication number
CN102855922A
CN102855922A CN2012103255658A CN201210325565A CN102855922A CN 102855922 A CN102855922 A CN 102855922A CN 2012103255658 A CN2012103255658 A CN 2012103255658A CN 201210325565 A CN201210325565 A CN 201210325565A CN 102855922 A CN102855922 A CN 102855922A
Authority
CN
China
Prior art keywords
flash
information
access controller
kernel
storer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012103255658A
Other languages
Chinese (zh)
Inventor
瞿小建
张元隆
郝小俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NANJING Z-COM WIRELESS Co Ltd
Original Assignee
NANJING Z-COM WIRELESS Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NANJING Z-COM WIRELESS Co Ltd filed Critical NANJING Z-COM WIRELESS Co Ltd
Priority to CN2012103255658A priority Critical patent/CN102855922A/en
Publication of CN102855922A publication Critical patent/CN102855922A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a method for recording computer crash information in a Flash. According to the method, when a failure of an access controller AC occurs, failure information of a kernel is recorded in a Flash memory of the access controller AC, and is output to a user. According to the present invention, fault information at the scene can be recorded so as to analyze and position the problem after restoring the system.

Description

A kind of method that in Flash, records deadlock information
Technical field
The present invention relates to field of wireless communication, especially abnormal problem appears in the Linux computer system, and the method for record trouble information was incited somebody to action when equipment was restarted, specifically a kind of method that records deadlock information in Flash.
Background technology
At present, field of wireless communication has specific access controller (AC) usually.Access controller (AC) will converge and access Internet from the data of different AP, finish simultaneously configuration management, the wireless user's of AP equipment the control function such as authentication, management and bandwidth, access, switching, safety.The common Faulty Analysis of on-the-spot AC gets, and the kernel crash that important process is restarted, certain causes unusually etc. is most common failure, and these faults have plenty of difficult reproduction.
Along with some existing networks of NPU platform AC are used and system level testing, system crash happens occasionally, in order to locate fast and to deal with problems, important information function when increasing at present the collapse of Flash register system, this function can record the information that needs concern effectively, such as OOM, Crash, value of register etc. during the Watchdog onset.After system restarted, application layer can be written to the information that records among the Flash in the daily record, used when dealing with problems.
Summary of the invention
The objective of the invention is to be difficult for for the common fault of on-the-spot AC the problem of reproduction, propose a kind of method that in Flash, records deadlock information.Important information when increasing the collapse of Flash register system, this function can record the information that needs concern effectively, such as OOM, Crash, value of register etc. during the Watchdog onset.After system restarted, application layer can be written to the information that records among the Flash in the daily record, used when dealing with problems.
Technical scheme of the present invention is:
A kind of method that records deadlock information in Flash, when access controller AC broke down, the failure message of record kernel exported the user in the Flash of access controller AC storer.
The present invention specifically may further comprise the steps:
(1) when the kernel of access controller AC breaks down, use the MTD technology, the key message of fault is saved in the Flash storer;
(2) system restarts, and the application layer process of access controller AC reads Flash, and the Flash information that reads is preserved; Simultaneously with the initialization of Flash content.
In the Flash storer of access controller of the present invention, reserve the kernel failure message of physical memory space storage AC.
Flash storer of the present invention position of mark in system is/dev/mtd3.
Flash of the present invention space is the 128K byte.
Beneficial effect of the present invention:
The method that records deadlock information in Flash of the present invention is recorded on-the-spot at that time failure message by system of the present invention, so that post analysis, orientation problem are recovered by system.
Description of drawings
Fig. 1 is the structural representation of Flash recording exceptional information of the present invention.
Embodiment
The present invention is further illustrated below in conjunction with drawings and Examples.
As shown in Figure 1, design of the present invention is at first to divide the 128K space in Flash, and kernel exception information is saved in Flash, and waiting system is restarted the interface that rear application call module provides, and the Flash content is read and write log system, is used for preserving.
The below is with access controller (AC), introduces and realizes kernel exception information is saved in method in the log system.
In the present embodiment, specifically comprise following step:
Step 1, the Flash of pre-defined use is/dev/mtd3 that this Flash space reaches the 128K byte.Because Flash is different from file, file can be done easily and append operation, and Flash must provide definite address or side-play amount.
Step 2 is directly called MTD when system's abnormal, before kernel is restarted information is write among the Flash.
Step 3, system kernel is restarted, and reads Flash information by application program, and the Flash information that reads writes daily record and preserve, and simultaneously with the initialization of Flash content, is used for using during record next time.
Because Flash is different from file, file can be done easily and append operation, and Flash must provide definite address or side-play amount.
dev: offset size erasesize name
mtd3: 00420000 00020000 00020000 "bak"
The part that the present invention does not relate to all prior art that maybe can adopt same as the prior art is realized.

Claims (5)

1. the method for a record deadlock information in Flash when it is characterized in that access controller AC breaks down, records the failure message of kernel in the Flash of access controller AC storer, exports the user to.
According to claim 1 in Flash the method for record deadlock information, it is characterized in that it specifically may further comprise the steps:
(1) when the kernel of access controller AC breaks down, use the MTD technology, the key message of fault is saved in the Flash storer;
(2) system restarts, and the application layer process of access controller AC reads Flash, and the Flash information that reads is preserved; Simultaneously with the initialization of Flash content.
3. the method that records deadlock information in Flash according to claim 1 is characterized in that in the Flash of access controller storer, reserves the kernel failure message of physical memory space storage AC.
4. one of according to claim 1-3 described in Flash the method for record deadlock information, it is characterized in that Flash storer position of mark in system is/dev/mtd3.
5. the method that records deadlock information in Flash according to claim 3 is characterized in that the Flash space is the 128K byte.
CN2012103255658A 2012-09-05 2012-09-05 Method for recording computer crash information in Flash Pending CN102855922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103255658A CN102855922A (en) 2012-09-05 2012-09-05 Method for recording computer crash information in Flash

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103255658A CN102855922A (en) 2012-09-05 2012-09-05 Method for recording computer crash information in Flash

Publications (1)

Publication Number Publication Date
CN102855922A true CN102855922A (en) 2013-01-02

Family

ID=47402433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103255658A Pending CN102855922A (en) 2012-09-05 2012-09-05 Method for recording computer crash information in Flash

Country Status (1)

Country Link
CN (1) CN102855922A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339213A (en) * 2016-08-16 2017-01-18 Tcl移动通信科技(宁波)有限公司 Control method and system for preventing mobile terminal from burning card when in starting up
CN108664655A (en) * 2018-05-18 2018-10-16 上海赛治信息技术有限公司 The log storing method and system of embedded system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010036109A1 (en) * 1999-12-17 2001-11-01 Sanjay Jha Mobile communication device having integrated embedded flash SRAM memory
CN1813454A (en) * 2003-04-28 2006-08-02 钱特利网络公司 System and method for mobile unit session management across a wireless communication network
CN101201770A (en) * 2006-12-15 2008-06-18 大唐移动通信设备有限公司 Method and system for storing important information before system collapse
CN101217440A (en) * 2008-01-15 2008-07-09 杭州华三通信技术有限公司 An access method and access device of AP to AC in wireless LAN

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010036109A1 (en) * 1999-12-17 2001-11-01 Sanjay Jha Mobile communication device having integrated embedded flash SRAM memory
CN1813454A (en) * 2003-04-28 2006-08-02 钱特利网络公司 System and method for mobile unit session management across a wireless communication network
CN101201770A (en) * 2006-12-15 2008-06-18 大唐移动通信设备有限公司 Method and system for storing important information before system collapse
CN101217440A (en) * 2008-01-15 2008-07-09 杭州华三通信技术有限公司 An access method and access device of AP to AC in wireless LAN

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339213A (en) * 2016-08-16 2017-01-18 Tcl移动通信科技(宁波)有限公司 Control method and system for preventing mobile terminal from burning card when in starting up
CN106339213B (en) * 2016-08-16 2020-09-22 Tcl移动通信科技(宁波)有限公司 Control method and system for preventing card burning during starting of mobile terminal
CN108664655A (en) * 2018-05-18 2018-10-16 上海赛治信息技术有限公司 The log storing method and system of embedded system

Similar Documents

Publication Publication Date Title
US20230138736A1 (en) Cluster file system-based data backup method and apparatus, and readable storage medium
CN107391269B (en) Method and equipment for processing message through persistent queue
CN109947596A (en) PCIE device failure system delay machine processing method, device and associated component
CN107315659B (en) Metadata redundancy backup method and device
EP3147797B1 (en) Data management method, node and system for database cluster
CN111078515A (en) SSD layered log recording method and device, computer equipment and storage medium
CN106598796A (en) Method for testing hardware information stability in reboot
CN106682162A (en) Log management method and device
US20220334733A1 (en) Data restoration method and related device
CN115167782B (en) Temporary storage copy management method, system, equipment and storage medium
CN106469119B (en) Data writing caching method and device based on NVDIMM
US20120102358A1 (en) Server having memory dump function and memory dump acquisition method
CN110019063B (en) Method for computing node data disaster recovery playback, terminal device and storage medium
CN107315661B (en) Deleted file recovery method and device for cluster file system
WO2020233001A1 (en) Distributed storage system comprising dual-control architecture, data reading method and device, and storage medium
CN104866388B (en) Data processing method and device
CN116501259A (en) Disk group dual-activity synchronization method and device, computer equipment and storage medium
US9984102B2 (en) Preserving high value entries in an event log
CN114020525A (en) Fault isolation method, device, equipment and storage medium
CN102855922A (en) Method for recording computer crash information in Flash
CN117131014A (en) Database migration method, device, equipment and storage medium
CN106909477A (en) A kind of storage server IO stack internal storage data guard methods and device
US9348704B2 (en) Electronic storage system utilizing a predetermined flag for subsequent processing of each predetermined portion of data requested to be stored in the storage system
CN115576769A (en) Log recording method, device, equipment and readable storage medium
CN104572350B (en) A kind of metadata processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130102