From owner-freebsd-stable Sat Jul 27 14:38:17 2002 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 5A64437B400 for ; Sat, 27 Jul 2002 14:38:14 -0700 (PDT) Received: from web14104.mail.yahoo.com (web14104.mail.yahoo.com [216.136.172.134]) by mx1.FreeBSD.org (Postfix) with SMTP id 1263143E31 for ; Sat, 27 Jul 2002 14:38:14 -0700 (PDT) (envelope-from jesse_gross@yahoo.com) Message-ID: <20020727213810.80030.qmail@web14104.mail.yahoo.com> Received: from [172.158.103.29] by web14104.mail.yahoo.com via HTTP; Sat, 27 Jul 2002 14:38:10 PDT Date: Sat, 27 Jul 2002 14:38:10 -0700 (PDT) From: Jesse Gross Subject: Re: READ_BIG problems To: chrisp@belgacom.net, stable@freebsd.org In-Reply-To: <20020727232858.A215@freedaemon.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 --- chrisp@belgacom.net wrote: > On Thu, Jul 25, 2002 at 10:06:38PM +0100, Ian Dowse wrote: > > In message <3D406319.1136A6EA@iae.nl>, Hans Ottevanger writes: > > >acd0: READ_BIG command timeout - resetting > > >ata1: resetting devices .. done > > >acd0: READ_BIG command timeout - resetting > > >ata1: resetting devices .. done > > > > Could people seeing this and other ATA problems try the patch > below? > > This should fix some unlikely races that could potentially be > > responsible for these problems, though I suspect it will not make > > any difference. > > > With this patch on Jul 19 sources, the problems are still there. > ( READ_BIG timeout - resetting devices - removing from config - > fatal trap 12, page fault while in kernel mode - panic ) There is a newer patch that seems to work (It worked for me). If you don't mind trying something else, try the patch below. Jesse Gross Index: atapi-cd.c =================================================================== RCS file: /home/iedowse/CVS/src/sys/dev/ata/atapi-cd.c,v retrieving revision 1.48.2.16 diff -u -r1.48.2.16 atapi-cd.c --- atapi-cd.c 27 Mar 2002 19:48:37 -0000 1.48.2.16 +++ atapi-cd.c 26 Jul 2002 14:22:37 -0000 @@ -266,7 +266,7 @@ dev = make_dev(&acd_cdevsw, dkmakeminor(cdp->lun, 0, 0), UID_ROOT, GID_OPERATOR, 0644, "acd%d", cdp->lun); dev->si_drv1 = cdp; - dev->si_iosize_max = 252 * DEV_BSIZE; + dev->si_iosize_max = 64 * DEV_BSIZE; dev->si_bsize_phys = 2048; /* XXX SOS */ cdp->dev = dev; cdp->device->flags |= ATA_D_MEDIA_CHANGED; __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message