From owner-freebsd-current@FreeBSD.ORG Wed Mar 2 18:55:59 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 905FE16A4CE for ; Wed, 2 Mar 2005 18:55:59 +0000 (GMT) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2373043D39 for ; Wed, 2 Mar 2005 18:55:59 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from zappa.Chelsea-Ct.Org (pool-151-199-89-235.roa.east.verizon.net [151.199.89.235]) by gromit.dlib.vt.edu (8.13.1/8.13.1) with ESMTP id j22ItuiT054817 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Mar 2005 13:55:57 -0500 (EST) (envelope-from paul@gromit.dlib.vt.edu) Received: from zappa.Chelsea-Ct.Org (localhost.Chelsea-Ct.Org [127.0.0.1]) by zappa.Chelsea-Ct.Org (8.13.3/8.13.3) with ESMTP id j22ItouW015724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Mar 2005 13:55:51 -0500 (EST) (envelope-from paul@gromit.dlib.vt.edu) Received: (from paul@localhost) by zappa.Chelsea-Ct.Org (8.13.3/8.13.3/Submit) id j22ItoNR015723; Wed, 2 Mar 2005 13:55:50 -0500 (EST) (envelope-from paul@gromit.dlib.vt.edu) X-Authentication-Warning: zappa.Chelsea-Ct.Org: paul set sender to paul@gromit.dlib.vt.edu using -f From: Paul Mather To: freebsd-current@freebsd.org In-Reply-To: <200502191556.aa96337@salmon.maths.tcd.ie> References: <200502191556.aa96337@salmon.maths.tcd.ie> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 02 Mar 2005 13:55:50 -0500 Message-Id: <1109789750.90626.32.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 FreeBSD GNOME Team Port cc: Ian Dowse Subject: Re: ad WRITE_DMA timing out frequently X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 18:55:59 -0000 On Sat, 2005-02-19 at 15:56 +0000, Ian Dowse wrote: > In message <1108752445.1105.34.camel@zappa.Chelsea-Ct.Org>, Paul Mather writes: > >The "TIMEOUT - WRITE_DMA" issue has been a recurring problem for me > >since somewhere in the 5.2.1--5.3 release range. (It's been so long now > >that I don't remember whether it first started plaguing me in 5.2.1 or > >5.3. I do know for definite I never got this problem in 5.1 and it only > >crept in during an "upgrade.") > > On a recent -CURRENT you could try the following patch. It attempts > to clean up the handling of timeouts in the ATA code by using the > new callout_init_mtx() function, and appeared to cure fairly frequent > WRITE_DMA timeout messages for me. [[Patch omitted.]] I've been using the patch Ian posted for a week or so now and have not had any of the serious problems I had before I applied the patch. I have had two incidences of "TIMEOUT - WRITE_DMA" in the time I've been running with the patch, but they have not resulted in the "FAILURE - WRITE_DMA timed out" and associated fatal provider disconnection I experienced previously. It may be completely unrelated, but since running with this patch, my system also hasn't experienced any of the occasional spontaneous reboots I would sometimes get before, and seems overall more robust. It would be great if this patch could be applied to -CURRENT and MFC5'd, too. Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa