From owner-freebsd-current Wed Jun 13 23:26:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from johnson.mail.mindspring.net (johnson.mail.mindspring.net [207.69.200.177]) by hub.freebsd.org (Postfix) with ESMTP id 7F2CF37B405 for ; Wed, 13 Jun 2001 23:26:40 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.247.142.175.Dial1.SanJose1.Level3.net [209.247.142.175]) by johnson.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id CAA32048; Thu, 14 Jun 2001 02:25:53 -0400 (EDT) Message-ID: <3B28590F.E8930BB7@mindspring.com> Date: Wed, 13 Jun 2001 23:26:23 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jonathan Smith Cc: John Hay , current@FreeBSD.ORG Subject: Re: UDMA interfering with install References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jonathan Smith wrote: > > That's good enough. :) Thanks.... > > Maybe _that_ will keep that ata code from over-riding > the bios to disable dma (or maybe the bios just wasn't > doing it's job right ;) This won't work. Someone was having the same problem the other day, and I suggested the same soloution, but after probe, the damn driver enabled UDMA at attach time anyway. So we removed it from the kernel config... and the damn thing enabled it again. I don't know if the #ifdef was intended to only guard in the boot case, but it doesn't help, because there are several missign guards around the code, if that's the case, and at least four places in the code ignore the tuning variable, as well, if it isn't commented out of the kernel at build time (thus disabling one of the places). Look for the #ifdef, and then look for the function call to do the enable, and the problem will be obvious. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message