Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 1996 09:59:07 -0400
From:      James Risner <risner@heathers.stdio.com>
To:        freebsd-hackers@freebsd.org
Cc:        freebsd-scsi@freebsd.org
Subject:   SCSI ncr.c assertion fail due to S_QUEUE_FULL error.
Message-ID:  <199608271359.JAA02300@heathers.stdio.com>

next in thread | raw e-mail | index | archive | help

I have a 3.5 GIG drive:
ncrcontrol -u 1
T:L  Vendor   Device           Rev  Speed   Max Wide Tags
1:0  DEC      RZ74     (C) DEC 427H  10.0  10.0   8    4

on heavy disk seeking I get:
sd1(ncr1:1:0): COMMAND FAILED (4 28) @f09fb000.
assertion "cp" failed: file "../../pci/ncr.c", line 5563

I looked up the COMMAND.FAILED code and found that 4 28 means:
COND_MET or HS_COMPLETE and QUEUE_FULL

I looked up the code about QUEUE_FULL which it does not run and it sets
tags to 0 to fix.

I set tags to 1 with
ncrcontrol -u 1 -t 1 -w -stags=1

The problem went away.
Now it is:
ncrcontrol -u 1
T:L  Vendor   Device           Rev  Speed   Max Wide Tags
1:0  DEC      RZ74     (C) DEC 427H  10.0  10.0   8    1

Who's problem was present?
SCSI system for not probing the drive and setting the tags lower somehow?
ncr.c for not properly reseting after a QUEUE_FULL from a disk?

Or both?

Risner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608271359.JAA02300>