From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 18:24:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 056E116A4B3 for ; Tue, 7 Oct 2003 18:24:00 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4881843F85 for ; Tue, 7 Oct 2003 18:23:58 -0700 (PDT) (envelope-from jason@ec.rr.com) Received: from ec.rr.com (cpe-024-211-231-149.ec.rr.com [24.211.231.149]) h981LaVx017567; Tue, 7 Oct 2003 21:21:37 -0400 (EDT) Message-ID: <3F8391A4.3060909@ec.rr.com> Date: Tue, 07 Oct 2003 21:25:08 -0700 From: jason User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Juan Rodriguez Hervella References: <20031004000819.O21168@odysseus.silby.com> <200310061034.46050.jrh@it.uc3m.es> <20031006124753.U4783@odysseus.silby.com> <200310070903.51129.jrh@it.uc3m.es> In-Reply-To: <200310070903.51129.jrh@it.uc3m.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Mike Silbersack cc: questions@freebsd.org Subject: Re: I try to change atapi_dma to "1" but it doesn't work (It was "Re: ATI Radeon IGP 340M") X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 01:24:00 -0000 Use hw.ata.atapi.dma="x" for atapi devices(cdroms and dvdroms). Drop that atapi for hard drives. Here x = 0-6 at speeds of 16.7, 25, 33.3, 44.4, 66.7, 100, 133. Mode 6 only works on select drives, like mators, with a board that supports, like an nforce. Most cdroms should not be more than a mode 2. Thats for a 52x where 52x150kb/s=7800kb/s=7.6mb/s max transfer. My liteon supports 33.3mb/s tranfers, and I use that mode but it is no real avantage over mode 0 or 1. Dvds use 1250kb/s as their x value, so a 8x dvd would need 8x1250kb/s=10000kb/s=9.8mb/s. So just cut and paste this in the loader.conf file. Juan Rodriguez Hervella wrote: >On Monday 06 October 2003 19:49, Mike Silbersack wrote: > > >>On Mon, 6 Oct 2003, Juan Rodriguez Hervella wrote: >> >> >>>Thank you very much. >>> >>>It's working. I've tried to play a DVD using "ogle", but >>>it doesn't work very well, the movement isn't steady....I've got >>>a friend with the same laptop using Linux and he tells me it works >>>nice.....so I guess it's a FreeBSD performance problem....*sigh* >>> >>>Thank you anyway. >>> >>>-- >>>JFRH >>> >>> >>FreeBSD doesn't enable DMA access to CD/DVD drives by default, that may be >>part of the problem; try enabling atapi_dma (see the ata manpage), that >>might help. >> >>Mike "Silby" Silbersack >> >> > >I've tried both atapi_dma="1" in "loader.conf" and "atacontrol mode 1 udma100 >XXX" but when I attempt to access the device, it hangs up. > >I copy a "dmesg" if this can help. Look at the end there are some error >messages related to ATA.... > >