Date: Tue, 07 Oct 2003 21:25:08 -0700 From: jason <jason@ec.rr.com> To: Juan Rodriguez Hervella <jrh@it.uc3m.es> 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") Message-ID: <3F8391A4.3060909@ec.rr.com> In-Reply-To: <200310070903.51129.jrh@it.uc3m.es> References: <20031004000819.O21168@odysseus.silby.com> <200310061034.46050.jrh@it.uc3m.es> <20031006124753.U4783@odysseus.silby.com> <200310070903.51129.jrh@it.uc3m.es>
next in thread | previous in thread | raw e-mail | index | archive | help
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.... > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F8391A4.3060909>