From owner-freebsd-arch@FreeBSD.ORG Thu Dec 4 01:04:52 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C7C3A673; Thu, 4 Dec 2014 01:04:52 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 81D8AAA7; Thu, 4 Dec 2014 01:04:52 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id sB414oGW013782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Dec 2014 17:04:51 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id sB414ntu013781; Wed, 3 Dec 2014 17:04:49 -0800 (PST) (envelope-from jmg) Date: Wed, 3 Dec 2014 17:04:49 -0800 From: John-Mark Gurney To: Jung-uk Kim Subject: Re: enable TRIM by default ? Message-ID: <20141204010449.GP99957@funkthat.com> Mail-Followup-To: Jung-uk Kim , Peter Jeremy , Poul-Henning Kamp , arch@freebsd.org References: <89094.1417506193@critter.freebsd.dk> <20141203071447.GC13944@server.rulingia.com> <20141203083444.GD13944@server.rulingia.com> <94311.1417596043@critter.freebsd.dk> <20141203185519.GF13944@server.rulingia.com> <547F6775.2060803@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <547F6775.2060803@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Wed, 03 Dec 2014 17:04:51 -0800 (PST) Cc: arch@freebsd.org, Poul-Henning Kamp X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2014 01:04:52 -0000 Jung-uk Kim wrote this message on Wed, Dec 03, 2014 at 14:41 -0500: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 12/03/2014 13:55, Peter Jeremy wrote: > > On 2014-Dec-03 08:40:43 +0000, Poul-Henning Kamp > > wrote: > >> -------- In message <20141203083444.GD13944@server.rulingia.com>, > >> Peter Jeremy writes: > >> > >>> It's a Super Talent FEM16GF13M - which describes itself as a > >>> SSD and has a PATA interface. That trial was ~3 years ago and > >>> so probably on 8.x. > >> > >> A lot of scammers realized that if they put a CF card inside a > >> big box they could charge twice the price. > > > > In this case, it's a bare PCB with the chips soldered onto it (I > > didn't keep a record of the chips). Possibly they've copied > > firmware from a CF controller but it definitely doesn't have a CF > > card in it. > > I looked it up on Amazon and it had photos. It seems the card has > Phison P3016-P7-L on it[1] and it looks like a low-cost CF controller > supporting CF 5.0 spec[2]. Unfortunately, TRIM was added in CF 6.0[3]. If we tried to enable CFA ERASE on a card not supporting it, we should fix our driver, though if they lied about which CF spec they support, then there isn't much we can do except add a quirk... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."