Re: [PATCH] ata: Disable NCQ for Crucial M225 brand SSDs

From: David Rees
Date: Wed Jan 27 2010 - 18:41:29 EST


On Wed, Jan 27, 2010 at 3:16 PM, Vishal Rao <vishalrao@xxxxxxxxx> wrote:
> 2010/1/28 Mark Lord <kernel@xxxxxxxxxxxx>:
>> The errors in that log indicate bad media.
>> So the question is, can you demonstrate Win7rc NOT having the same
>> errors when accessing the SAME (logical) sectors ?
>
> Would that mean I have to blow away my precious ext4 partitions and
> have them Win7rc NTFS formatted and run a full check-disk with
> bad block checking enabled?

No - you just need a tool to do a full read of the partition. You
could use the cygwin tools and dd, for example.

> In the mean time, can I run a linux command (please tell me what it is or
> I will search for something to run online) or tool while NCQ is disabled (via
> libata.force=noncq) that can do a disk scan with bad block checking?

badblocks <name of partition>

See the man page for more details, but that should do a read test -
may want to boot from a rescue disk or from another disk if possible
to run the test.

-Dave
--
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/