Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 12:46:38 -0500
From:      Rob Ellis <rob@web.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   DMA errors
Message-ID:  <19991220124638.B37447@web.net>

next in thread | raw e-mail | index | archive | help
I'm trying to install 2 IBM deskstars in a box with an
Asus P5A-B motherboard... 

> 3.4-RC FreeBSD 3.4-RC #5: Fri Dec 17 13:11:00 EST 1999

> wdc0 at 0x1f0-0x1f7 irq 14 flags 0xb0ffb0ff on isa
> wdc0: unit 0 (wd0): <Maxtor 90750D3>, LBA, DMA, 32-bit, multi-block-16
> wd0: 7152MB (14649264 sectors), 911 cyls, 255 heads, 63 S/T, 512 B/S
> wdc0: unit 1 (wd1): <IBM-DPTA-372050>, LBA, DMA, 32-bit, multi-block-16
> wd1: 19574MB (40088160 sectors), 2495 cyls, 255 heads, 63 S/T, 512 B/S
> wdc1 at 0x170-0x177 irq 15 flags 0xb0ffb0ff on isa
> wdc1: unit 0 (wd2): <IBM-DPTA-372050>, LBA, DMA, 32-bit, multi-block-16
> wd2: 19574MB (40088160 sectors), 2495 cyls, 255 heads, 63 S/T, 512 B/S

In the bios, there's a chipset setting for 'IDE Ultra DMA Mode',
which can be set to DISABLED or AUTO; if I set it to AUTO, 
with DMA enabled in the kernel (wd flags), I get get regular 
errors like this:

  > wd1: DMA failure, DMA status 5<active>
  > wd2: DMA failure, DMA status 5<active>

It doesn't seem to cause any filesystem problems so far.

If I turn off DMA in the bios, the errors go away, but I 
assume so does DMA (?). (There are separate PIO/DMA mode
settings in the bios for each IDE device, but it seems like 
these are only meaningful if the general DMA setting is set?)

I've tried UDMA cables, and updated the bios (to v. 1008),
with no effect.

The disks are set up as a vinum mirror, if that's relevant.

The board supports UDMA/33, but not UDMA/66. So I tried 
using an IBM utility to set the drives to use UDMA/33
rather than negotiate the speed, but that didn't help.

I've also tried the same thing in another machine with 
Quantum KA disks, a similar ASUS board, a slightly earlier 
version of the bios, and FreeBSD 3.3-STABLE, also with
vinum -- with exactly the same result.

Any pointers/help would be appreciated.

Thanks.

- Rob

--
Rob Ellis <rob@web.net>
System Administrator, Web Networks


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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