Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 10:19:43 +0200
From:      Marc van Duivenvoorde <lists@ymondhc.com>
To:        Jesse Gross <jesse_gross@yahoo.com>
Cc:        Ian Dowse <iedowse@maths.tcd.ie>, John Baldwin <jhb@FreeBSD.org>, stable@FreeBSD.org, Mark Hartley <mark@work.drapple.com>, John Prince <johnp@lodgenet.com>, Hans Ottevanger <hansot@iae.nl>
Subject:   Re: READ_BIG problems
Message-ID:  <3D464C1F.2070001@ymondhc.com>
References:  <20020726214927.53283.qmail@web14106.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
aah great, this patch worked for me too. Thanx.

Marc van Duivenvoorde


--
How could I begin to forgive, when you never gave me the chance to forget.
--


Jesse Gross wrote:
> 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 <iedowse@maths.tcd.ie> 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




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?3D464C1F.2070001>