From owner-freebsd-stable@freebsd.org Tue Feb 25 10:52:39 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 A7C50257CA3 for ; Tue, 25 Feb 2020 10:52:39 +0000 (UTC) (envelope-from daniel@digsys.bg) Received: from smtp-sofia.digsys.bg (smtp-sofia.digsys.bg [193.68.21.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp-sofia.digsys.bg", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48RbP12hh0z45VT for ; Tue, 25 Feb 2020 10:52:36 +0000 (UTC) (envelope-from daniel@digsys.bg) Received: from [193.68.6.100] ([193.68.6.100]) (authenticated bits=0) by smtp-sofia.digsys.bg (8.15.2/8.15.2) with ESMTPSA id 01PAqQkY065005 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 25 Feb 2020 12:52:27 +0200 (EET) (envelope-from daniel@digsys.bg) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: Running FreeBSD on M.2 SSD From: Daniel Kalchev In-Reply-To: Date: Tue, 25 Feb 2020 12:52:26 +0200 Cc: Mark Millard via freebsd-stable Content-Transfer-Encoding: quoted-printable Message-Id: <188F34DA-192C-4D44-96B5-18A7DAE8EC67@digsys.bg> References: <202002250115.01P1F9KX090465@mail.karels.net> To: Mario Olofo X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48RbP12hh0z45VT X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of daniel@digsys.bg designates 193.68.21.125 as permitted sender) smtp.mailfrom=daniel@digsys.bg X-Spamd-Result: default: False [-1.86 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.960,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:193.68.21.125]; MV_CASE(0.50)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[digsys.bg]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-0.10)[ipnet: 193.68.0.0/19(-0.11), asn: 3245(-0.41), country: BG(0.04)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3245, ipnet:193.68.0.0/19, country:BG]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Tue, 25 Feb 2020 10:52:39 -0000 I have had disks, that work =E2=80=9Cperfectly" under UFS and various = RAID controllers (and DOS and Windows), but always reported checksum = errors when running under ZFS. It would happen on any motherboard or = controller. That made me never use anything but ZFS on data that I = cannot recreate 100%, fast=E2=80=A6 but that is separate story. I = labeled those disks bad and they sit in my =E2=80=9Cmuseum=E2=80=9D. = Needless to say some were brand new. Not saying you have this issue, but = sharing anecdotal evidence. But I wonder how you discovered you had corruption with UFS? What is = observed? It might well be, that FreeBSD is more agressive with your = motherboard/chipset or does not implement known quirk of that =E2=80=94 = which might trigger some edge cases for the SSD. Ultimately, if you can = move that SSD to another motherboard and test it, it would confirm where = the issue is. Daniel > On 25 Feb 2020, at 3:35, Mario Olofo wrote: >=20 > Hi Mike, thanks for the insight. >=20 > I tried both, but not at the same time. > When I found that the ZFS was corrupting the filesystem, I reinstalled = the > FreeBSD using UFS but no luck. > Ulf told me that he had the same problem and it turned out the problem = was > a defective RAM, but here I just ran the test 2 times, > one from Dell BIOS Diagnostics Tool and other from mdsched.exe from = Windos > 10, but here the RAM is ok... >=20 > Thank you again, >=20 > Mario >=20