Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 1999 08:09:10 -0500
From:      Lee Cremeans <lee@st-lcremean.tidalwave.net>
To:        "Jeroen C. van Gelderen" <jeroen@vangelderen.org>, freebsd-stable@FreeBSD.ORG
Subject:   Re: PIIX4 but no UDMA?
Message-ID:  <19990322080910.A37915@tidalwave.net>
In-Reply-To: <36F611BD.9156B708@vangelderen.org>; from Jeroen C. van Gelderen on Mon, Mar 22, 1999 at 10:47:41AM %2B0100
References:  <36F611BD.9156B708@vangelderen.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 22, 1999 at 10:47:41AM +0100, Jeroen C. van Gelderen wrote:
> Hi,
> 
> The following machine:

[snip]

> 
> appears to have a PIIX4 controller:
> 
> [...]
> found-> vendor=0x8086, dev=0x7111, revid=0x01
>         class=01-01-80, hdrtype=0x00, mfdev=0
>         subordinatebus=0        secondarybus=0
>         map[0]: type 4, range 32, base 0000f000, size  4
> ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1

[snip]

> which AFAIK should talk UDMA to the following drive:
> 
> [...]
> wdc0 at 0x1f0-0x1f7 irq 14 on isa
> wdc0: unit 0 (wd0): <ST39140A>
> wd0: 8693MB (17803296 sectors), 17662 cyls, 16 heads, 63 S/T, 512 B/S
> wd0: ATA INQUIRE valid = 0007, dmamword = 0007, apio = 0003, udma = 0407
> [...]
> 
> The BIOS reports that this drive is UDMA capable and UDMA seems to be
> enabled in the BIOS. FreeBSD however, doesn't report UDMA functionality
> in the verbose boot. I tried to mess a bit with the source to find out
> why UDMA doesn't get enabled, but this is beyond me or my spare time :-(
> Anybody any clues?

FreeBSD has DMA support turned off by default. Add "flags 0xa0ffa0ff" to the
wdc0 line in your kernel config, or in user config with the flags command,
and it should work.

-- 
+--------------------------------------------------------------------+
|      Lee Cremeans -- Manassas, VA, USA  (WakkyMouse on WTnet)      |  
|    lcremean@tidalwave.net| http://st-lcremean.tidalwave.net/~lee   |



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990322080910.A37915>