From owner-freebsd-stable Thu Apr 12 20:33:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id A2B6737B422 for ; Thu, 12 Apr 2001 20:33:45 -0700 (PDT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 28959 invoked by uid 0); 13 Apr 2001 03:33:43 -0000 Received: from pd4b9eee4.dip.t-dialin.net (HELO lofizwei) (212.185.238.228) by mail.gmx.net (mp013-rz3) with SMTP; 13 Apr 2001 03:33:43 -0000 Message-ID: <008b01c0c3ca$ef31c3c0$0508a8c0@lofi.dyndns.org> From: "Michael Nottebrock" To: "adriel" , References: <02db01c0c1b1$c1a0ffe0$0508a8c0@lofi.dyndns.org> <20010410123317.A73359@irrelevant.org> <200104101342.f3ADgsn15019@bmah-freebsd-0.cisco.com> <20010410153425.I5028@adriel.net> <20010410134934.Z15938@fw.wintelcom.net> <20010412150542.M5028@adriel.net> Subject: Re: ATA_ENABLE_ATAPI_DMA gone? Date: Fri, 13 Apr 2001 05:36:31 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: "adriel" To: Sent: Thursday, April 12, 2001 10:05 PM Subject: Re: ATA_ENABLE_ATAPI_DMA gone? > I suppose my frustration comes from changing something that worked > perfectly for no good reason, what exactly was wrong with compiling that > flag in the kernel, and why was it deemed "obsolete". I understand how > to do it now, but my point remains, why was I forced to change, what > advantage did I receive from this? I am not running -CURRENT. > > the main problem in my situation is that I have a DMA hd sharing an IDE > cdrom, if you dont enable the ATAPI_DMA then it wont allow dma on the > hard drive either. Maybe there is a good reason for this, but I still > do not understand why something that was not breaking the system would > be arbitrarily removed without any warning. The only POSSIBLE advantage > I could have seen with moving this to be sysctl only is that you could > change it without rebooting, and even that is not the case. > [...] As far as I understand it, it was moved because it is a driver setting, and a driver setting does not belong into the kernel-configuration (we are not running Linux here, are we?). With the old way, if the ENABLE setting would break your system, you would have to recompile the kernel, now it's just a matter of changing a configuration file. And, it _is_ possible to change the settings (of each individual device on the ide-bus) afterwards, without rebooting, by writing the sysctl-variable hw.atamodes (see 'man ata'). What I don't understand is that this change didn't make it's way into /usr/src/UPDATING. Someone should bother and add it, for all the updates that can be expected when 4.3 becomes a release. Greetings, Michael Nottebrock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message