Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2004 10:26:18 +0200
From:      Mark Santcroos <marks@ripe.net>
To:        =?unknown-8bit?Q?S=F8ren?= Schmidt <sos@DeepCore.dk>
Cc:        current@freebsd.org
Subject:   Re: ATA_FLUSHCACHE failing
Message-ID:  <20040506082618.GA1193@laptop.6bone.nl>
In-Reply-To: <40994C78.9080707@DeepCore.dk>
References:  <20040505195425.GA2559@laptop.6bone.nl> <409948A7.1040100@DeepCore.dk> <20040505201128.GA768@laptop.6bone.nl> <40994C78.9080707@DeepCore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040506082618.GA1193>