Apparatus and method for downloading core file in a network...

Electrical computers and digital processing systems: multicomput – Network computer configuring – Reconfiguring

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C709S239000, C709S245000, C714S005110, C714S015000, C714S020000, C714S024000, C714S054000, C714S004110, C714S043000, C713S310000, C713S310000, C707S793000, C707S793000

Reexamination Certificate

active

06775698

ABSTRACT:

BACKGROUND OF THE INVENTION
This invention relates to a method and apparatus for debugging faults occurring in a router or other network device and more particularly to compressing core file and storing the compressed core file into an internal flash memory.
Network servers and other types of network devices often experience unrecoverable faults. One example of an unrecoverable fault occurs when a routine writes an invalid address value into core memory. When a process tries to access the illegal address value, a fault occurs. For example, a process may request a memory address for a status register used for conducting a direct memory access (DMA) operation. If the memory address is invalid, a fatal error occurs when the process attempts to access the memory address, which causes the router to reset.
Viewing core files is vital to resolving fatal fault errors. A core file is essentially a copy of DRAM which contains the program, program pointers, program variables, etc. The core file provides a snap-shot of the router at the time the fault occurred. DRAM is used to meet performance requirements of the system and since the contents of the DRAM are destroyed after a reset operation, the core file must be downloaded to another storage device. Routers can be equipped with some flash memory. However, due to the cost of flash memory, the flash memory is not large enough to hold all DRAM contents. Thus, the core file must be downloaded to an external server connected to the router through a local area network (LAN). The core file can then be analyzed by an engineer from a computer or workstation to identify the source of the fault.
The problem with copying a core file to an external device is that the fault condition causing the router to shutdown may be caused by a process that must be operational in order to download the core file. For example, the fault may be caused by a software error with a network protocol or LAN media drivers. If these network interface processes are not operational, the core file cannot be successfully downloaded to an external network device. Thus, in the past, a special image had to be created in order to investigate the fault. The special image is produced by modifying operating code to print out specific identified information before the fault occurs. Generating special images to locate faults requires a large amount of trial and error which is extremely time consuming. Alternatively, the router is taken out of production so that the current content of the main memory can be analyzed with a ROM monitor.
Accordingly, a need remains for a faster more reliable way to save core file after a fault condition occurs in a network device.
SUMMARY OF THE INVENTION
A network device, such as a router or switch, downloads a core file into a local flash memory. In order to increase storage capacity, the core file is compressed before being dumped into the local flash memory. The flash memory is local and internal to the network device. Because network interface elements do not have to be functional for a successful core download, the core download is faster and more reliable than existing download techniques.
In one embodiment, the network device comprises a router having a CPU for controlling packet processing operations. DRAM is used for a main memory and its contents constitutes the core file. Network interface elements are coupled between the CPU and different external networks. The network interface elements process and route the packets received from the external networks. The core file is downloaded from the main memory to local flash memory independently of these network interface elements.
During the shutdown routine, interrupts are disabled for any processing elements, such as the network interface elements, that are not needed to perform the core download. Thus, the CPU is not interrupted by routines that could generate additional fault conditions. Because these processing elements are disabled, the DRAM contents cannot be modified by other processes that might be operating after the fault condition. Thus, the core file will more accurately represent a snapshot of the system at the time the fault condition occurred.
In one embodiment of the invention, the CPU downloads the core file to the same local flash memory used for storing the router operating routine and the router shutdown routine. Router platforms may contain more than one flash memory device and different flash memory configurations. The network device can also be configured by a user to download all or part of the core file into one or more of the different flash memory devices used in the specific platform.
In order to increase download capacity, each byte of the core file is compressed using a standard compression routine. The compressed core file is written into a temporary buffer in main memory. Once the temporary buffer is full, the contents of the buffer are downloaded into the local flash memory.
The router is coupled to a network server through a LAN. The router is reset after completing the core download. The server uses a file transfer operation to access the router and read the core file from local flash memory. The core file is then analyzed to determine the state of the router when the shutdown event occurred.


REFERENCES:
patent: 4495474 (1985-01-01), Nishikawa et al.
patent: 5099485 (1992-03-01), Bruckert et al.
patent: 5241672 (1993-08-01), Slomcenski et al.
patent: 5291600 (1994-03-01), Lutz et al.
patent: 5463772 (1995-10-01), Thompson et al.
patent: 5517646 (1996-05-01), Piccirillo et al.
patent: 5533193 (1996-07-01), Roscoe
patent: 5551043 (1996-08-01), Crump et al.
patent: 5633999 (1997-05-01), Clowes et al.
patent: 5682471 (1997-10-01), Billings et al.
patent: 5682499 (1997-10-01), Bakke et al.
patent: 5734816 (1998-03-01), Niijima et al.
patent: 5764999 (1998-06-01), Wilcox et al.
patent: 5768599 (1998-06-01), Yokomizo
patent: 5815702 (1998-09-01), Kannan et al.
patent: 5872966 (1999-02-01), Burg
patent: 5903766 (1999-05-01), Walker et al.
patent: 5920257 (1999-07-01), Commerford
patent: 5935262 (1999-08-01), Barrett et al.
patent: 5943507 (1999-08-01), Cornish et al.
patent: 5974426 (1999-10-01), Lee et al.
patent: 5995745 (1999-11-01), Yodaiken
patent: 6006331 (1999-12-01), Chu et al.
patent: 6021408 (2000-02-01), Ledain et al.
patent: 6032236 (2000-02-01), Honda
patent: 6038633 (2000-03-01), Tavallaei
patent: 6067407 (2000-05-01), Wadsworth et al.
patent: 6128627 (2000-10-01), Mattis et al.
patent: 6175904 (2001-01-01), Gunderson
patent: 6202090 (2001-03-01), Simone
patent: 6226761 (2001-05-01), Berstis
patent: 6298410 (2001-10-01), Jayakumar et al.
patent: 6366987 (2002-04-01), Tzelnic et al.
patent: 6430703 (2002-08-01), Connor et al.
patent: 6553513 (2003-04-01), Swoboda et al.
patent: 6574693 (2003-06-01), Alasti et al.
patent: 6631480 (2003-10-01), Zeigler et al.
patent: 6662310 (2003-12-01), Lopez et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Apparatus and method for downloading core file in a network... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Apparatus and method for downloading core file in a network..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Apparatus and method for downloading core file in a network... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3357996

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.