From owner-freebsd-current@FreeBSD.ORG Sun Feb 20 16:58:11 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 72B8D16A4CF for ; Sun, 20 Feb 2005 16:58:11 +0000 (GMT) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 441A043D45 for ; Sun, 20 Feb 2005 16:58:10 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from zappa.Chelsea-Ct.Org (pool-151-199-113-125.roa.east.verizon.net [151.199.113.125]) by gromit.dlib.vt.edu (8.13.1/8.13.1) with ESMTP id j1KGw7Qb015313 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 20 Feb 2005 11:58:08 -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 j1KGw18A000880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 20 Feb 2005 11:58:01 -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 j1KGw0K9000879; Sun, 20 Feb 2005 11:58:01 -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: Ian Dowse 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: Sun, 20 Feb 2005 11:58:00 -0500 Message-Id: <1108918680.705.3.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: freebsd-current@freebsd.org cc: Reid Linnemann 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: Sun, 20 Feb 2005 16:58:11 -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. The patch applied cleanly for me, and I've built a new kernel successfully. Let's hope it cures the problems for me, too. If this patch is an effective cure, hopefully there is a chance it will get committed and there'll be an MFC5, 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