Subject: port-i386/9090: Generic i386 kernel uses DMA modes for ATA/IDE disks
To: None <gnats-bugs@gnats.netbsd.org>
From: None <timlee@netcom.com>
List: netbsd-bugs
Date: 12/31/1999 13:15:38
>Number:         9090
>Category:       port-i386
>Synopsis:       Generic i386 kernel uses DMA modes for ATA/IDE disks
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 31 13:15:01 1999
>Last-Modified:
>Originator:     Timothy J. Lee
>Organization:
>Release:        1.4.1
>Environment:
PC with Asus P5A motherboard with ALI Aladdin chipset (ALI M1543C IDE
controller), AMD K6-2 450 processor, 64 MB memory, IBM DPTA-371360
(34GXP 13.6GB ATA/IDE with UDMA) disk.
>Description:
Numerous DMA errors on wd0 are reported on the console.  These are
reported as soft errors and corrected.  Some are shown at install
time, but after booting the newly installed system, the errors make
recompiling the kernel (to turn off DMA use on ATA disks) very slow.
Problem appears to be swapping/paging related -- access to FFS on the
same disk gives fewer errors.
>How-To-Repeat:
Install NetBSD.  It can probably be replicated with a motherboard
with an ALI M1543C IDE controller and a new enough ATA/IDE disk
that supports UDMA.
>Fix:
The generic and install kernels for i386 should have DMA modes
disabled for ATA/IDE disks.
>Audit-Trail:
>Unformatted: