Subject: Re: viaide(4) error messages.
To: Juan RP <juan@xtraeme.nopcode.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 09/21/2004 20:22:22
On Tue, Sep 21, 2004 at 12:39:09PM +0200, Juan RP wrote:
> > 
> > Hi, I'm getting the following messages on 2.0_BETA (sources
> > from today):
> > 
> > wd0: transfer error, downgrading to Ultra-DMA mode 2
> > cd0(viaide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> > wd0(viaide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
> > data
> > transfers) wd0e: error reading fsbn 7889664 of 7889664-7889691 (wd0 bn
> > 10048863;
> > cn 9969 tn 1 sn 48), retrying wd0: (aborted command, interface CRC error)
> > wd0: soft error (corrected)
> > viaide0:0:1: intr with DRQ (st=0x58)
> > wd0: transfer error, downgrading to Ultra-DMA mode 1
> > cd0(viaide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> > wd0(viaide0:0:1): using PIO mode 4, Ultra-DMA mode 1 (using DMA data
> > transfers)
> > wd0a: device timeout writing fsbn 30816 of 30816-30831 (wd0 bn 30879; cn 30 tn
> > 10 sn 9), retrying wd0: soft error (corrected)
> 
> Some more messages:
> 
> viaide0:0:1: intr with DRQ (st=0x58)
> wd0: transfer error, downgrading to PIO mode 4
> cd0(viaide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> wd0(viaide0:0:1): using PIO mode 4
> wd0g: device timeout writing fsbn 13782976 of 13782976-13783007 (wd0 bn
> 58951519; cn 58483 tn 10 sn 25), retrying viaide0:0:1: recal error (4)
> wd0g: error writing fsbn 13782976 of 13782976-13783007 (wd0 bn 58951519; cn
> 58483 tn 10 sn 25), retrying wd0: (aborted command)
> wd0: soft error (corrected)

This mean you have electrical problems on the IDE bus, which cause either
the data transfered to be corrupted (the CRC errors), or control lines to
miss a transition ("device timeout" typically mean it missed an interrupt).
Check the cable, and maybe power supply.
Also try to swap the disk and CD, and put the CD as slave and disk as master.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--