Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2001 12:22:35 -0800 (PST)
From:      Joey <joey@kjdesigns.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/31736: DMA mode not possible switching to PIO mode?
Message-ID:  <200111032022.fA3KMZu82980@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <Maxtor 91728D8> [33483/16/63] at ata0-slave UDMA33
acd0: CDROM <CD-ROM 40X/AKU> 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




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