Date: Wed, 24 Sep 1997 00:03:03 +0200 From: Stefan Esser <se@FreeBSD.ORG> To: chro@ccca.nctu.edu.tw Cc: freebsd-stable@FreeBSD.ORG, Stefan Esser <se@FreeBSD.ORG> Subject: Re: About NCR Driver... Message-ID: <19970924000303.08949@mi.uni-koeln.de> In-Reply-To: <199709151758.RAA00313@avatar.dorm12.nctu.edu.tw>; from Avatarf on Mon, Sep 15, 1997 at 05:58:21PM %2B0000 References: <199709151758.RAA00313@avatar.dorm12.nctu.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 15, Avatarf <root@avatar.dorm12.nctu.edu.tw> wrote: > everytime after I reboot,a strange message appears to ncr0 (Takram DC-390F). > Here is the dmesg: > > ncr0 <ncr 53c875 fast20 wide scsi> rev 3 int a irq 12 on pci0:11 > (ncr0:0:0): "IBM DCAS-32160W S65A" type 0 fixed SCSI 2 > sd0(ncr0:0:0): Direct-Access > sd0(ncr0:0:0): WIDE SCSI (16 bit) enabled > sd0(ncr0:0:0): 40.0 MB/s (50 ns, offset 15) > 2063MB (4226725 512 byte sectors) > (ncr0:1:0): "MICROP 4110-09NB_Nov18F TN0F" type 0 fixed SCSI 2 > sd1(ncr0:1:0): Direct-Access > sd1(ncr0:1:0): 10.0 MB/s (100 ns, offset 15) > 1002MB (2053880 512 byte sectors) > [deleted] > assertion "cp" failed: file "../../pci/ncr.c", line 6191 > assertion "cp" failed: file "../../pci/ncr.c", line 6191 > sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0df7000. > > What did it mean? how to fix it? The message indicates that the drive did reject a tagged command and returned a QUEUE_FULL status. The IBM DORS is known to do this at times. It seems to support only a very limited number of tags (less than 4) in certain situations. There is not much that can be done about this in the NCR driver, but the new generic SCSI layer will provide support for adjusting the number of tags if QUEUE_FULL status is returned. > And when I run ncrcontrol. it shows the error message: > ncrcontrol: incompatible with kernel. Rebuild! > > but the program and kernel source are installed at the same time!! > (all 2.2-970913-RELENG) > > kernel config contains: > > controller ncr0 > controller scbus0 > device sd0 > options SCSI_NCR_DFLT_TAGS=8 > > How to fix it? thanks a lot for answer! The compilation of ncrcontrol does not know about your kernel config file. If you want to use a different default for the number of tags, you better just edit the line in ncr.c where SCSI_NCR_DFLT_TAGS is defined as "4". Regards, STefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970924000303.08949>