From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 23:57:16 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 D08B916A4B3 for ; Tue, 7 Oct 2003 23:57:16 -0700 (PDT) Received: from smtp.uc3m.es (smtp02.uc3m.es [163.117.136.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD80843FA3 for ; Tue, 7 Oct 2003 23:57:14 -0700 (PDT) (envelope-from jrh@it.uc3m.es) Received: from smtp02.uc3m.es (localhost [127.0.0.1]) by smtp.uc3m.es (Postfix) with ESMTP id 4EAF54321C; Wed, 8 Oct 2003 08:57:07 +0200 (CEST) Received: from cimborrio (cimborrio.it.uc3m.es [163.117.139.95]) by smtp02.uc3m.es (Postfix) with ESMTP id 26A0D99FD8; Wed, 8 Oct 2003 08:57:06 +0200 (CEST) From: Juan Rodriguez Hervella Organization: UC3M To: jason Date: Wed, 8 Oct 2003 08:57:02 +0200 User-Agent: KMail/1.5 References: <20031004000819.O21168@odysseus.silby.com> <200310070903.51129.jrh@it.uc3m.es> <3F8391A4.3060909@ec.rr.com> In-Reply-To: <3F8391A4.3060909@ec.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310080857.06428.jrh@it.uc3m.es> 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 IGP340M") 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 06:57:16 -0000 On Wednesday 08 October 2003 06:25, jason wrote: > 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. What's "this" ? I've already tried hw.ata.atapi.dma="1".... are you telling me that I should try a higer value ? It doesn't bother me to reboot 6 times if necessary, but I'm not ond of it *wink* :) Cheers and thanks! > > 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.... -- JFRH