Disk Errors from various controllers ==================================== Mapping of Disk Errors from one controller to others ============================================================================================================ 8271 Errors IDE Errors SCSI Errors 1770 Errors ----------- ---------- ----------- ----------- &00 Ok - &00 Ok - &00 Ok - &00 Ok &02 Scan met equal - - - &04 Scan met not equal - - - &06 unused - - - Corrupted data: &08 Clock error - &80 Bad block read - &19 Bad track read &0A Late DMA - &04 Abort - &2F Abort - &0C ID CRC error - &01 Address mark not found - &12 Address mark not found &0E Data CRC error - &40 Uncorrectable data error - &11 Data CRC error - &08 CRC error Drive errors: &10 Drive not ready - - &04 Drive not ready - &12 Disk write protected - - &40 Write protected - &40 Write protected &14 Track 0 not found - &02 Track 0 not found - &06 Track 0 not found - &16 Write error - &20xx Write fault - &03 Write fault - Data/media absence: &18 Sector not found - &10 Sector/ID mark not found - &10 Sector not found - &10 Sector not found &1A unused - &20 Media Changed - &28 Cartidge changed - &1C unused - &08 Media Change Request - &02 Drive door open - &1E Drive not present/empty - - &01 No index &05 Malformed SCSI command &14 Seek error - Sector not found &15 Seek error - Track not found &18 Correctable data error &1A Format error &1C Unformatted or bad track &20 Bad SCSI command &21 Bad disc address &23 Volume error &24 Bad argument &25 Bad drive &27 Unsupported SCSI command &2C Error count overflow &30 Controller RAM error &31 Controller CRC error &33 Controller polynominal error &48 CRC error (floppy) &50 Sector not found (floppy) &7F Unknown SCSI result ============================================================================================================ IDE --- 8271 Errors SCSI Errors Error: ----------- ----------- &80 BBLK : Bad block mark detected in the sector ID field - &08 Disk Error 08 - &19 Bad track read &40 UNC : Uncorrectable data error - &0E Data CRC error - &11 Data CRC error &20 MC : Media Changed - User has inserted a new disk - &1A Disk Error 1A - &28 Cartridge changed &10 IDNF : Requested sector's ID field not found - &18 Sector not found - &10 Sector not found &08 MCR : Media Change Request - 'Eject' button pressed - &1C Disk Error 1C - &02 Drive door open &04 ABRT : Command aborted due to error or invalid command - &0A Disk Error 0A - &2F Abort &02 T0NF : Track 0 not found or Drive Empty if MCR set - &14 Track 0 not found - &06 Track 0 not found &01 AMNF : Data address mark not found after finding ID field - &0C ID CRC error - &12 Address mark n/f Status: &80 BSY : Drive busy &40 DRDY : Drive ready &20 DWF : Drive Write Fault - &16 Write error - &03 Write fault &10 DSC : Drive Seek Complete - '1' when drive not seeking &08 DRQ : Data Request - '1' when drive ready to transfer data &04 CORR : Correctable error has been corrected &02 IDX : Index pulse &01 ERR : Error in error register ============================================================================================================ SCSI 8271 Errors IDE Errors ---- ----------- ---------- &00 Ok - &00 Ok - &00 Ok &01 No index - is drive formatted? - - &02 Drive door open/Seek error/Seek not completed - &1C Disk error 1C - &08 Media Change Request &03 Write fault/Media error (disc dirty) - &16 Write error - &20xx Write fault &04 Drive not ready - &10 Drive not ready - &05 Malformed SCSI command - - &06 Track 0 not found - &14 Track 0 not found - &02 Track 0 not found &10 ID CRC error - ECC error in ID field - &0C ID CRC error - &01 Address mark not found &11 Data CRC error - ECC error in data field - &0E Data CRC error - &40 Uncorrectable data error &12 Address mark not found - &0C ID CRC error - &01 Address mark not found &13 unused - - &14 Seek error - Sector not found - &18 Sector not found - &10 Sector/ID mark not found &15 Seek error - Track not found - &18 Sector not found - &10 Sector/ID mark not found &16 unused - - &17 unused - - &18 Correctable data error - - &19 Bad Track flag set in track accessed - &08 Disk Error 08 - &80 Bad block read &1A Format error - - &1B unused &1C Unformatted or bad track &20 Invalid command to controller - - &21 Illegal disc address - beyond end of drive - &18 Sector not found - &22 unused - - &23 Volume error - - &24 Invalid parameter to controller - - &25 Illegal drive number - - &26 unused - - &27 Unsupported command - - &28 Cartridge changed - &1A Disk error 1A - &20 Media changed &29 &2A &2B &2C Error count overflow &2D &2E &2F Abort - &0A Disk error 0A - &04 Abort &30 Controller RAM error - - &31 Controller program memory CRC error - - &33 Controller polynominal error - - &40 Write protected (FDC &40) - &12 Write protected - &48 CRC error (FDC &08) - &0E Data CRC error - &40 Uncorrectable data error &50 Sector not found (FDC &10) - &18 Sector not found - &10 Sector/ID mark not found &7F Unknown SCSI result - - ============================================================================================================ Numerical Lists of Disk Errors from various controllers ======================================================= 8271 Errors ----------- &00 Successful completion &02 Success, scan met equal (not possible on BBC) &04 Success, scan met not equal (not possible on BBC) &06 unused &08 Clock error [Bad block read] [Unrecognised format] -+ &0A Late DMA/Late ISR (not possible on BBC) [Abort] | Data &0C ID CRC error | error &0E Data CRC error -+ &10 Drive not ready -+ &12 Disk write protected | Drive &14 Track 0 not found | error &16 Write error | &17 [Bad address/memory access fault] -+ &18 Sector not found -+ &19 [Bad drive number] | &1A unused [Media changed] | Data &1B [Duplicate disk/already mounted] | &1C unused [Media change request] | absent &1D [Bad image file name] | &1E Drive not present/drive empty | &1F [Disk not mounted on drive] -+ Errors in [brackets] are extensions to translate other controller errors to 8271 errors. ============================================================================================================ IDE Errors ---------- Error &80 Bad block &40 Uncorrectable data error &20 Media changed &10 Sector Not Found/ID mark not found &08 Media Change Requested &04 ABRT Abort &02 Track 0 not found/No media present &01 Address mark not found Status &80 Busy &40 Drive Ready &20 Drive Write Fault &10 Drive Seek Complete &08 Data Request &04 Error Corrected &02 Index pulse &01 Error in reg 1 ============================================================================================================ SCSI Errors ----------- Some Acorn documents list SCSI errors in the range &20-&2F, and some documents list them in the range &60-&6F. The hardware controller documents list then in the &20-&2F range. What is not made clear is that bit 6 is used to indicate if the error is from the hard drive controller or the floppy controller. Floppy errors are the same as hard drive errors, ORed with &40. Floppy errors are also the 1770 status byte ORed with &40. This lists the source for the information in [brackets]. &00 Ok &01 No index - is the drive formatted? [ADFS/Winchester/Xebec] &02 Not ready - drive door open [LVFS]/Seek error [ADFS/Winchester]/Seek not completed [Xebec] &03 Write fault [ADFS/Winchester/Xebec]/Media error (disc dirty) [LVFS] &04 Drive not ready [Master/Xebec] &05 Malformed SCSI command [LVFS]/unused [Xebec] &06 Track 0 not found [Xebec] Floppy Errors &40 Write protected [Master] &48 CRC error [ADFS/Master/Dabhand] &50 Sector not found [ADFS/Master/Dabhand] &10 ID CRC error - ECC error in ID field (sector not found) [Xebec] &11 Data CRC error - ECC error in data field [ADFS/Xebec] &12 Address mark not found (sector found but no data) [ADFS/Winchester/Xebec] &13 unused [Xebec] &14 Seek error [ADFS/Winchester] - Sector not found - correct cylinder, but no sector [Xebec] &15 Seek error [ADFS/Winchester] - Track not found [Xebec] &16 unused [Xebec] &17 unused [Xebec] &18 Correctable data error [Xebec]/Data CRC error [ADFS/Winchester] &19 Bad track - Bad Track flag set in track accessed [Xebec]/CRC error in verify &1A Format error [ADFS/Winchester] - track not formatted/wrong interleave/ID ECC error [Xebec] &1B unused &1C Unformatted or bad format &1D unused &1E unused &1F unused Floppy Errors &20 Invalid command to controller [ADFS/Winchester/Xebec] &60 Bad command [ADFS/Master/Dabhand] &21 Illegal disc address [ADFS/Winchester/Xebec] &61 Bad disc address [ADFS/Master/Dabhand] &22 unused &23 &63 Volume error [ADFS/Master/Dabhand] &24 Invalid parameter to controller [ADFS/Winchester] &64 Bad argument &25 Illegal drive number [ADFS/Winchester]) &65 Bad drive [ADFS/Master/Dabhand] &26 unused &27 &67 Unsupported command [Code] &28 Cartridge changed &29 &2A &2B &2C Error count overflow &2D &2E &2F &6F Abort (Escape) [Master] &30 Controller RAM error [Xebec]) &31 Controller program memory CRC error [Xebec]) &33 ECC polynominal error [Xebec]) &7F Unknown SCSI result [Code] [ADFS] Acorn ADFS manual [Winchester] Acorn Winchester Filing System manual [Master] Master Reference manual [Dabhand] Dabhand Master OS Guide [Xebec] Xebec Winchester Controller Owner's Manual [Apadec] Apadec Winchester Controller Owner's Manual [Code] From examining the ADFS code ============================================================================================================