5.3-RELEASE: WARNING - WRITE_DMA interrupt timout

Søren Schmidt sos at DeepCore.dk
Sat Nov 13 02:30:09 PST 2004


Poul-Henning Kamp wrote:
> In message <4195DB3E.2040807 at DeepCore.dk>, =?ISO-8859-1?Q?S=F8ren_Schmidt?= wri
> tes:
> 
> 
>>>It is not really the task of the ata driver to fail requests at that
>>>time.   How long is the timeout anyway ?
>>
>>Oh, ATA doesn't fail them, it just yells that the request hasn't been 
>>finished yet by the upper layers, it doesn't do anything to the request.
>>
>>Timeout is 5 secs, which is a pretty long time in this context IMHO..
> 
> Five seconds counted from when ?

Now thats the nasty part :)
ATA starts the timeout when the request is issued to the device, so 
theoretically the disk could take 4.9999 secs to complete the request 
and then the timeout fires before the taskqueue gets its chance at it, 
but IMHO thats pretty unlikely...

Anyhow, I can just remove the warning from ATA if that makes anyone 
happy, since its just a warning and ATA doesn't do anything with it at all.
However, IMNHO this points at a problem somewhere that we should better 
understand and fix instead.

-- 

-Søren



More information about the freebsd-current mailing list