Patent US6202090B1 successfully refreshed from Google Patents.
← Back to Patent Explorer
US6202090B1 Expired / Lapsed US ⏱️ 0.0 years remaining

Apparatus and method for downloading core file in a network device

Assignee: Cisco Technology Inc
•
Filing: 1997-12-11
•
Granted: 2001-03-13
•
Expires: 2017-12-11
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A router stores core file into a local flash memory after detecting a shutdown event. In order to increase the amount of core file data that can be stored, the core file is first compressed before being downloaded into the local flash memory. Because the flash memory is local, the network device is not required to dump the core file over an external network to an external network server. Thus, network interface elements in the network device do not have to be functional in order for the core dump to be successful. During the shutdown routine, interrupts are disabled for all processing elements that are not needed to perform the core download. The core dump is therefore faster and more reliable and allows more effective system debugging than present core download procedures.

Inventors

  • 👤 Giovanni Di Simone

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-08 12:29
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/07; G06F11/0703; G06F11/0766; G06F11/0778; G06F11/0706; G06F11/0709; G06F11/073; H; H04; H04L; H04L41/00; H04L41/06; H04L41/0631; H04L41/0681; Y; Y10; Y10S; Y10S707/00; Y10S707/99951; Y10S707/99952; Y10S707/99953

Claims Analysis

Total Claims: 27
Claim 1
Independent Claim 216 words
A method for saving an entire core file in a network routing or switching device connected to an external network by an external interface, comprising: monitoring the network device for a shutdown event; conducting a shutdown routine after detecting the shutdown event, the shutdown routine avoiding all unnecessary internal and network operations while copying the entire core file including the values of stack pointers, routine variables, a last operating instruction, values set by the last operating instruction, status register addresses, program counters and any other data stored in a main memory into a local memory internal to the network device and coupled directly to the main memory by a same internal bus that couples the local memory to a central processing unit while avoiding transferring any of the core file through the external interface to the external network and preventing transfer of the core file to any other device not coupled directly to the internal bus or to any device that needs a driver to receive data from the main memory; and storing the core file that identifies a cause of the shutdown event from the main memory to the local memory before completing the shutdown event, before resetting the network device and without using any external interface or device driver to store the core file.
Claim 2
Independent Claim 216 words
A method for saving an entire core file in a network routing or switching device connected to an external network by an external interface, comprising: monitoring the network device for a shutdown event; conducting a shutdown routine after detecting the shutdown event, the shutdown routine avoiding all unnecessary internal and network operations while copying the entire core file including the values of stack pointers, routine variables, a last operating instruction, values set by the last operating instruction, status register addresses, program counters and any other data stored in a main memory into a local memory internal to the network device and coupled directly to the main memory by a same internal bus that couples the local memory to a central processing unit while avoiding transferring any of the core file through the external interface to the external network and preventing transfer of the core file to any other device not coupled directly to the internal bus or to any device that needs a driver to receive data from the main memory; and storing the core file that identifies a cause of the shutdown event from the main memory to the local memory before completing the shutdown event, before resetting the network device and without using any external interface or device driver to store the core file.
Claim 3
Dependent Claim 27 words
A method according to claim 1 wherein the local memory comprises either local flash memory or boot flash memory and the main memory comprises random access memory.
Claim 4
Dependent Claim 21 words
A method according to claim 1 including compressing the core file and copying the compressed core file into the local memory.
Claim 5
Dependent Claim 46 words
A method according to claim 3 including the following: resetting the network device; preallocating a temporary buffer in a main memory comprising dynamic random access memory for temporarily storing the core file; and storing the core file in the preallocated temporary buffer of the main memory.
Claim 6
Dependent Claim 25 words
A method according to claim 4 including storing a network device operating routine, the shutdown routine and the core file all in the local memory.
Claim 7
Dependent Claim 65 words
A method according to claim 3 including the following: reading portions of the core file; compressing the portions of the core file using a compression routine; storing the compressed core file into a temporary buffer in a main memory comprising dynamic random access memory; and writing all the compressed core file in the temporary buffer into the local memory when the temporary buffer is full.
Claim 8
Dependent Claim 45 words
A method according to claim 1 including disabling interrupts from all processing elements in the network device except those processing elements necessary to download the core file into the local memory including disabling interrupts and disabling drivers for all devices coupled to the network device.
Claim 9
Dependent Claim 43 words
A method according to claim 7 wherein disabling the interrupts comprises increasing the interrupt priority level for a central processing unit so that interrupts from other processing elements in the network device are ignored while copying the core file into the local memory.
Claim 10
Dependent Claim 26 words
A method according to claim 1 wherein the shutdown event comprises a fatal error that prevents the network device from effectively communicating with the external server.
Claim 11
Dependent Claim 31 words
A method according to claim 1 wherein the network device comprises a router for routing data over a local area network coupled to an external server through the local area network.
Claim 12
Dependent Claim 47 words
A method according to claim 10 further comprising the steps of: resetting the router after the shutdown event; accessing the router through the external server; and transferring the core file from the local memory of the network device to the external server through an internet protocol operation.
Claim 13
Independent Claim 160 words
A system for identifying faults in a network router or switch device coupled to one or more external networks through network interface elements, comprising: a CPU controlling packet processing operations in the network device; a main memory coupled to the CPU for storing a core file in the network device; the network interface elements coupled to the CPU of the network device for processing packets from the external networks; a local memory coupled to the CPU storing an operating routine for the network device and a shutdown routine that is accessed by the CPU after detecting the shutdown event, the shutdown routine disabling access to the CPU by all devices that use drives to communicate with the CPU and disabling all the network interface elements while the CPU copies the core file from the main memory into the local memory after detecting a shutdown event; and an exception handler that jumps into the shutdown routine after detecting the shutdown event.
Claim 14
Independent Claim 160 words
A system for identifying faults in a network router or switch device coupled to one or more external networks through network interface elements, comprising: a CPU controlling packet processing operations in the network device; a main memory coupled to the CPU for storing a core file in the network device; the network interface elements coupled to the CPU of the network device for processing packets from the external networks; a local memory coupled to the CPU storing an operating routine for the network device and a shutdown routine that is accessed by the CPU after detecting the shutdown event, the shutdown routine disabling access to the CPU by all devices that use drives to communicate with the CPU and disabling all the network interface elements while the CPU copies the core file from the main memory into the local memory after detecting a shutdown event; and an exception handler that jumps into the shutdown routine after detecting the shutdown event.
Claim 15
Dependent Claim 22 words
A system according to claim 12 wherein the main memory comprises dynamic random access memory and the local memory comprises flash memory.
Claim 16
Dependent Claim 61 words
A system according to claim 13 wherein the flash memory comprises one or more flash memory devices, such as a local flash memory and a boot flash memory, the flash memory storing a boot routine, the operating routine, the shutdown routine, and a flash core copy routine that loads the core file into the flash memory when the shutdown event occurs.
Claim 17
Dependent Claim 61 words
A system according to claim 12 wherein the shutdown routine disables interrupts from the network interface elements before downloading the core file into the local memory to allow storage of the core file when network interface processes are not operational and to preserve a more accurate representation of a state of the network device at the time of the shutdown event.
Claim 18
Dependent Claim 40 words
A system according to claim 12 including a compression routine located in the local memory, the CPU compressing the core file in the main memory using the compression routine and then storing the compressed core file in the local memory.
Claim 19
Dependent Claim 23 words
A system according to claim 12 including a console coupled to the network device for accessing the core file in the local memory.
Claim 20
Dependent Claim 33 words
A system according to claim 12 including an external network server coupled through a local area network to one of the network interface elements for accessing the core file in the local memory.
Claim 21
Dependent Claim 15 words
A system according to claim 18 wherein the external network server comprises a personal computer.
Claim 22
Independent Claim 160 words
A method for saving a core file in a network router for routing data in a network, the network router coupled to an external network via network interface elements, comprising: monitoring the network router for a fatal error; disabling interrupts from the network interface elements in the router after detecting the fatal error; reading bytes of the core file in a main memory one at a time; compressing the bytes; storing the compressed bytes into a temporary buffer in the main memory; writing blocks of the compressed bytes into a local memory when the temporary buffer in the main memory is full; resetting the router after downloading the core file into the local memory; and outputting the core file from the local flash memory through the network interface elements to an external network device coupled to the router, the core file output from the local flash memory containing a state of the router at the time the fatal error occurred.
Claim 23
Independent Claim 160 words
A method for saving a core file in a network router for routing data in a network, the network router coupled to an external network via network interface elements, comprising: monitoring the network router for a fatal error; disabling interrupts from the network interface elements in the router after detecting the fatal error; reading bytes of the core file in a main memory one at a time; compressing the bytes; storing the compressed bytes into a temporary buffer in the main memory; writing blocks of the compressed bytes into a local memory when the temporary buffer in the main memory is full; resetting the router after downloading the core file into the local memory; and outputting the core file from the local flash memory through the network interface elements to an external network device coupled to the router, the core file output from the local flash memory containing a state of the router at the time the fatal error occurred.
Claim 24
Dependent Claim 110 words
A computer-readable media comprising a program for downloading a core file in a network device connected to an external network via an external interface, the program comprising instructions for: monitoring the network device for a shutdown event; conducting a shutdown routine after detecting the shutdown event, the shutdown routine copying the core file into a local memory internal to the network device instead of transferring the core file through the external interface to the external network; allowing a user to select either local flash memory or boot flash memory as the local memory; and storing the core file in the local memory that identifies a cause of the shutdown event.
Claim 25
Dependent Claim 110 words
A computer-readable media comprising a program for downloading a core file in a network device connected to an external network via an external interface, the program comprising instructions for: monitoring the network device for a shutdown event; conducting a shutdown routine after detecting the shutdown event, the shutdown routine copying the core file into a local memory internal to the network device instead of transferring the core file through the external interface to the external network; allowing a user to select either local flash memory or boot flash memory as the local memory; and storing the core file in the local memory that identifies a cause of the shutdown event.
Claim 26
Dependent Claim 47 words
A computer-readable media according to claim 21 wherein the program further includes instructions for: preallocating a temporary buffer in a main memory comprising dynamic random access memory for temporarily storing the core file; and storing the core file in the preallocated temporary buffer of the main memory.
Claim 27
Dependent Claim 65 words
A computer-readable media according to claim 22 wherein the program further includes instructions for: reading portions of the core file; compressing the portions of the core file using a compression routine; storing the compressed core file into the temporary buffer in the main memory; and writing all the compressed core file in the temporary buffer into the local memory when the temporary buffer is full.

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2004-03-12 2004-09-11 2005-03-13 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2008-03-12 2008-09-11 2009-03-13 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2012-03-12 2012-09-11 2013-03-13 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag