From owner-freebsd-bugs Fri Jun 23 3:30:10 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 644BF37B90C for ; Fri, 23 Jun 2000 03:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA31607; Fri, 23 Jun 2000 03:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 9F39437C19B; Fri, 23 Jun 2000 03:25:29 -0700 (PDT) Message-Id: <20000623102529.9F39437C19B@hub.freebsd.org> Date: Fri, 23 Jun 2000 03:25:29 -0700 (PDT) From: taguchi@tohoku.iij.ad.jp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/19465: SYNC_CHACHE PROBREM: NEWTECH NDA20128A Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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>---88--- 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 */ END>---88--- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message