Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 14:38:10 -0700 (PDT)
From:      Jesse Gross <jesse_gross@yahoo.com>
To:        chrisp@belgacom.net, stable@freebsd.org
Subject:   Re: READ_BIG problems
Message-ID:  <20020727213810.80030.qmail@web14104.mail.yahoo.com>
In-Reply-To: <20020727232858.A215@freedaemon.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help

--- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020727213810.80030.qmail>