From owner-freebsd-questions Thu Apr 20 12:41:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.rdc3.on.home.com (mail1.rdc3.on.home.com [24.2.9.40]) by hub.freebsd.org (Postfix) with ESMTP id C129537BE62 for ; Thu, 20 Apr 2000 12:41:11 -0700 (PDT) (envelope-from antipode@thpoon.com) Received: from tea.thpoon.com ([24.114.152.71]) by mail1.rdc3.on.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000420194110.NCRR15824.mail1.rdc3.on.home.com@tea.thpoon.com> for ; Thu, 20 Apr 2000 12:41:10 -0700 Received: from antipode by tea.thpoon.com with local (Exim 3.12 #1 (Debian)) id 12iMp4-0000sh-00 for ; Thu, 20 Apr 2000 15:41:10 -0400 To: freebsd-questions@FreeBSD.ORG Subject: Re: Selectively enable/disable DMA for an ata driver References: <87og74d9j6.fsf@tea.thpoon.com> <38FF54F1.F6CC270C@3-cities.com> X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: thpoon.com From: Arcady Genkin Date: 20 Apr 2000 15:41:10 -0400 In-Reply-To: Kent Stewart's message of "Thu, 20 Apr 2000 12:05:21 -0700" Message-ID: <87itxcd0h5.fsf@tea.thpoon.com> Lines: 19 User-Agent: Gnus/5.0804 (Gnus v5.8.4) XEmacs/21.1 (Bryce Canyon) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kent Stewart writes: > Do a "man ata" and in the middle is a section on the sysctl options > that you can use to set ad0 to PCI. You now have a /etc/sysctl.conf > for saving options such as this one. Kent, thanks a lot! This did it. This makes me wonder, though... Since sysctl.conf is only read when system goes multiuser, suppose somebody had a device that would hang the system if accessed in DMA mode. sysctl solution would now work in that case. I still think that it would be nicer to have an option in kernel config, so that the drive is accessed in the correct mode from the very start. -- Arcady Genkin http://www.thpoon.com Nostalgia isn't what it used to be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message