From owner-freebsd-scsi Fri Jun 7 9: 1: 9 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 2C68A37B407 for ; Fri, 7 Jun 2002 09:01:03 -0700 (PDT) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id g57G10M98565; Fri, 7 Jun 2002 10:01:00 -0600 (MDT) (envelope-from ken) Date: Fri, 7 Jun 2002 10:01:00 -0600 From: "Kenneth D. Merry" To: Joao Pedras Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: sync cache Message-ID: <20020607100100.A98478@panzer.kdm.org> References: <20020607080018.D1398@webvolution.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020607080018.D1398@webvolution.net>; from jpedras@webvolution.net on Fri, Jun 07, 2002 at 08:00:18AM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jun 07, 2002 at 08:00:18 -0700, Joao Pedras wrote: > > :) > > Now thia is where it gets confusing : > > root@athena ~ # camcontrol modepage -n da -u 0 -m8 > IC: 0 > ABPF: 0 > CAP: 0 > DISC: 1 > SIZE: 0 > WCE: 0 > MF: 0 > RCD: 0 > Demand Retention Priority: 0 > Write Retention Priority: 0 > Disable Pre-fetch Transfer Length: 65535 > Minimum Pre-fetch: 0 > Maximum Pre-fetch: 65535 > Maximum Pre-fetch Ceiling: 65535 > > WCE is set to zero. > > My last message is still valid. I keep getting that I cannot edit it... Try the following: camcontrol modepage da0 -m 8 -P 1 If WCE is set to 0, you can't edit the value. If it is set to 1, you can edit the value. (When the page control field is set to 1, you get a bitmask back of the parameters that can be changed. That is what camcontrol uses to figure out whether the field can be changed.) > On Thu, Jun 06, 2002 at 05:43:50PM +0200, Bernd Walter wrote: > > > > camcontrol modepage -n da -u $danumber -m 8 -e -P 3 > > Just set WCE (write cache enable) to zero. > > Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message