Re: Frequent SATA resets with sata_nv (fwd)

From: Alistair John Strachan
Date: Sun Jun 24 2007 - 13:09:46 EST


(Sorry, accidentally dropped LKML)

On Sunday 24 June 2007 01:52:30 you wrote:
> Googling around lkml.org, I found a few threads investigating what look
> like very similar problems, some of which never seemed to find the
> solution, but one of which came up with a fairly quick answer it seemed,
> namely that the drive's NCQ implementation was horked:
> http://lkml.org/lkml/2007/4/18/32

Well, there's been generic problems with the ADMA code on the CK804, but I
think Robert fixed them (added CC). I've certainly had NO problems since
2.6.21.

However, assuming the drive's NCQ _is_ busted and needs to be blacklisted, you
might find you can temporarily work around the problem by loading the sata_nv
module with adma=0, or boot with sata_nv.adma=0. Not to point the finger at
ADMA support specifically, of course, but simply that ADMA enables the NCQ
features.

It'd be good if you could report back whether this helps fix it.

> While I don't have older logs to verify exactly when this started, it
> was fairly recent, perhaps around my 2.6.20.1 to 2.6.21.1 kernel
> upgrade.

Yes, this is probably around the time adma became the default.

--
Cheers,
Alistair.

Final year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/