Date: Thu, 14 Jun 2001 08:48:43 +0200 (SAT) From: John Hay <jhay@icomtek.csir.co.za> To: tlambert2@mindspring.com Cc: current@FreeBSD.ORG Subject: Re: UDMA interfering with install Message-ID: <200106140648.f5E6mhZ52549@zibbi.icomtek.csir.co.za> In-Reply-To: <3B28590F.E8930BB7@mindspring.com> from Terry Lambert at "Jun 13, 2001 11:26:23 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> > > > 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. What do you mean with this? The procedure that I described (barring typos) do work here and was used here to install and run FreeBSD on a silly A+ motherboard. Without disabling the DMA the install would fail and even if I installed with DMA disabled, but rebooted afterwards with DMA enabled, it would corrupt the filesystem to an almost unusable state. > > 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. I'm not sure where the #ifdef comes into play. I didn't even recompile anything, so whatever #ifdef can be whatever it likes to be. Jun 5 18:42:51 d-5-71 /boot/kernel/kernel: ad0: 4104MB <SAMSUNG SW0434A (4.3GB)> [8896/15/63] at ata0-master PIO4 John -- John Hay -- John.Hay@icomtek.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106140648.f5E6mhZ52549>