CPU abnormal point positioning diagnosis method based MIPS structure
A diagnostic method and abnormal point technology, applied in the field of data communication, can solve problems such as hardware fault location, fault diagnosis and location inconvenience, retrospective call function, etc., to achieve accurate fault location, accurate function backtracking effect, and convenient fault diagnosis.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] Embodiment 1: Software fault location
[0066] This embodiment takes a software failure occurring on the RSR50 router as an example. The phenomenon is that the RSR50 router occasionally throws a TLB exception TLB Invalid in the case of a baking machine, that is, a null pointer exception. According to the method of the present invention, it can be traced back The entire function call path when a TLB exception occurs is as follows:
[0067] Exception: TLB invalid
[0068] EPC: 0x3EB71C
[0069] Tracing:
[0070] _free_pages
[0071] ←_alloc_free_pages
[0072] ←kemel_mem_alloc
[0073] ←alloc_skb
[0074] ←pq2_fcc_sync_rx_isr
[0075] ←cpm_sync_recv_data
[0076] ←pq2_cpm_sync_isr
[0077] ←irq_do_action_cpu
[0078] ←Interrupt_Process_Loop_0
[0079] From the above, you can see the calling path and exception information of the function. The analysis shows that the dynamic application of memory is performed in the interrupt, and f...
Embodiment 2
[0091] Embodiment 2: hardware fault location
[0092] This embodiment is an example of a hardware fault that occurs on the RSR50 router. The phenomenon is that the system throws a bus error exception after a period of time after the machine runs normally. According to the method of the present invention, the entire calling path is traced back as follows:
[0093] Exception: Bus Error
[0094] EPC: 0x7cD030
[0095] Tracing:
[0096] sys_touch_watchdog
[0097] ←CE1_tx_start
[0098] ←CE1_intf_output
[0099] ←send_keepalive_packet
[0100] ←outp_packet_process
[0101] ←netif_send
[0102] ←ip_output
[0103] ←iplocal_send
[0104] ←raw_sendmsg
[0105] ←sock_sendmsg
[0106] ←sys_sendmsg
[0107] ← sendmsg
[0108] ←ospf_packet_send
[0109] ← ospf_packet_write
[0110] ← ospf_hello_send
[0111] ←ospf_hello_timer
[0112] ←ospf_start
[0113] ← ospf_thread
[0114] ←TCC_Task_Shell
[0115] As can be seen ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com