git: c1cc3d96da13 - main - scsi: Make asc/ascq 44/0 fatal with ENXIO
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Oct 2024 15:34:58 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c1cc3d96da135189ab7b0831c7ea11f09afd30a2 commit c1cc3d96da135189ab7b0831c7ea11f09afd30a2 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2024-10-22 14:50:10 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-10-22 15:33:44 +0000 scsi: Make asc/ascq 44/0 fatal with ENXIO 44/0: INTERNAL TARGET FAILURE Several different HGST/WD hard disks report this during geom tasting. Several vendor manuals indicate this is not recoverable as well, though are a bit coy as to whether it's permanant for all I/O or just for this particular one. An internet search resolves the ambiguity in favor of permanant error more generally, rather than for a specific LBA or LBA range. This has the side effect of speeding up boot for systems that have drives that have failed with this symptom. Sponsored by: Netflix --- sys/cam/scsi/scsi_all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c index 07295f313cca..a26354e3dd97 100644 --- a/sys/cam/scsi/scsi_all.c +++ b/sys/cam/scsi/scsi_all.c @@ -2413,7 +2413,7 @@ static struct asc_table_entry asc_table[] = { { SST(0x43, 0x00, SS_RDEF, "Message error") }, /* DTLPWROMAEBKVF */ - { SST(0x44, 0x00, SS_FATAL | EIO, + { SST(0x44, 0x00, SS_FATAL | ENXIO, "Internal target failure") }, /* DT P MAEBKVF */ { SST(0x44, 0x01, SS_RDEF, /* XXX TBD */