From owner-freebsd-questions Mon Jun 25 17:19:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp8.xs4all.nl (smtp8.xs4all.nl [194.109.127.134]) by hub.freebsd.org (Postfix) with ESMTP id BBE9337B405 for ; Mon, 25 Jun 2001 17:19:38 -0700 (PDT) (envelope-from svenv@xs4all.nl) Received: from xs4all.nl (freegw.xs4all.nl [213.84.87.28]) by smtp8.xs4all.nl (8.9.3/8.9.3) with ESMTP id CAA00512 for ; Tue, 26 Jun 2001 02:19:37 +0200 (CEST) Received: from swam (swam.home [192.168.0.10]) by xs4all.nl (8.11.3/8.11.3) with SMTP id f5Q0Ja801217 for ; Tue, 26 Jun 2001 02:19:36 +0200 (CEST) (envelope-from svenv@xs4all.nl) Message-ID: <00bd01c0fdd6$2fcbfbe0$0a00a8c0@home> From: "Sven Vermeulen" To: "FreeBSD questions mailinlist" Subject: problem enabling DMA on PCI ATA controller Date: Tue, 26 Jun 2001 02:23:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'am having problems with enabling DMA on my IDE controller. I don't certainly know if my controller supports DMA, but when my system (4.3-release) boots I receive the following messages from the ata driver: atapci0: port 0x3000-0x300f,0-0x3,0-0x7,0-0x3,0-0x7 at device 18.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 .... ad0: 1907MB [3876/16/63] at ata0-master BIOSDMA acd0: CDROM at ata0-slave using PIO3 Mounting root from ufs:/dev/ad0s1a ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ad0: trying fallback to PIO mode ata0: resetting devices .. done So may'be my controller does support DMA because of the string "BIOSDMA"? But at the end ad0 falls back to PIO mode. This points to a problem with the controller? Or has it something to do with the BIOS which doesn't support DMA? May'be somebody can shine some light on this. Here are the sysctls for the ata driver: hw.ata.ata_dma: 1 hw.ata.wc: 0 hw.ata.tags: 0 hw.ata.atapi_dma: 1 hw.atamodes: pio,pio, I'am using a (Biostar??) MB-8433UUD 486 mainboard and an AMD Am5x86 (486-class CPU) processor. The mainboard has a built-in IDE controller (I don't know which chipset and manufacturer) Thanks in advance, Sven. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message