#1 Burning Software

It is currently Fri Apr 19, 2024 9:13 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: CDB Failure
PostPosted: Thu Sep 16, 2004 11:56 pm 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I ran the TestUnitReady function without a disk in my drive thinking that would force an error. It returned a exception of 8 which means a CDB error correct? How do I look at the CDB Error structure to know what happened. I have those arrays of bytes but that doesn't mean anything to me. What am I looking for?


Top
 Profile  
 
 Post subject: Re: CDB Failure
PostPosted: Fri Sep 17, 2004 8:58 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You need to look at the m__UCHAR__Sense[...] member of the structure. It contains SCSI sense information. Complete info (17+ bytes) describing WHY the command failed. See, it's too large and complex to wrap it into the single status code... We'll be adding some sort of the macro of function extacting interesting bytes (f.e. Sense Code and Additional Sense Code Qualifier -- most signigican bytes you should be interested in). So

//
// SCSI sense positions
//

#define SCSI_SENSE_KEY_POSITION 2

#define SCSI_ASC_POSITION 12

#define SCSI_ASCQ_POSITION 13

are inside the m__UCHAR__Sense[...] array. If you'll drop me an e-mail I'll send you complete ASC/ASCQ meaning interpretation.

Thank you!

bbriggstkd wrote:
I ran the TestUnitReady function without a disk in my drive thinking that would force an error. It returned a exception of 8 which means a CDB error correct? How do I look at the CDB Error structure to know what happened. I have those arrays of bytes but that doesn't mean anything to me. What am I looking for?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group