From owner-freebsd-current@FreeBSD.ORG Mon Jan 19 05:08:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C3E616A4CE; Mon, 19 Jan 2004 05:08:13 -0800 (PST) Received: from butler.cc.tut.fi (butler.cc.tut.fi [130.230.102.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B06D43D5E; Mon, 19 Jan 2004 05:08:11 -0800 (PST) (envelope-from mjs@cc.tut.fi) Received: from butler.cc.tut.fi (mjs@localhost [127.0.0.1]) by butler.cc.tut.fi (8.12.10/8.12.5) with ESMTP id i0JD89hH005733; Mon, 19 Jan 2004 15:08:09 +0200 (EET) Received: (from mjs@localhost) by butler.cc.tut.fi (8.12.10/8.12.5/Submit) id i0JD892x005731; Mon, 19 Jan 2004 15:08:09 +0200 (EET) X-Authentication-Warning: butler.cc.tut.fi: mjs set sender to mjs@cc.tut.fi using -f To: Don Lewis References: <200401191139.i0JBdD7E055679@gw.catspoiler.org> From: Matti Saarinen Date: Mon, 19 Jan 2004 15:08:09 +0200 In-Reply-To: <200401191139.i0JBdD7E055679@gw.catspoiler.org> (Don Lewis's message of "Mon, 19 Jan 2004 03:39:13 -0800 (PST)") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-current@freebsd.org Subject: Re: 5.2R: panic (syncer) on IBM x345 (SMP and Vinum) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 13:08:13 -0000 Don Lewis writes: >> (da0:ahd0:0:0:0): Retrying Command >> (da0:ahd0:0:0:0): Queue Full >> (da0:ahd0:0:0:0): tagged openings now 128 >> (da0:ahd0:0:0:0): Retrying Command > > Try using the camcontrol modepage command to turn off write caching > on each of the drives (set the WCE bit to 0). I hope I've understood the output of the camcontrol command correctly. The WCE bit is already set zero for all the devices connected to ahd0. # camcontrol modepage da0 -l 0x01 Read-Write Error Recovery Page 0x02 Disconnect-Reconnect Page 0x03 Format Device Page 0x04 Rigid Disk Drive Geometry Page 0x07 Verify Error Recovery Page 0x08 Caching Page 0x0a Control Mode Page 0x0c Notch and Partition Page 0x19 0x1c 0x21 0x00 Vendor-Specific 0x34 # for i in {0..6} do echo -n "da$i: " && ( camcontrol modepage da$i -m 0x08 | grep WCE ) done da0: WCE: 0 da1: WCE: 0 da2: WCE: 0 da3: WCE: 0 da4: WCE: 0 da5: WCE: 0 da6: WCE: 0 -- - Matti -