Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 14:35:33 -0700 (PDT)
From:      Jesse Gross <jesse_gross@yahoo.com>
To:        Dan O'Brien <dmobrien_2001@yahoo.com>, bmah@FreeBSD.ORG
Cc:        FreeBSD-Stable Mailing List <freebsd-stable@FreeBSD.ORG>, Eric Chet <ejc@bazzle.com>
Subject:   Re: ATA CDROM Problems 4.6 (and 4.6.1) 
Message-ID:  <20020727213533.72239.qmail@web14105.mail.yahoo.com>
In-Reply-To: <20020727200620.17996.qmail@web9904.mail.yahoo.com>

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

--- Dan O'Brien <dmobrien_2001@yahoo.com> wrote:
> 
> --- "Bruce A. Mah" <bmah@FreeBSD.ORG> wrote:
> > If memory serves me right, "Dan O'Brien" wrote:
> > > I just upgraded from 4.5 (off the CD Release) to 4.6 (off the CD
> > > release) and yadda yadda yadda ATA CDROM fails per the Errata
> (big
> > read
> > > timeout, etc).  
> > 
> > If you feel like patching your 4.6 kernel, try a patch posted by
> Ian
> > Dowse...it can be found in the mailing list archives by looking for
> > the
> > following message ID:
> > 
> > Message-id: <200207261528.aa62716@salmon.maths.tcd.ie>
> 
> This patch?
> 
>
http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=1328863+1332076+/usr/local/www/db/text/2002/freebsd-stable/20020714.freebsd-stable
> 
> I'll give'r a go and report back.

Actually there is a newer patch that people (including myself) have had
luck with.

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?20020727213533.72239.qmail>