Method and apparatus for error recovery in computer peripheral devices
First Claim
1. In a host computer including a first device driver and a second device driver operable in response to respective first and second command sequences for causing data transfer between the host computer and respective first and second data storage devices, each data storage device generating sense bytes representative of an error condition in the data storage device, an error recovery module operably couplable to each of the device drivers, comprising:
- a sense byte correlator for receiving the sense bytes from the data storage device and for generating one of a plurality of action tokens corresponding with the received sense bytes in response thereto; and
an action executor for receiving the action token and for generating an action signal representative of one of a plurality of predetermined error recovery actions in response thereto,wherein the error recovery module sends the action signal to the device driver for facilitating error recovery.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for error recovery in various computer data storage devices that are associated with a host computer operating system includes an error recovery module that is coupled to each device driver in the host operating system. When one of the devices reports an error in the form of sense bytes to its associated device driver, the device driver sends the sense bytes and device type identification to the error recovery module. In turn, the error recovery module generates an action token based upon the sense bytes and device type, and then correlates the action token with error recovery actions. The device driver then executes the error recovery actions. Thus, a common error recovery module can be used in conjunction with a large variety of data storage devices.
-
Citations
21 Claims
-
1. In a host computer including a first device driver and a second device driver operable in response to respective first and second command sequences for causing data transfer between the host computer and respective first and second data storage devices, each data storage device generating sense bytes representative of an error condition in the data storage device, an error recovery module operably couplable to each of the device drivers, comprising:
-
a sense byte correlator for receiving the sense bytes from the data storage device and for generating one of a plurality of action tokens corresponding with the received sense bytes in response thereto; and an action executor for receiving the action token and for generating an action signal representative of one of a plurality of predetermined error recovery actions in response thereto, wherein the error recovery module sends the action signal to the device driver for facilitating error recovery. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer system, comprising:
-
a host computer; a first data storage device coupled to the host computer for data transfer therebetween, wherein the first data storage device generates a first set of sense bytes when an error occurs in the first device; a second data storage device coupled to the host computer for data transfer therebetween, wherein the second data storage device generates a second set of sense bytes different from the first when the error occurs in the second data storage device; a first device driver for controlling data transfer between the host computer and the first data storage device; a first error recovery module associated with the first device driver for generating an action signal representative of a predetermined error recovery action in response to the first set of sense bytes; a second device driver for controlling data transfer between the host computer and the second data storage device; and a second error recovery module associated with the second device driver for generating an action signal representative of a predetermined error recovery action in response to the second set of sense bytes, wherein the first error recovery module is substantially identical to the second error recovery module. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A data transfer system, comprising:
-
an operating system; a plurality of data storage devices associated with the operating system, each data storage device being responsive to a respective command sequence for transferring data between the data storage device and the operating system, wherein the command sequence of one data storage device is different from the command sequence of another data storage device; a plurality of device drivers respectively associated with the data storage devices for controlling data transfer between the data storage devices and the operating system; and error recovery means operably couplable to each of the device drivers, the error recovery means including; correlating means for receiving sense bytes from one of the data storage devices and for generating one of a plurality of action tokens corresponding with the received sense bytes in response thereto; and executor means for receiving the action token and for generating an action signal representative of one of a plurality of predetermined error recovery actions in response thereto. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. A method for error recovery during data transfer between an operating system and a plurality of data storage devices responsive to respective device drivers, each device driver generating a respective command sequence, wherein the command sequence of one data storage device is different from the command sequence of another data storage device, comprising the steps of:
-
(a) receiving sense bytes from one of the data storage devices and generating one of a plurality of action tokens corresponding with the received senses bytes in response thereto; and (b) receiving the action token and generating an action signal representative of one of a plurality of predetermined error recovery actions in response thereto. - View Dependent Claims (19)
-
-
20. A method for error recovery in an operating system having a plurality of device drivers respectively associated with a plurality of data storage devices, comprising:
-
(a) receiving sense bytes representative of an error condition from any one of a plurality of data storage devices, wherein first and second data storage devices in the plurality of data storage devices are responsive to respective first and second command sequences, and the first command sequence is different from the second command sequence; (b) correlating the sense bytes to an action token based upon the characteristics of the one data storage device; and (c) determining a recovery action for the error condition in response to the action token. - View Dependent Claims (21)
-
Specification