From owner-freebsd-current@FreeBSD.ORG Mon Jan 19 05:29:29 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 3771D16A4CE for ; Mon, 19 Jan 2004 05:29:29 -0800 (PST) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E07843D55 for ; Mon, 19 Jan 2004 05:29:27 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9p2/8.12.9) with ESMTP id i0JDTI7E055867; Mon, 19 Jan 2004 05:29:22 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200401191329.i0JDTI7E055867@gw.catspoiler.org> Date: Mon, 19 Jan 2004 05:29:18 -0800 (PST) From: Don Lewis To: mjs@cc.tut.fi In-Reply-To: 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:29:29 -0000 On 19 Jan, Matti Saarinen wrote: > 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 That looks correct. You might try setting "camcontrol tags" down to 64 for each drive, since that is what it seems to be falling back to. I haven't used the IBM disks, only Seagate, and the one's that I've used seem to only support 64.