Re: SAS on NetBSD-11 broken

[email protected] (Michael van Elst)
Newsgroups gmane.os.netbsd.devel.kernel
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (John Klos) writes:

>[    20.832434] sd1 at scsibus2 target 1 lun 0: <ATA, ST2000LM010-1RA1, SDM1> disk fixed
>[    20.924228] sd1(mpt0:0:1:0):  Check Condition on CDB: 0x23 00 00 00 00 00 00 00 0c 00
>[    21.016989]     SENSE KEY:  Illegal Request
>[    21.064832]      ASC/ASCQ:  Invalid Command Operation Code
>[    21.132435] sd1: drive offline
>[    21.170316] sd1: tagged queueing


That probably means that the drive isn't ready, the error message is
just noise and could probably silenced.

The code that handles offline units had been broken for quite some time
and I restored it in February.

sd.c:
revision 1.338
date: 2025-02-11 16:02:42 +0100;  author: mlelstv;  state: Exp;  lines: +2 -10;  commitid: FjEvEm4PEADkW3JF;
Handle unit startup issues also before "media is loaded".


I don't know why this fails for the specific mpt controller. Adding a quirk
as a workaround is probably easy to do.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.