Subject: UDMA + Ali M5229 -problems
To: None <port-i386@netbsd.org>
From: Jussi Teppo <justepp@cc.jyu.fi>
List: port-i386
Date: 07/21/2001 20:51:03
Hi!

I've recently upgraded my server hardware (Asus P5A) and installed NetBSD
1.5.1 on it. Everything else went just fine but I'm getting the following
errors:

wd0: transfer error, downgrading to PIO mode 4
wd0(pciide0:0:0): using PIO mode 4
wd0e: aborted command, interface CRC error reading fsbn 646592 of
646592-646607
(wd0 bn 2265330; cn 2247 tn 7 sn 23), retrying
wd0: soft error (corrected)

Here's the output of dmesg:

NetBSD 1.5.1 (FENRIS) #0: Fri Jul 20 19:08:13 EEST 2001
    justepp@fenris:/usr/src/sys/arch/i386/compile/FENRIS
cpu0: AMD K6-2 (586-class), 451.03 MHz
total memory = 127 MB
avail memory = 114 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xf06f0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Acer Labs M1541 Host-PCI Bridge (rev. 0x04)
ppb0 at pci0 dev 1 function 0: Acer Labs product 0x5243 (rev. 0x04)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0
dev 3 function 0 not configured
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
.
.
pciide0 at pci0 dev 15 function 0: Acer Labs M5229 UDMA IDE Controller
(rev. 0xc1)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <Maxtor 33073H3>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 29312 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 60032448
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
.
.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data
transfers)
wd0a: DMA error reading fsbn 64 of 64-79 (wd0 bn 127; cn 0 tn 2 sn 1),
retrying
wd0: soft error (corrected)
.
.

Does anyone know of a solution that would enable me to use UDMA with the
hard drive?

Thanks in advance:-)

-- 
Jussi Teppo
justepp@cc.jyu.fi