From owner-freebsd-stable Thu Jan 3 6:56:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtpproxy1.mitre.org (smtpproxy1.mitre.org [129.83.20.90]) by hub.freebsd.org (Postfix) with ESMTP id 3BBE837B416 for ; Thu, 3 Jan 2002 06:56:47 -0800 (PST) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.11.3/8.11.3) with ESMTP id g03EuY827571; Thu, 3 Jan 2002 09:56:34 -0500 (EST) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtpsrv1.mitre.org (8.11.3/8.11.3) with ESMTP id g03EuXs03075; Thu, 3 Jan 2002 09:56:33 -0500 (EST) Received: from dhcp-105-164.mitre.org (128.29.105.164) by mailhub1.mitre.org with SMTP id 8710677; Thu, 03 Jan 2002 09:55:48 -0500 Message-ID: <3C34711E.913B7F14@mitre.org> Date: Thu, 03 Jan 2002 09:56:30 -0500 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.75 [en]C-20000818M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ian j hart Cc: Doug White , Thilo Mezger , stable@freebsd.org Subject: Re: RELENG_4_4: PIIX busmastering DMA not supported References: <3C33C475.B9A1F18@ntlworld.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ian j hart wrote: > > Doug White wrote: > > > > On Wed, 2 Jan 2002, Thilo Mezger wrote: > > > > > I was wondering if somebody could explain to me why busmastering DMA > > > is not supported in my setup (RELENG_4_4): > > > > > > # dmesg | grep ata > > > atapci0: port 0xfcf0-0xfcff at device 1.1 on pci0 > > > atapci0: Busmastering DMA not supported > > > > According to the code, your controller does not claim to support DMA. The > > original PIIX probably didn't support it, thinking about it... > > > > Check your BIOS settings and verify that you didn't disable DMA at some > > point in the past. > > This should be the 430 FX (triton) chipset which > claims to support WDMA2. IIRC these could be a bit flakey, > unlike the HX (triton II), which actually works ;) I've had similar problems getting DMA working on a PIIX3 (which according to Intel is a very simliar chip to the PIIX). One thing that caught my eye in the datasheets was the PIIX[3] supposedly only works as a DMA slave device. If your drive doesn't support busmastering (or only supports it as a slave as I suspect mine does (an IBM-DAQA-33240), but the interface spec is unclear on the matter), then the best you can do with these chips is PIO4. -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message