From owner-freebsd-stable Mon Mar 22 5: 9:39 1999 Delivered-To: freebsd-stable@freebsd.org Received: from st-lcremean.tidalwave.net (host-e186.tidalwave.net [208.213.203.186]) by hub.freebsd.org (Postfix) with ESMTP id EAFF2150B8 for ; Mon, 22 Mar 1999 05:09:35 -0800 (PST) (envelope-from lee@st-lcremean.tidalwave.net) Received: (from lee@localhost) by st-lcremean.tidalwave.net (8.9.2/8.9.2) id IAA37943; Mon, 22 Mar 1999 08:09:11 -0500 (EST) (envelope-from lee) Message-ID: <19990322080910.A37915@tidalwave.net> Date: Mon, 22 Mar 1999 08:09:10 -0500 From: Lee Cremeans To: "Jeroen C. van Gelderen" , freebsd-stable@FreeBSD.ORG Subject: Re: PIIX4 but no UDMA? Reply-To: lcremean@tidalwave.net References: <36F611BD.9156B708@vangelderen.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <36F611BD.9156B708@vangelderen.org>; from Jeroen C. van Gelderen on Mon, Mar 22, 1999 at 10:47:41AM +0100 X-OS: FreeBSD 3.0-STABLE Organization: My room? Are you crazy? :) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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): > 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