SAS on NetBSD-11 broken

John Klos <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel,gmane.os.netbsd.ports.alpha
Message-ID <[email protected]>
Hi,

I've been running a Symbios Logic SAS1068 PCI card in my AlphaServer DS25 
for ages:

[     1.000000] pci3: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[     1.000000] mpt0 at pci3 dev 1 function 0: Symbios Logic SAS1068 (rev. 0x01)
[     1.000000] mpt0: interrupting at dec 6600 irq 36
[     1.000000] scsibus2 at mpt0: 112 targets, 8 luns per target

I just tried a NetBSD 11 kernel from 21-September, and now instead of 
this:

[     3.540562] scsibus0: waiting 2 seconds for devices to settle...
[     3.611134] scsibus1: waiting 2 seconds for devices to settle...
[     3.682898] scsibus2: waiting 2 seconds for devices to settle...
[     5.762201] sd0 at scsibus0 target 0 lun 0: <COMPAQ, BD0726536C, 3B02> disk fixed
[     5.853996] sd0: 69464 MB, 28004 cyl, 20 head, 254 sec, 512 bytes/sect x 142264000 sectors
[     5.973135] sd0: sync (25.00ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
[    20.946493] sd1 at scsibus2 target 1 lun 0: <ATA, ST2000LM010-1RA1, SDM1> disk fixed
[    21.042194] sd1: 1863 GB, 1907730 cyl, 16 head, 127 sec, 512 bytes/sect x 3907029168 sectors
[    21.506054] sd1: tagged queueing

I get this:

[     3.425563] scsibus0: waiting 2 seconds for devices to settle...
[     3.495526] scsibus1: waiting 2 seconds for devices to settle...
[     3.567291] scsibus2: waiting 2 seconds for devices to settle...
[     5.646219] sd0 at scsibus0 target 0 lun 0: <COMPAQ, BD0726536C, 3B02> disk fixed
[     5.738014] sd0: 69464 MB, 28004 cyl, 20 head, 254 sec, 512 bytes/sect x 142264000 sectors
[     5.858130] sd0: sync (25.00ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
[    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

(same for sd2, sd3 and sd4, which are all on mpt0)

This seems to have happened on sparc64, too:

https://dmesgd.nycbug.org/dmesgd?do=view&id=8531

This shows that the Symbios Logic 53c1020/53c1030 is fine, but the Symbios 
Logic SAS1064 is not. Mine is the SAS1068.

Does anyone know where things went wrong?

John
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.