WikiPendium

(beta)

XHDIErrorCodes

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-239-52-235.compute-1.amazonaws.com

XHDI Error Codes


The error code lists given below are not meant to be exhaustive.

TOS Error Codes


Error Code Value Comment
E_OK 0 OK
ERROR -1 unspecified error
EDRVNR -2 device not responding
EUNDEV -15 unknown device
EINVFN -32 invalid function number
EACCDN -36 access denied, device is reserved
EDRIVE -46 invalid drive number

SCSI Error Codes

(ranging from -200 to -455)

(-200 - N): SCSI error code N (the `Additional Sense Code', Byte 12 in the `Extended Sense Format', see Appendix B in `draft proposed American National Standard for information systems - Revision 11a - SCSI-3 Primary Commands, 28 March 1997)

IDE Error Codes

(ranging from -456 to -711)

(-456 - N): IDE error code N (value of the IDE error register)

Note: obviously, you can get SCSI error codes only for ACSI or SCSI devices. For other device types like IDE drives the following assignments may be used:

Bit in IDE Error Register Meaning SCSI Error XHDI Error
1 Track 0 not found $06 -206
0 DAM not found $13 -219
4 ID-Field not found $12 -218
7 Bad block mark $10 -216
6 Uncorrectable error $11 -217
2 Command aborted $20 -232
5 Media Change $28 -240
3 Media Change requested $5A -290

(it is recommended to test the bits in the above order).

Other Error Codes

For other devices (like disk drives connected to the floppy controller) there may be other, not yet defined, error codes.

See Also

XHDI, XHDIFunctionCallingProcedure

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]