From owner-freebsd-stable Fri Jul 26 19: 2: 3 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 1940237B400 for ; Fri, 26 Jul 2002 19:02:00 -0700 (PDT) Received: from web14106.mail.yahoo.com (web14106.mail.yahoo.com [216.136.172.136]) by mx1.FreeBSD.org (Postfix) with SMTP id 8400243E4A for ; Fri, 26 Jul 2002 19:01:59 -0700 (PDT) (envelope-from jesse_gross@yahoo.com) Message-ID: <20020727020159.84707.qmail@web14106.mail.yahoo.com> Received: from [172.166.215.215] by web14106.mail.yahoo.com via HTTP; Fri, 26 Jul 2002 19:01:59 PDT Date: Fri, 26 Jul 2002 19:01:59 -0700 (PDT) From: Jesse Gross Subject: Re: READ_BIG problems To: Ian Dowse Cc: John Baldwin , stable@FreeBSD.org, Mark Hartley , John Prince , Hans Ottevanger In-Reply-To: <200207261528.aa62716@salmon.maths.tcd.ie> 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 I tested the ata driver with only the latest patch (the one line one). Nothing else was modified to fix the driver. Everything worked like a charm. No sign of READ_BIG anywhere. Jesse Gross --- Ian Dowse wrote: > In message <20020726134201.72747.qmail@web14107.mail.yahoo.com>, > Jesse Gross wr > ites: > >No luck. > > > >The patch didn't seem to make any difference. > > Thanks to everybody for trying. Below is another patch that > apparently > does help - I got Hans to try it, and he says that it seemed to work. > > Does this makes a difference for anybody else? > > Ian > > 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