From owner-freebsd-stable@FreeBSD.ORG Tue Feb 9 11:22:10 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C59161065670 for ; Tue, 9 Feb 2010 11:22:10 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id AAB688FC13 for ; Tue, 9 Feb 2010 11:22:10 +0000 (UTC) Received: from omta03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by qmta03.emeryville.ca.mail.comcast.net with comcast id fnHk1d0010b6N64A3nNBUm; Tue, 09 Feb 2010 11:22:11 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta03.emeryville.ca.mail.comcast.net with comcast id fnNA1d0013S48mS8PnNAaB; Tue, 09 Feb 2010 11:22:10 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id DCCDB1E3033; Tue, 9 Feb 2010 03:22:08 -0800 (PST) Date: Tue, 9 Feb 2010 03:22:08 -0800 From: Jeremy Chadwick To: freebsd-stable@freebsd.org Message-ID: <20100209112208.GA33249@icarus.home.lan> References: <20100208145504.762eaa7b.gerrit@pmp.uni-hannover.de> <20100208142259.GA3210@icarus.home.lan> <4b713c02.ejMC00AVbJJ8gHAw%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4b713c02.ejMC00AVbJJ8gHAw%perryh@pluto.rain.com> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: one more load-cycle-count problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2010 11:22:10 -0000 On Tue, Feb 09, 2010 at 02:42:10AM -0800, perryh@pluto.rain.com wrote: > Jeremy Chadwick wrote: > > The DOS utilities submit custom ATA CMDs or data to all WD disks > > to toggle or adjust these features. If someone could figure out > > what the command(s) were, the feature(s) could be implemented into > > atacontrol(8). Of course, that would require reverse-engineering > > of the EXEs ... > > Or use of an ATA analyzer (think wireshark, but for ATA). 1) ...which are guaranteed to be outrageously expensive: - LeCroy SATAAnalyzer -- price unknown, requires you to mail company for quote. LeCroy bought out Catalyst (known for their STX Series). - SerialTek BusXpert Micro -- same situation. - SerialTek BusXpert PRO -- same situation. - DataTransit BusDoctor + BusDoctor Rx module -- same situation. - Xgig Bus Doctor 1.5G/3G SATA Protocol Analyser -- same situation. - Xgig 6G SAS/SATA Analyzer -- same situation. - Absolute Analysis Investigator SATA Analyser -- same situation. Usually this means the products are in the multi-thousand USD range, if not tens of thousands. Google Shopping turns up very few results, including one from eBay. I rest my case: - DataTransit DrSATA analyser (EOL'd long ago) -- US$1,200 - LeCroy SA005APA-X analyser -- US$4,992 - SerialTek BusXpert Micro -- US$20,521 - SerialTek BusXpert PRO -- US$52,889 2) ...which would still be sufficient grounds for WD to sue (under DMCA) whoever was responsible for the reverse-engineering efforts. My advice would be to RE the EXE, simply because the binary requires that the SATA controller be operating with AHCI disabled, or be in PATA Emulation mode. IDA Pro could probably make this task easier, but the binary runs using a DOS extender (protected mode wrapper; think DOS4GW). I've had WDTLER generate an exception error on first use but proceed to work fine during subsequent uses. Am I willing to do any of this? Absolutely not -- DMCA violation has serious repercussions to a person, both professionally and financially. It's not worth the risk; God bless the United States. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |