From owner-freebsd-stable@FreeBSD.ORG Sun Apr 3 10:21:52 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C99621065672 for ; Sun, 3 Apr 2011 10:21:52 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2918FC0A for ; Sun, 3 Apr 2011 10:21:51 +0000 (UTC) Received: from hugo10.ka.punkt.de ([217.29.45.10]) by gate1.intern.punkt.de with ESMTP id p33ALoQa008752; Sun, 3 Apr 2011 12:21:50 +0200 (CEST) Received: from [217.29.46.3] ([217.29.46.3]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id p33ALnUI022416; Sun, 3 Apr 2011 12:21:50 +0200 (CEST) (envelope-from hausen@punkt.de) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: "Patrick M. Hausen" In-Reply-To: <20110402094038.GA3521@icarus.home.lan> Date: Sun, 3 Apr 2011 12:21:55 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <3B6BFB01-3AC4-432B-8713-6CED09FFF9A2@punkt.de> References: <20110402094038.GA3521@icarus.home.lan> To: Jeremy Chadwick X-Mailer: Apple Mail (2.1084) Cc: FreeBSD Stable Subject: Re: ahci.ko in RELENG_8_2, what about atacontrol cap? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2011 10:21:52 -0000 Hello, Am 02.04.2011 um 11:40 schrieb Jeremy Chadwick: > You want "camcontrol identify adaX". DO NOT confuse this with > "camcontrol inquiry adaX" (this won't work). >=20 > identify =3D for ATA > inquiry =3D for SCSI Works perfectly, but I just noticed one really odd thing: 1. boot without ahci.ko: nas-pmh# atacontrol cap ad4 ... write cache yes yes 2. boot with ahci.ko: nas-pmh# camcontrol identify ada0 ... write cache yes no Well? ;-) The system is a HP NL36 - I just found a couple of articles mentioning that the default setting in the BIOS setup was write cache disabled. I can check that in the next couple of days when I take the machine back to the lab (no monitor/keyboard at my home office). I'd prefer a way to make sure write cache is enabled via some tuning from FreeBSD. The disks are dedicated to a raidz2, so from what I found around the net, write cache should not pose a major problem. Of course, one will lose _some_ data at a power outage - what I want to avoid for home office use is a completely lost file system. Losing the last time machine backup of my Mac is tolerable. Thanks, Patrick --=20 punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J=FCrgen Egeling AG Mannheim 108285