From owner-freebsd-stable Wed Mar 14 5:10:15 2001 Delivered-To: freebsd-stable@freebsd.org Received: from solaris.matti.ee (solaris.matti.ee [194.126.98.135]) by hub.freebsd.org (Postfix) with ESMTP id 801D637B719 for ; Wed, 14 Mar 2001 05:10:11 -0800 (PST) (envelope-from vallo@myhakas.matti.ee) Received: from myhakas.matti.ee (myhakas.matti.ee [194.126.114.87]) by solaris.matti.ee (Postfix) with ESMTP id 21DA52CE87; Wed, 14 Mar 2001 15:09:59 +0200 (EET) Received: (from vallo@localhost) by myhakas.matti.ee (8.11.3/8.11.3) id f2EDA4O00633; Wed, 14 Mar 2001 15:10:04 +0200 (EET) (envelope-from vallo) Date: Wed, 14 Mar 2001 15:10:04 +0200 From: Vallo Kallaste To: Mark Ibell Cc: stable@FreeBSD.ORG Subject: Re: Disk I/O problem in 4.3-BETA Message-ID: <20010314151004.A391@myhakas.matti.ee> Reply-To: vallo@matti.ee References: <200103131007.f2DA73h54023@mobile.wemm.org> <01f001c0abaa$133e1680$4500a8c0@nomad> <20010313032635.Q29888@fw.wintelcom.net> <3AAF4DA0.C8DA9485@paradise.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.14i-ja0 In-Reply-To: <3AAF4DA0.C8DA9485@paradise.net.nz>; from marki@paradise.net.nz on Wed, Mar 14, 2001 at 11:53:20PM +1300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 14, 2001 at 11:53:20PM +1300, Mark Ibell wrote: > What doesn't appear to have been mentioned is how exactly do we turn off > write caching on SCSI drives. From poking around the best I could work > out was to run 'camcontrol modepage da0 -m 0x08 -e -P 3' and set WCE to > 0 where 0x08 comes from /usr/share/misc/scsi_modes. > > Is this the correct way to do it? > Also, is it okay to leave tagged queuing enabled? (I'm really starting > to get paranoid after all this discussion!) Don't forget the SCSI controller, at least Adaptec has WCE bit enable/disable toggleable flag in the BIOS. When somebody had it set, your change will be clobbered on the next reboot. -- Vallo Kallaste vallo@matti.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message