From owner-freebsd-stable@freebsd.org Fri Feb 28 04:44:36 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 21A6A259AA5 for ; Fri, 28 Feb 2020 04:44:36 +0000 (UTC) (envelope-from mario.olofo@gmail.com) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 48TH4x68wHz3LWm for ; Fri, 28 Feb 2020 04:44:33 +0000 (UTC) (envelope-from mario.olofo@gmail.com) Received: by mail-qt1-x82d.google.com with SMTP id d5so1183103qto.0 for ; Thu, 27 Feb 2020 20:44:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aMFMCxqUMqqF6DJlhVIbbDDMS6hO6kVJ+ZVZmI8hGuo=; b=NXP2+I5D22OO9f7tcH92crOgIrEsIQm1SjLDfcMGhQb7kDRZyjEgWEoyYEx8cT6Zgg 5THX0HOonTwboUbawwShy29eFCpN0CGczI8kM4XykEw2QG6hVZ6D04N/HF7u7K+34ngO nnHl9V/7NT7tEEsseD0+yEwANveDcjiplA4iunfYb0AUMR5wlrBhsuKgxND06wvDtXMu Mr7TUWG5aTfmbYPr39ZLLfKFzoRP7O8XLjsQFR2B9AhO/HSfed28drIXrYCLB3sWnqjJ 3mPWW2LLHOfSZlhZs6N4B2SOI16hYXsr99E9wBqdDCxxjLZ5BoDgyiLPY3hJMRfZAdpq cgag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aMFMCxqUMqqF6DJlhVIbbDDMS6hO6kVJ+ZVZmI8hGuo=; b=MaOkCfH0P9wTgX5sHleWM3P387kaO6/ZR+0P5bwIbVlL+Y9QYnEEC1/P1L2kDN7iiG mzdV2/yPmU0hk9NiEkqdfKwsk6rSL//ryyl7fgrqb7uH+zyM7diUOOZ3lfHZOOu8gGHS ZhX2tfGSH/kyzoeRQEmRxSH9q1fqpnYdr+G+HsKHkFnAGTWFXoagVuC565KCWoeur1/Q pVm3aglGSZIiiHIQUhkymy0dFJzxzrQLpoescTbZKGKnDnN2+7wNmdQTStES/ysBqWY7 sRIfLRJ41G73jJ6f+lCOsbh7klBC+mTX2WHBaBrowYoAWgxenxpPuwQqTBRutYoE7AED 93Qg== X-Gm-Message-State: APjAAAUI6xM2bwpPEeGwKYThhfket+R+828pUKL1+wbX2QJolqhbb+p3 Ncci/qMyurC9/7IQwSVmtbSM/jLMpIu/KBLWTBhoIQ== X-Google-Smtp-Source: APXvYqyDPCYTeZKVOTGREMDavMBSyjrRtbTNMXpKwo6VKZccuPKc0/VFW3faxWZpl5lbvSmTl7MIJlO2I4CByjYuYnw= X-Received: by 2002:ac8:36dd:: with SMTP id b29mr2626548qtc.285.1582865072442; Thu, 27 Feb 2020 20:44:32 -0800 (PST) MIME-Version: 1.0 References: <20200224144602.GA64065@phouka1.phouka.net> <437a5eae-03c8-737d-48bf-39e2e9163d6d@nomadlogic.org> <81ef514d-2575-e9e2-136b-dc79d1c62d74@nomadlogic.org> In-Reply-To: <81ef514d-2575-e9e2-136b-dc79d1c62d74@nomadlogic.org> From: Mario Olofo Date: Fri, 28 Feb 2020 01:44:21 -0300 Message-ID: Subject: Re: Running FreeBSD on M.2 SSD To: Pete Wright Cc: FreeBSD Stable X-Rspamd-Queue-Id: 48TH4x68wHz3LWm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=NXP2+I5D; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marioolofo@gmail.com designates 2607:f8b0:4864:20::82d as permitted sender) smtp.mailfrom=marioolofo@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[d.2.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]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (-9.29), ipnet: 2607:f8b0::/32(-1.88), asn: 15169(-1.67), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 28 Feb 2020 04:44:36 -0000 Thanks for the update. May you share what quirks was detected for your card and firmware to see if it matches mine? The only way I was able to run FreeBSD 12-STABLE on the SSD was using the suggested sysctl vfs.zfs.trim.enabled=3D0 Maybe the problem really is a combination of factors, for the person that filed a bug on bugzilla the fix was setting the quirks 4k and broken_trim, but for me the real block size is 512bytes and only setting the flag broken_trim didn't help... Mario Em sex., 28 de fev. de 2020 =C3=A0s 00:58, Pete Wright escreveu: > > > On 2/24/20 11:13 AM, Mario Olofo wrote: > > Hi Pete, > > The nvmecontrol devlist don't found any devices. > pciconf -lv nvme0 didn't found anything either. > > The camcontrol devlist output was as follows: > > root@~ # camcontrol devlist > at scbus0 target 0 lun 0 (ada0,pass0) > at scbus1 target 0 lun 0 (ada1,pass1) > at scbus2 target 0 lun 0 (pass2,da0) > > > just wanted to provide an update here. so i had a system that needed a > new root drive and figured that the price of this device was worth a shot= . > i figured if it has issues it'd be a good opportunity to help find the ro= ot > cause and fix them. so anyway...i got the drive today and i am not seein= g > any issues with it so far. here's the device on my end: > > $ sudo camcontrol devlist > at scbus0 target 0 lun 0 (ada0,pass0) > at scbus2 target 0 lun 0 (ses0,pass1) > $ > > i am running 12-STABLE, with an encrypted zfsroot device. i've pumped > about 10gigs through it so far restoring my homedir with no issues, and z= fs > scrub has run without any corrupted blocks detected. > > so i don't think it's an issue with this specific m.2 device, perhaps > there is something odd happening in your local env though that is causing > this issue to crop up. > > -pete > > -- > Pete Wrightpete@nomadlogic.org > @nomadlogicLA > >