svn commit: r200121 - head/sys/dev/ata

Alexander Motin mav at
Tue Dec 8 14:36:33 UTC 2009

Pawel Jakub Dawidek wrote:
> On Sat, Dec 05, 2009 at 01:40:51PM +0000, Alexander Motin wrote:
>> Author: mav
>> Date: Sat Dec  5 13:40:51 2009
>> New Revision: 200121
>> URL:
>> Log:
>>   Do not ignore device interrupt if bus mastering is still active. It is
>>   normal in case of media read error and some ATAPI cases, when transfer size
>>   is unknown beforehand. PCI ATA BM specification tells that in case of such
>>   underrun driver should just manually stop DMA engine. DMA engine should
>>   same time guarantie that all bus mastering transfers completed at the moment
>>   of driver reads interrupt flag asserted.
>>   This change should fix interrupt storms and command timeouts in many cases.
>>   PR:		kern/103602, sparc64/121539, kern/133122, kern/139654
> I've a box where I see interrupt storm on. This is 8-STABLE with this
> patch applied.

Pawel found that it was not ATA issue, but USB. Fixed.

Alexander Motin

More information about the svn-src-head mailing list