From owner-freebsd-stable Thu Jan 30 2:20: 3 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4512937B401 for ; Thu, 30 Jan 2003 02:20:01 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8829643F85 for ; Thu, 30 Jan 2003 02:19:59 -0800 (PST) (envelope-from ari@suutari.iki.fi) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.6/8.12.6) with ESMTP id h0UAJvEI056946 for ; Thu, 30 Jan 2003 12:19:57 +0200 (EET) (envelope-from ari@suutari.iki.fi) Content-Type: text/plain; charset="us-ascii" From: Ari Suutari To: stable@freebsd.org Subject: hw.ata.wc setting and atacontrol cap output do not match ? Date: Thu, 30 Jan 2003 12:19:57 +0200 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301301219.57122.ari@suutari.iki.fi> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have put hw.ata.wc=3D"0" to /boot/loader.conf on some of my machines. After booting, sysctl shows: # sysctl hw.ata.wc hw.ata.wc: 0 However, atacontrol shows different results: # atacontrol cap 0 0 ATA channel 0, Master, device ad0: ATA/ATAPI revision 4 device model SAMSUNG SV1022D Feature Support Enable Value Vendor write cache yes yes it reports that write cache is still ENABLED ? I wonder if the output is just wrong or the cache is still being used. If I perform an "atacontrol reinit" then atacontrol cap starts to report write cache as disabled. I would very much like to write cache to really be off, since I have some machines running at locations which tend to have power failures from time to time. =09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message