From owner-freebsd-stable Tue Jun 5 8:17:38 2001 Delivered-To: freebsd-stable@freebsd.org Received: from malkavian.org (malkavian.org [206.136.132.23]) by hub.freebsd.org (Postfix) with ESMTP id 032CE37B405 for ; Tue, 5 Jun 2001 08:17:33 -0700 (PDT) (envelope-from rbw@myplace.org) Received: (from rbw@localhost) by malkavian.org (8.11.3/8.11.1) id f55FH5q51574; Tue, 5 Jun 2001 11:17:05 -0400 (EDT) (envelope-from rbw@myplace.org) Date: Tue, 5 Jun 2001 08:17:05 -0700 From: "brian j. peterson" To: "Thomas T. Veldhouse" , freebsd-stable@FreeBSD.org Subject: Re: UDMA mode on ATAPI CDROM? Message-ID: <20010605081705.C7290@malkavian.org> Mail-Followup-To: "Thomas T. Veldhouse" , freebsd-stable@FreeBSD.org References: <20010604232621.A7290@malkavian.org> <002b01c0edc0$955b5b70$3028680a@tgt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002b01c0edc0$955b5b70$3028680a@tgt.com>; from veldy@veldy.net on Tue, Jun 05, 2001 at 08:08:15AM -0500 X-URL: http://rbw.myplace.org/ 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 On Tue, Jun 05, 2001 at 08:08:15AM -0500, Thomas T. Veldhouse wrote: > Thanks. I wouldn't have known about the man pages as it is not a "device" > per se and it is not a command. The sysctl is read only. It needs to be in > /boot/loader.conf and a reboot is necessary. you should be able to change the sysctl value on the fly for at least hw.atamodes. for example, % sysctl -w hw.atamodes=dma,pio,dma,---, this would force DMA for the first and third ATA devices and PIO for the second. the fourth isn't present, so it gets "---". i've never tried to change PIO to DMA for an ATAPI device (like a CD-ROM drive), but i *have* successfully done it for hard drives without a reboot. (of course, you have to be root when running the 'sysctl -w' command.) ymmv. too bad they didn't name this sysctl value "hw.ata.modes" to be like the other hw.ata values. i suppose there is probably a reason that isn't readily apparent. -brian > ----- Original Message ----- > From: "brian j. peterson" > To: "Thomas T. Veldhouse" > Sent: Tuesday, June 05, 2001 1:26 AM > Subject: Re: UDMA mode on ATAPI CDROM? > > > > read 'man 4 ata'. it's very helpful. =) > > > > also, 'sysctl hw.ata' will show you the relevant sysctl values. > > > > -brian > > > > On Mon, Jun 04, 2001 at 10:57:11PM -0500, Thomas T. Veldhouse wrote: > > > How do I set my ATAPI CDROM to UDMA mode these days? First it was a > > > kernel option, then it was an option in /boot/loader.conf, now I can not > > > find the option at all. I recall mention of a atactl, but there does > not > > > appear to be such a thing in stable. Can anybody enlighten me on this > > > puzzling change? > > > > > > Thanks in advance, > > > > > > Tom Veldhouse > > > veldy@veldy.net -- --===-----=======-----------=============-----------------=================== | rbw aka bjp | god's final message to his creation: | | rbw@myplace.org | we apologize for the inconvenience. | ===================-----------------=============-----------=======-----===-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message