Drive error logging

Data processing: measuring – calibrating – or testing – Measurement system – History logging or time stamping

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C714S005110

Reexamination Certificate

active

06493656

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates generally to disk fault correction techniques for storage devices and, more particularly, to a method of logging commands and error condition codes associated with drive errors.
2. Description of Related Art
The vast majority of personal computer (PC) systems available today come equipped with a peripheral data storage device such as a hard disk (HD) drive. Hard disks are comprised of rigid platters, made of aluminum alloy or a mixture of glass and ceramic, covered with a magnetic coating. Platters vary in size and hard disk drives generally come in two form factors, 5.25 in or 3.5 in. Typically, two or more platters are stacked on top of each other with a common spindle that turns the whole assembly at several thousand revolutions per minute. There is a gap between the platters, making room for a magnetic read/write head, mounted on the end of an actuator arm. There is a read/write head for each side of each platter, mounted on arms which can move them radially. The arms are moved in unison by a head actuator, which contains a voice coil—an electromagnetic coil that can move a magnet very rapidly.
Each platter is double-sided and divided into tracks. Tracks are concentric circles around the central spindle. Tracks physically above each other on the platters are grouped together into a cylinder. Cylinders are further divided into sectors. Depending on the disk drive vendor, a sector is typically comprised of 512 bytes of user data, followed by a number or number of cross-check bytes, a number of error correction code (ECC) bytes and other vendor specific diagnostic information. Thus, these devices are complex electro-mechanical devices and, as such, can suffer performance degradation or failure due to a single event or a combination of events.
There are generally two general classes of failures that can occur in disk drives. The first class is the hard or catastrophic type of failure which causes the drive to quickly and unpredictably fail. These failures can be caused by static electricity, handling damage, or thermal-related solder problems. The second class of failures result from the the gradual decay of other electrical and/or mechanical components within the drive after it is put in service.
Drive failure prediction techniques for this second class of failures are discussed in U.S. Pat. No. 5,828,583 to Bush et al. and U.S. Pat. No. 5,761,411 to Teague et al.
With respect to the first class of failures, the nature of these failures causes them to be very difficult to predict. However, even if prediction is impractical there is still a need to understand the root cause of the hard failure to determine if there is a design or manufacturing defect present in the drives.
Typically, the determination of a hard failure is performed in a lab of the manufacturer after the defective drive has been returned. If the drive is at all operable, certain tests can be performed on the drive to exercise a wide array of operations in an attempt to recreate the failure. Laboratory equipment, such as an ATA bus analyzer, is used to capture information pertaining to the operations and the sequence of operations in order to have a history of information for diagnosing the failure. If the failure can be recreated, the root cause of the problem can be understood.
However, the hard failures are very difficult to recreate. Certain hard failures render the drive fully inoperable. Other hard failures may render the platter or media inoperable while the electronics still function. Still other failures may never be recreated because of certain environmental conditions that are not known.
Therefore, there is a need for an improved means for diagnosing hard failures in disk drives.
SUMMARY OF THE INVENTION
According to a preferred embodiment, the present invention includes a method, apparatus and computer system for logging errors of a storage device. The storage device is capable of executing commands received from a host processor and detecting errors in the performance of those commands. The storage device also includes a non-volatile memory or media for storing data and other information as described herein. As commands are received by the storage device a list of previously executed commands is maintained by the storage device. When an error is detected by the storage device, a set of error conditions, such as the ATA task file read registers are stored in the non-volatile memory along with the command list to create an error log. The error log is a useful source of diagnostic information for errors that are difficult to replicate on the storage device.
The storage device is responsive to a retrieve error log command for providing the error logs to a host computer when the command is received. A predetermined number of error logs are maintained by the storage device in a circular buffer with a pointer providing an indication as to which error log is most recent. Additionally, each command has associated with it a time stamp indicating the time when the command was received by the storage device and each error has a time stamp associated with it indicating when the error was detected by the storage device. Additionally, since the storage device is capable of operating in a number of states, such as SLEEP, STAND-BY, ACTIVE/IDLE, and OPERATING state at the time of the error is also stored in each error log. Additionally, the storage device maintains a running count of the number of errors detected.


REFERENCES:
patent: 3704363 (1972-11-01), Salmassy et al.
patent: 4268905 (1981-05-01), Johann et al.
patent: 4348761 (1982-09-01), Berger
patent: 4725968 (1988-02-01), Baldwin et al.
patent: 4841389 (1989-06-01), Hoyt et al.
patent: 4979055 (1990-12-01), Squires
patent: 5067128 (1991-11-01), Nakane
patent: 5361346 (1994-11-01), Panesar
patent: 5367670 (1994-11-01), Ward et al.
patent: 5371882 (1994-12-01), Ludlam
patent: 5390187 (1995-02-01), Stallmo
patent: 5410439 (1995-04-01), Egbert et al.
patent: 5422890 (1995-06-01), Klingsporn et al.
patent: 5450579 (1995-09-01), Johnson
patent: 5469463 (1995-11-01), Polich et al.
patent: 5471617 (1995-11-01), Farrand et al.
patent: 5483641 (1996-01-01), Jones et al.
patent: 5500940 (1996-03-01), Skeie
patent: 5539592 (1996-07-01), Banks et al.
patent: 5557183 (1996-09-01), Bates et al.
patent: 5559958 (1996-09-01), Farrand et al.
patent: 5566316 (1996-10-01), Fechner et al.
patent: 5568608 (1996-10-01), Shannon
patent: 5611069 (1997-03-01), Matoba
patent: 5617425 (1997-04-01), Anderson
patent: 5737519 (1998-04-01), Abdelnour et al.
patent: 5761411 (1998-06-01), Teague et al.
patent: 5819109 (1998-10-01), Davis
patent: 5828583 (1998-10-01), Bush et al.
patent: 5917724 (1999-06-01), Brousseau et al.
patent: 5935260 (1999-08-01), Ofer
patent: 2001/0042225 (2001-11-01), Cepulis
Predictive Failure Analysis,: IBM Corporation, believed to be made public Nov. 1994.
Blachek, Michael D. and Iverson, David E.; “Predictive Failure Analysis-Advanced Condition Monitoring,” IBM Corporation, believed to be made public Nov. 1994.
Colegrove, Dan; “Informational Exception Condition Reporting,” ATA-3 Proposal (X3T10/95-111r1), IBM Corporation; Mar. 1, 1995.

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

Drive error logging does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Drive error logging, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Drive error logging will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2941028

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