ATA_FLUSHCACHE failing

Mark Santcroos marks at ripe.net
Thu May 6 01:28:11 PDT 2004


On Wed, May 05, 2004 at 10:20:08PM +0200, Søren Schmidt wrote:
> Hmm, first you could enable the ATA request debug code in ata-all.h, 
> then set the ATA_R_DEBUG flag when the flush command is issued. That 
> should give an idea where it goes south...

... Queued ...
... Starting ...
... Transaction ...
... Wait for completion ...

And there it ends, waiting on the semaphore, that will never return/change.

So as you know the next event should be the interrupt that comes in ...

Another "fix" would be to set a timeout on the semaphore, but that might
just be a workaround also ..

Mark


More information about the freebsd-current mailing list