Date: Fri, 7 Jun 2002 10:01:00 -0600 From: "Kenneth D. Merry" <ken@kdm.org> To: Joao Pedras <jpedras@webvolution.net> Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: sync cache Message-ID: <20020607100100.A98478@panzer.kdm.org> In-Reply-To: <20020607080018.D1398@webvolution.net>; from jpedras@webvolution.net on Fri, Jun 07, 2002 at 08:00:18AM -0700 References: <20020607080018.D1398@webvolution.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020607100100.A98478>