Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2014 01:37:17 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        arch@freebsd.org, Poul-Henning Kamp <phk@phk.freebsd.dk>
Subject:   Re: enable TRIM by default ?
Message-ID:  <DA07E4F1-625B-46B1-A092-C99D6FA05385@bsdimp.com>
In-Reply-To: <20141203083444.GD13944@server.rulingia.com>
References:  <89094.1417506193@critter.freebsd.dk> <20141203071447.GC13944@server.rulingia.com> <D89BEB95-3043-4136-AC65-FE6CF2D0EC4D@bsdimp.com> <20141203083444.GD13944@server.rulingia.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]


> On Dec 3, 2014, at 1:34 AM, Peter Jeremy <peter@rulingia.com> wrote:
> 
> On 2014-Dec-03 00:45:47 -0700, Warner Losh <imp@bsdimp.com> wrote:
>> 
>>> On Dec 3, 2014, at 12:14 AM, Peter Jeremy <peter@rulingia.com> wrote:
>>> 
>>> On 2014-Dec-02 07:43:13 +0000, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
>>>> Isn't it time that we enable TRIM by default in newfs ?
>>> 
>>> As an alternative viewpoint, I have a SSD that got severe indigestion when
>>> I tried to enable TRIM:
>>> aspire kernel: ad0: TIMEOUT - CFA ERASE retrying (1 retry left)
>>> aspire kernel: ad0: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly
>>> aspire kernel: ata1: error issuing SETFEATURES ENABLE WCACHE command
>>> aspire kernel: ata1: error issuing SET_MULTI command
>>> aspire kernel: ata1: error issuing WRITE_DMA command
>>> The kernel then went to 1 core of interrupt and wedged.
>> 
>> Is this a SSD, or a CF card of some flavor. The CFA ERASE trim method
>> pre-dates the much better and easier to use DSM (Data Set Trim) method
>> that more modern SSDs use. Perhaps we can take a cue off of that? Or
>> maybe the detection for when to use CFA ERASE is busted since it was
>> only ever supposed to be used with CF cards...
> 
> 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.

Also just noticed this is the ad driver, not the ada driver. Is the above dmesg from
8.x?

Warner


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJUfsu9AAoJEGwc0Sh9sBEA3YgQAJHLfKO8h7JqbKjZtZTREzss
063r07PcxTvKkQf4fhS6WcgQ+VRzmXhoG9VTRq/ppG/GFyu7kcU769+NfX5vx8KD
dq7eAdnN05RreOJdJBLFFGCb0iWLdDlHTjo70zPeTCL56ecNNzi25a8+v5K46Nkn
eEWmSveo/w6u5An2HNTNeTRxtPoWFvTTyY/6u7080ep2/M8WAKJ2/rBds7m2rDby
EUa97SZB/tn6zbEfldYafw2pmQJq2k8TfI4Qli6jrFSWK+0ynXnMqu+zd8f/1Wq+
MTnAE+2uXMRU9vHLTSJXQ4YW62yYYTwslBYOskHFLRcIcqokt4uiLuvOzS9+cGRB
Md83XXcKtyPm4aYASVe/HimK9pdTepgMvuebyjDTO5iUW/tmNLck2f0EZfAra/cu
5H/IwTkzpV8WztCHfvSO6EC+7o9B1YtJDTf23xegynVTKWmc3LoUBZW2PvUiJy+R
ZCh9NvY6cgJ9CQdlqSgx/+FpouNcQt+rRGPFwY4r/oQwm88a2SsuhP6Ox8kjtcBp
YZpV0dTNi0+MFTcJdNC7ZPW5as3CcQoMzHTIk8kQsmR+cyyueM7YbF2mxi3TRM+T
biP17aAgsMjBAyCdwZMtdcR5Gz/Yo1N8j0oVKlEPFgB6s6pv4AaKMMOYyol6GAQP
PQXb56oUUDf/22IzCxLn
=tcCQ
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DA07E4F1-625B-46B1-A092-C99D6FA05385>