Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 22:13:05 +0200
From:      Chris Pockele <chrisp@belgacom.net>
To:        Jesse Gross <jesse_gross@yahoo.com>, FreeBSD stable list <stable@freebsd.org>
Subject:   Re: READ_BIG problems
Message-ID:  <20020729221304.A953@freedaemon.home.lan>
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
References:  <20020727232858.A215@freedaemon.home.lan> <20020727213810.80030.qmail@web14104.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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