From owner-freebsd-current@freebsd.org Fri Jul 10 07:56:21 2020 Return-Path: Delivered-To: freebsd-current@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 7DD4F3626A4 for ; Fri, 10 Jul 2020 07:56:21 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-ztdg10012101.me.com (pv50p00im-ztdg10012101.me.com [17.58.6.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B352r5jDCz4HJM for ; Fri, 10 Jul 2020 07:56:20 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-ztdg10012101.me.com (Postfix) with ESMTPSA id 48296840294; Fri, 10 Jul 2020 07:56:18 +0000 (UTC) From: Toomas Soome Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Geli encryption issue on r362779 Date: Fri, 10 Jul 2020 10:56:15 +0300 In-Reply-To: <010001732a1273f6-b5d1c86c-a1de-4589-bee5-08d13ae603a6-000000@email.amazonses.com> Cc: freebsd-current@freebsd.org To: lausts@acm.org References: <01000173051a6c1b-ceec77e5-6fee-4969-ada0-70ad8789e1dd-000000@email.amazonses.com> <0100017305bed46f-20efa601-2169-491f-bc95-a4fd8cffafa3-000000@email.amazonses.com> <9ACB03CF-2168-4CCE-B1DC-6D76E33DE9C8@me.com> <01000173063d9d8d-f46774e6-d490-43cc-925d-e729c82904fa-000000@email.amazonses.com> <72383E6F-668A-47B5-AD2C-9F8E436BD995@me.com> <010001732a1273f6-b5d1c86c-a1de-4589-bee5-08d13ae603a6-000000@email.amazonses.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-10_02:2020-07-10, 2020-07-10 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2004280000 definitions=main-2007100053 X-Rspamd-Queue-Id: 4B352r5jDCz4HJM X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.08 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; DKIM_TRACE(0.00)[me.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; NEURAL_HAM_SHORT(-1.42)[-1.422]; RECEIVED_SPAMHAUS_PBL(0.00)[80.235.52.148:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[me.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.009]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.6.49:from]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.04)[-1.044]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_LOW(-1.00)[me.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[17.58.6.49:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2020 07:56:21 -0000 > On 7. Jul 2020, at 19:18, Thomas Laus wrote: >=20 > On 2020-07-07 08:26, Toomas Soome wrote: >> Hi! >>=20 >> I believe, 362989 should fix your issue. Please do let me know. >>=20 > I updated to r362989. I built world and kernel after clearing out > /usr/obj and this problem still exists. It works fine on my i5 = desktop, > but still has a problem reading my Geli encrypted partition. I copied > my old gptzfsboot file to ada0p1 from a live filesystem and it works. >=20 > Tom >=20 ok, then next one is r363042. By nature it is an safeguard against read = past disk end. If that does not do, we really need to insert checkpoints in code and = see where exactly this reset will happen. Also note I have = https://reviews.freebsd.org/D25605 = waiting in the queue. rgds, toomas=