From owner-freebsd-stable Mon Jul 29 13:13:21 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 3394937B407 for ; Mon, 29 Jul 2002 13:13:13 -0700 (PDT) Received: from sumax.dyndns.org (212-100-182-2.adsl.easynet.be [212.100.182.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FB8E43E4A for ; Mon, 29 Jul 2002 13:13:12 -0700 (PDT) (envelope-from chrisp@belgacom.net) Received: by sumax.dyndns.org (Postfix, from userid 1001) id 4709E21F7; Mon, 29 Jul 2002 22:13:06 +0200 (CEST) Date: Mon, 29 Jul 2002 22:13:05 +0200 From: Chris Pockele To: Jesse Gross , FreeBSD stable list Subject: Re: READ_BIG problems Message-ID: <20020729221304.A953@freedaemon.home.lan> References: <20020727232858.A215@freedaemon.home.lan> <20020727213810.80030.qmail@web14104.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020727213810.80030.qmail@web14104.mail.yahoo.com>; from jesse_gross@yahoo.com on Sat, Jul 27, 2002 at 02:38:10PM -0700 X-Operating-System: FreeBSD 4.6-STABLE i386 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 On Sat, Jul 27, 2002 at 02:38:10PM -0700, Jesse Gross wrote: > > --- chrisp@belgacom.net wrote: > > 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. > With this patch (to atapi-cd.c) applied to today's sources, the problem seems to have gone away. > > 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; > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message