From owner-freebsd-current Wed Jun 13 23:49:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id E48B637B401 for ; Wed, 13 Jun 2001 23:49:45 -0700 (PDT) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.11.3/8.11.3) id f5E6mpN55647; Thu, 14 Jun 2001 08:48:51 +0200 (CEST) (envelope-from sos) From: Søren Schmidt Message-Id: <200106140648.f5E6mpN55647@freebsd.dk> Subject: Re: UDMA interfering with install In-Reply-To: <3B28590F.E8930BB7@mindspring.com> "from Terry Lambert at Jun 13, 2001 11:26:23 pm" To: tlambert2@mindspring.com Date: Thu, 14 Jun 2001 08:48:05 +0200 (CEST) Cc: Jonathan Smith , John Hay , current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 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 It seems Terry Lambert wrote: > 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. Just set hw.ata.ata_dma="0" in /boot/loader.conf and it will not enabled DMA.. > So we removed it from the kernel config... and the damn > thing enabled it again. There is nothing in the config file that affects DMA... > 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. You lost me here, what version of FreeBSD are we talking about ? I thought it was 4.3 but that doesn't contain any ifdef's about DMA at all.... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message