From owner-freebsd-stable@freebsd.org Thu Feb 27 13:06:53 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3D376240EEB for ; Thu, 27 Feb 2020 13:06:53 +0000 (UTC) (envelope-from theron.tarigo@gmail.com) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48StGz1lWfz4KQN for ; Thu, 27 Feb 2020 13:06:51 +0000 (UTC) (envelope-from theron.tarigo@gmail.com) Received: by mail-qt1-x831.google.com with SMTP id v25so2171960qto.7 for ; Thu, 27 Feb 2020 05:06:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=J6j1r68gh6Ff0uIFKCC6gdtLCGi5G3YdL+vFvep0Kv0=; b=Mv5bwLznUyiwZRDJtIQJSVxEZZPYeL1V/iqhxLrcAEvS4jHEjZNvnOXci9VLvw+aBs bRzg7y2ZLAIN2x0611jnb+yttVjoclb99wQOSJrc4Gy1qOv7EaDmy6UVX/ZL3YjAUVMM JOJqXBJxEUKblK1YxkMbY7drK4vIzpqky2dfTnjkXygm3lYmTcbrY4UDio5NFxa6kUAW gPQO+XMJ8wSYdgOh+O8iE2HYJRH90UfhcFgRJyEnWk3JiVUlmK1Bt0nEPASGkpHvIN4S 27Bm5d2fPKNKxKHC9tbwEVUHXavOdQee+7rxpU5BTMd4RXdQoAOg1Hi2ObETMAL4hAgQ /yIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=J6j1r68gh6Ff0uIFKCC6gdtLCGi5G3YdL+vFvep0Kv0=; b=jPdBTcpCxB0i/Ls1UPjeEjjEps4N7+XgTFDNDP8QsIyWps+rARxvMzVmWFBl6/LonB QpqCbp4V4VK9q1EMDkrC9AdGaG/BWw+R7dce3cNBG4mh9v6flEyy3CNO3S4BmsICmKWo 2fUNZdVJIQf08m7MhZkib9o4PiLECcZHTVcV7dqs7jE96gsSrHk18pFGL15uOfZx8J9/ HbpZtH0sCZLprJBn9YzqnH3zg3+iZwi1vhlQdo86UcwtwsdMqj6lKAhSDM8Tlyys4yg/ oSnCsBF1Y975ZpZg3XjCU16QwNlvJGlesSdlnVxqWCyChSgvYoofrm49olNpGTh5f136 2BrQ== X-Gm-Message-State: APjAAAXrQ6/eeGCJN3N7B7Y9VbyqduDT87DoCFhJBd/FuVEeubNHgt1T li2eRdrGmdMnCFiB1dC+2DGpGm3z X-Google-Smtp-Source: APXvYqwtdkXm5XCCwTc0rBc8GKATBGtkJEQIeS+O2p74UKyR42JEPdVdZyti8O+hyCYqK3i80kyc4Q== X-Received: by 2002:aed:3fce:: with SMTP id w14mr5213469qth.0.1582808808320; Thu, 27 Feb 2020 05:06:48 -0800 (PST) Received: from [155.41.96.69] (dhcp-wifi-8021x-155-41-96-69.bu.edu. [155.41.96.69]) by smtp.gmail.com with ESMTPSA id z21sm2946376qka.122.2020.02.27.05.06.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Feb 2020 05:06:47 -0800 (PST) Sender: Theron Tarigo Subject: Re: Running FreeBSD on M.2 SSD To: freebsd-stable@freebsd.org References: <202002250115.01P1F9KX090465@mail.karels.net> <188F34DA-192C-4D44-96B5-18A7DAE8EC67@digsys.bg> <6028c786-8610-01d9-818e-6f69a2fe9645@ingresso.co.uk> <20200225145346.GA42880@phouka1.phouka.net> <6e329bb8-b96e-fa16-cc73-426685593943@denninger.net> <20200226234823.GB22189@lonesome.com> From: Theron Message-ID: <397e40c1-1c61-e70d-1c6c-c22c784406d5@gmail.com> Date: Thu, 27 Feb 2020 08:06:46 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 48StGz1lWfz4KQN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Mv5bwLzn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of therontarigo@gmail.com designates 2607:f8b0:4864:20::831 as permitted sender) smtp.mailfrom=therontarigo@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.22), ipnet: 2607:f8b0::/32(-1.88), asn: 15169(-1.67), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[1.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2020 13:06:53 -0000 On 2020-02-26 22:54, Mario Olofo wrote: > Hello Mark, > > Yes, I think that it's related to the WD Green SSD. > Today I found this bug on FreeBSD's bugzilla: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225666 > > Tried to reinstall and recompile the kernel with the patch but it didn't > work, I continue to see corrupted data. > I think that the only way to be really sure about the corrupted data is to > reinstall again but already boot with the quirks configured, but the > kern.cam.ada.X.quirks don't seems to exists on FreeBSD 12, > so I have a probability of corruption between installation and compilation > of the patched kernel... > > Don't know what more to do... > > Mario > Hi, please forgive my lack of experience with ZFS, but with regard to buggy SATA something hasn't been brought up yet: If ZFS is sitting on top of GPT, what sectorsize and offset are used?  What blocksize is "native" to the drive?  Are these aligned? I recall this chance for misalignment being a cause of silent write corruption after installing a new SSD for Apple MacOS; maybe FreeBSD ZFS on SATA happens to be similarly susceptible. Theron