From owner-freebsd-stable Fri Jul 26 14:49:31 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 556C237B405 for ; Fri, 26 Jul 2002 14:49:28 -0700 (PDT) Received: from web14106.mail.yahoo.com (web14106.mail.yahoo.com [216.136.172.136]) by mx1.FreeBSD.org (Postfix) with SMTP id B911F43E65 for ; Fri, 26 Jul 2002 14:49:27 -0700 (PDT) (envelope-from jesse_gross@yahoo.com) Message-ID: <20020726214927.53283.qmail@web14106.mail.yahoo.com> Received: from [172.166.215.215] by web14106.mail.yahoo.com via HTTP; Fri, 26 Jul 2002 14:49:27 PDT Date: Fri, 26 Jul 2002 14:49:27 -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 Bingo. The new patch works great. It fixed the problem that I was having completely. I should note that I also had the previous patch applied.hw.ata.ata_dma and hw.ata.atapi_dma were both set to their default values (1 and 0 respectively). If I can do anything else let me know. 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