Subject: Re: Bus-Master DMA missing interrupt?
To: Johan Ihren <johani@pdc.kth.se>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 03/18/1999 13:05:53
On Mar 18, Johan Ihren wrote
> Yo,
> 
> I upgraded my laptop from a -current dated roughly March 2 to one
> dated about March 15 and started seeing this in the logs:
> --------
> Mar 18 11:30:28 wanda /netbsd: pciide0:0:0: lost interrupt
> Mar 18 11:30:28 wanda /netbsd:  type: ata
> Mar 18 11:30:28 wanda /netbsd:  c_bcount: 8192
> Mar 18 11:30:28 wanda /netbsd:  c_skip: 0
> Mar 18 11:30:28 wanda /netbsd: pciide0:0:0: Bus-Master DMA error: missing interrupt, status=0x1
> [...]
> --------
> I didn't notice it immediately, because it doesn't seem to happen much
> when the disk is busy...as far as I can tell it happens mostly when
> the machine is idling an the update sweeps by every 30s. 

I lowered the timeout from 10s to 1s, but it caused problems with some
power-manageemnt stuffs. I reverted back to a 10s timeout yesterday.
Could you try a newer kernel, or alternatively change
ATA_DELAY_NORMAL from 1000 to 10000 in sys/dev/ata_wdc.c

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