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
Example Embodiment
[0065] Example 1: Software fault location
[0066] This embodiment takes a software failure that occurs 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 roasting 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 function call path and exception information. The analysis shows that the dynamic application of memory is performed in the interrupt, and the exception is finally thrown when the instruction at...
Example Embodiment
[0091] Embodiment 2: hardware fault location
[0092] This embodiment takes a hardware failure that occurs on the RSR50 router as an example. The phenomenon is that after the machine runs normally, the system throws a bus error exception at intervals. The method according to the present invention traces back the entire call path 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] From the above traceback information, it can be seen that the system throws a bus error exception at the ins...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap