HomeFreeBSD

1. The key SSD_KEY_RECOVERED_ERROR is not an error at all and should
rS72375Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  1. The key SSD_KEY_RECOVERED_ERROR is not an error at all and should

not be retried. It is an indication that there was an error that was
corrected during the execution of the command. This is per ANSI SCSI2
spec.

It's possible that these should also be noted to the console (as indicative,
perhaps, of growing media defect lists in drives), but the default of
printing errors out if bootverbose in this case is probably enough.

Also, there'd been a missing ERESTART for that clause anyway.

  1. If you have an ABORTED COMMAND, it's almost invariably a SCSI parity

error. You should never be silent about these since users should do something
about this if it occurs (moving that power cord *away* from the SCSI cable is
always a good first start). This should print irrespective of bootverbose
because it's an actual real error even if we retry a transmission.

Reviewed by: audit@freebsd.org, gibbs@freebsd.org

Details

Provenance
mjacobAuthored on
Parents
rS72374: Remove (int) file descriptor locking. It should be up to the
Branches
Unknown
Tags
Unknown

Event Timeline