Human readable error messages for asc=08 "Logical unit communication failure"

This commit is contained in:
Thomas Schmitt 2009-03-18 12:45:59 +00:00
parent 4626304e39
commit f87747802a
2 changed files with 13 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2009.03.16.190745"
#define Cdrskin_timestamP "2009.03.18.124558"

View File

@ -920,6 +920,18 @@ enum response scsi_error_msg(struct burn_drive *d, unsigned char *sense,
sprintf(msg,
"Logical unit is in the process of becoming ready");
return RETRY;
case 0x08:
if (*key != 4)
break;
if (*ascq == 0)
sprintf(msg, "Logical unit communication failure");
else if (*ascq == 1)
sprintf(msg, "Logical unit communication timeout");
else if (*ascq == 2)
sprintf(msg, "Logical unit communication parity error");
else if (*ascq == 3)
sprintf(msg, "Logical unit communication crc error");
return RETRY;
case 0x09:
if (*key != 4)
break;