From owner-freebsd-stable Sat Jul 27 14:35:38 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 BC6AC37B412 for ; Sat, 27 Jul 2002 14:35:33 -0700 (PDT) Received: from web14105.mail.yahoo.com (web14105.mail.yahoo.com [216.136.172.135]) by mx1.FreeBSD.org (Postfix) with SMTP id 3237E43E4A for ; Sat, 27 Jul 2002 14:35:33 -0700 (PDT) (envelope-from jesse_gross@yahoo.com) Message-ID: <20020727213533.72239.qmail@web14105.mail.yahoo.com> Received: from [172.158.103.29] by web14105.mail.yahoo.com via HTTP; Sat, 27 Jul 2002 14:35:33 PDT Date: Sat, 27 Jul 2002 14:35:33 -0700 (PDT) From: Jesse Gross Subject: Re: ATA CDROM Problems 4.6 (and 4.6.1) To: Dan O'Brien , bmah@FreeBSD.ORG Cc: FreeBSD-Stable Mailing List , Eric Chet In-Reply-To: <20020727200620.17996.qmail@web9904.mail.yahoo.com> 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 --- Dan O'Brien wrote: > > --- "Bruce A. Mah" 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