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

From: Vishal Rao
Date: Wed Jan 27 2010 - 21:12:48 EST


2010/1/28 Vishal Rao <vishalrao@xxxxxxxxx>:
> 2010/1/28 David Rees <drees76@xxxxxxxxx>:
>>
>> 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.
>
> The first "badblocks /dev/sda7" run went ahead with no output.

here's the output, let me know if im doing something incorrect and/or
any of you need further info/testing from me:

vishal@thunderbird:~$ sudo badblocks -nv /dev/sda7 | tee badblocks.txt
[sudo] password for vishal:
Checking for bad blocks in non-destructive read-write mode
>From block 0 to 25173822
Testing with random pattern: Pass completed, 0 bad blocks found.
vishal@thunderbird:~$ cat badblocks.txt
vishal@thunderbird:~$ dmesg | grep ata1
[ 0.890636] ata1: SATA max UDMA/133 abar m2048@0xe3225000 port
0xe3225100 irq 30
[ 1.420680] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 1.420952] ata1.00: HPA unlocked: 250067567 -> 250069680, native 250069680
[ 1.420959] ata1.00: ATA-8: CRUCIAL_CT128M225, 1916, max UDMA/133
[ 1.420962] ata1.00: 250069680 sectors, multi 1: LBA48 NCQ (not used)
[ 1.421629] ata1.00: configured for UDMA/133
vishal@thunderbird:~$ uname -a
Linux thunderbird 2.6.32-11-generic #16~vishalrao2 SMP Tue Jan 26
19:03:33 IST 2010 x86_64 GNU/Linux
vishal@thunderbird:~$
--
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/