lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <72dbd3151001271541l7026389fgd2c91f9ee6502472@mail.gmail.com>
Date:	Wed, 27 Jan 2010 15:41:02 -0800
From:	David Rees <drees76@...il.com>
To:	Vishal Rao <vishalrao@...il.com>
Cc:	Mark Lord <kernel@...savvy.com>,
	Alan Cox <alan@...rguk.ukuu.org.uk>, jgarzik@...ox.com,
	linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
	trivial@...nel.org, stable@...nel.org
Subject: Re: [PATCH] ata: Disable NCQ for Crucial M225 brand SSDs

On Wed, Jan 27, 2010 at 3:16 PM, Vishal Rao <vishalrao@...il.com> wrote:
> 2010/1/28 Mark Lord <kernel@...savvy.com>:
>> 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ