From owner-freebsd-stable@FreeBSD.ORG Wed Aug 6 14:24:23 2008 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 4823A1065685 for ; Wed, 6 Aug 2008 14:24:23 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id E7C378FC0A for ; Wed, 6 Aug 2008 14:24:22 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m76EOKO2045028; Wed, 6 Aug 2008 09:24:20 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Wed, 6 Aug 2008 09:24:20 -0500 (CDT) From: "Sean C. Farley" To: Jeremy Chadwick In-Reply-To: <20080806033016.GA35921@eos.sc1.parodius.com> Message-ID: References: <20080806033016.GA35921@eos.sc1.parodius.com> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-stable@FreeBSD.org Subject: Re: Stuck in geli 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: Wed, 06 Aug 2008 14:24:23 -0000 On Tue, 5 Aug 2008, Jeremy Chadwick wrote: > On Tue, Aug 05, 2008 at 10:45:16AM -0500, Sean C. Farley wrote: >> Rarely, a geli partition I have freezes a process in bufwait state. >> It occurs after an ATA timeout message: >> Aug 5 03:47:13 thor kernel: ad10: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=219028637 > > This looks like the issue I've been tracking for months now. I'm sorry > the document isn't complete; it's an issue of time... > > http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting Time grows on the tree next to my money tree. :) I understand. >> The geli partition resides on an Intel MatrixRAID RAID1 mirror using >> the ICH9R chipset (Asus P5K-E/WIFI). Killing (even -9) the process >> does not work. Rebooting is the only solution, yet the system is >> unable to flush the buffers and complete a clean unmounting. > > After reading my above Wiki page, I hope you consider disabling > MatrixRAID and avoiding it entirely on FreeBSD. There are patches to > address major issues which have been sitting untouched, despite > patches included, for 2+ years. Draw your own conclusions. Yuck. I used the on-board "RAID", so the system could dual-boot Windows XP and FreeBSD. Is there any way to use gmirror to mirror the entire disk with XP on one slice and FreeBSD on another? ;) OK. I think I know that answer. Does XP have software RAID1? I can setup XP on one slice and gmirror on another. Is mirroring a slice any easier today? I followed information from the following links to do this before on my server: http://lists.freebsd.org/pipermail/freebsd-stable/2005-February/011699.html I forget. MatrixRAID does not destroy any data if RAID1 is disabled. Correct? > Also, you won't be able to kill -9 a process in that state. The > kernel (or some piece of it) is hung, not the process. The fact that > a reboot is required also does not surprise me. > > You *might* have been able to detach the ATA/SATA channel using > atacontrol to get access to the system, but then again it might result > in a system panic (see Wiki). I did not feel safe even without a possible panic to detach the channels and attach them again. Would I not suffer data loss with everything mounted? *snip* Sean -- scf@FreeBSD.org