Date: Fri, 23 Jun 2000 03:25:29 -0700 (PDT) From: taguchi@tohoku.iij.ad.jp To: freebsd-gnats-submit@FreeBSD.org Subject: kern/19465: SYNC_CHACHE PROBREM: NEWTECH NDA20128A Message-ID: <20000623102529.9F39437C19B@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 19465
>Category: kern
>Synopsis: SYNC_CHACHE PROBREM: NEWTECH NDA20128A
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 23 03:30:04 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Taguchi, Takeshi
>Release: FreeBSD-3.4-STABLE
>Organization:
IIJ
>Environment:
FreeBSD hoya 3.4-STABLE FreeBSD 3.4-STABLE #1: Fri Jun 23 18:56:36 JST 2000 root@hoya:/usr/src/sys/compile/TEST i386
>Description:
NEWTECH NDA20128A is a cheep RAID 0,1 unit.
I found a following error message when shutdown is complete.
# shutdown -h now
...[snip]...
(da1:ahc0:0:0:2:0) SYNCHRONIZE CACHE CDB:35 0 0 0 0 0 0 0 0 0
(da1:ahc0:0:0:2:0) error code 27
>How-To-Repeat:
connect this RAID unit, and execute shutdown commands.
>Fix:
Following patch work fine.
BEGIN>---8<CUT HERE>8---
diff -u cam/scsi/scsi_da.c.OLD cam/scsi/scsi_da.c
--- cam/scsi/scsi_da.c.OLD Fri Jun 23 19:11:08 2000
+++ cam/scsi/scsi_da.c Fri Jun 23 18:55:27 2000
@@ -152,6 +152,12 @@
},
{
/*
+ */
+ {T_DIRECT, SIP_MEDIA_FIXED, "NEWTECH", "NDA20128A", "*"},
+ /*quirks*/ DA_Q_NO_SYNC_CACHE
+ },
+ {
+ /*
* Doesn't like the synchronize cache command.
* Reported by: Blaz Zupan <blaz@gold.amis.net>
*/
END>---8<CUT HERE>8---
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000623102529.9F39437C19B>
