From owner-freebsd-bugs Sat Nov 3 12:30:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2D0D537B418 for ; Sat, 3 Nov 2001 12:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA3KU2R83917; Sat, 3 Nov 2001 12:30:02 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 54E6637B416 for ; Sat, 3 Nov 2001 12:22:35 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA3KMZu82980; Sat, 3 Nov 2001 12:22:35 -0800 (PST) (envelope-from nobody) Message-Id: <200111032022.fA3KMZu82980@freefall.freebsd.org> Date: Sat, 3 Nov 2001 12:22:35 -0800 (PST) From: Joey To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/31736: DMA mode not possible switching to PIO mode? Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31736 >Category: misc >Synopsis: DMA mode not possible switching to PIO mode? >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 03 12:30:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Joey >Release: FreeBSD 4.4-RELEASE >Organization: KJ Designs >Environment: FreeBSD kjdesigns.xs4all.nl 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sat Nov 3 17:15:52 CET 2001 breezer@kjdesigns.xs4all.nl:/usr/src/sys/compile/NIEUW i386 >Description: When booting FreeBSD the following error came up. It looks like there is an error with writing in DMA mode to my harddisk and after a few retries it is switching from DMA to PIO mode. My harddisk is 100% correct and supports DMA33/66 and my motherbord with SiS 5591 chipset works fine, also the cable is correct (more cables allready tried). Under linux everything is working fine... (when I go on and ignore the error it looks like my system becomes unstable) dmesg: ad1: 16479MB [33483/16/63] at ata0-slave UDMA33 acd0: CDROM at ata1-slave using PIO4 Mounting root from ufs:/dev/ad1s1a ad1: WRITE command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad1: WRITE command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad1: WRITE command timeout tag=0 serv=0 - resetting ata0: resetting devices .. done ad1: WRITE command timeout tag=0 serv=0 - resetting ad1: trying fallback to PIO mode ata0: resetting devices .. done >How-To-Repeat: Everytime on booting the problem exist... >Fix: There is a little solution to call sysctl before mounting the harddisk and give it the command to setting dma to pio mode, but pio mode is much slower then DMA mode, about 9 mb/s with linux... If it's possible I want to run in DMA mode offcourse :) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message