Subject: Re: pciide screwup...
To: Christos Zoulas <christos@zoulas.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 07/16/1999 16:12:14
On Fri, Jul 16, 1999 at 02:11:55AM -0400, Christos Zoulas wrote:
> [...]
> Then:
> 
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: ffs
> pciide0:0:0: lost interrupt
>         type: ata
>         c_bcount: 2048
>         c_skip: 0
> pciide0:0:0: Bus-Master DMA error: missing interrupt, status=0x41
> wd0a: DMA error writing fsbn 16 of 16-19 (wd0 bn 16; cn 0 tn 0 sn 16), retrying
> pciide0:0:0: lost interrupt
>         type: ata
>         c_bcount: 2048
>         c_skip: 0
> pciide0:0:0: Bus-Master DMA error: missing interrupt, status=0x41
> wd0: transfer error, downgrading to DMA mode 2
> wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
> wd0a: DMA error writing fsbn 16 of 16-19 (wd0 bn 16; cn 0 tn 0 sn 16), retrying
> wd0: soft error (corrected)
> 
> 
> After that it works correctly, but my disk light is always on :-)

This happens at the first transfer I think. Does wd1 works properly ?
Could you set wdcdebug_pciide_mask to 0x10 in your kernel and send me the
dmesg output ? I'd like to check if the timing registers are properly setup.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--