Subject: Interpreting SCSI output messages
To: None <current-users@netbsd.org>
From: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
List: current-users
Date: 07/14/2006 18:19:55
	Hello.  I have a CF card with some bad blocks on it.  I'm trying to
determine which blocks those are.  I get the following sort os messages,
which indicate that there are bad blocks, but I don't know how to extract
the block numbers from  the hex codes given.  Can anyone shed light on how
to read these hex codes, and, perhaps, tell me which digits represent the
bad block numbers?
-thanks
-Brian


sd0(umass0:0:0):  Check Condition on CDB: 0x28 00 00 06 5a ea 00 00 20 00
    SENSE KEY:  Media Error
     ASC/ASCQ:  Medium Format Corrupted

sd0(umass0:0:0):  Check Condition on CDB: 0x28 00 00 05 10 8a 00 00 20 00
    SENSE KEY:  Media Error
     ASC/ASCQ:  Medium Format Corrupted