From owner-freebsd-current@freebsd.org Tue Jun 19 18:23:08 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 700851006153 for ; Tue, 19 Jun 2018 18:23:08 +0000 (UTC) (envelope-from lausts@acm.org) Received: from cdptpa-cmomta03.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E0E326F537; Tue, 19 Jun 2018 18:23:07 +0000 (UTC) (envelope-from lausts@acm.org) Received: from mail.laus.org ([65.29.112.189]) by cmsmtp with ESMTP id VLKsfBVxEB3KIVLL4fb6TN; Tue, 19 Jun 2018 18:26:59 +0000 Received: from [192.168.1.100] (presario [192.168.1.100]) by mail.laus.org (8.15.2/8.15.2) with ESMTPS id w5JIMXc6059071 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 19 Jun 2018 14:22:33 -0400 (EDT) (envelope-from lausts@acm.org) X-Authentication-Warning: mail.laus.org: Host presario [192.168.1.100] claimed to be [192.168.1.100] Reply-To: lausts@acm.org Subject: Re: Current @ r335314 not bootable with Geli and ZFS To: Allan Jude , FreeBSD Current References: <61aeea9a-bb8b-65d0-1ffb-f8fb7b2f121d@acm.org> <3eac8c14-da21-5666-c060-d8a551b3ca49@freebsd.org> From: Thomas Laus Openpgp: preference=signencrypt Autocrypt: addr=lausts@acm.org; prefer-encrypt=mutual; keydata= xsDiBDx1NWwRBADARalI5I8kGeBYYYWnZB73T1fU4333yCuRokRvzlAZ5Zhb3hqsNdTEMheN FDjZSL8J5jeJtvSRinY2p09CxpAMoJR9zHLmHl+zEOY8fInbB+KiFtSfGf0blSEY9/+isQP9 xmUIQWUj0kwVtrns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NmjPmOY/a1nW4UnWSqA7bgQvkthahhoLeHzkU8YKupW0m05RIBpqQER6HwBOksTq4 sWV/lUy1P0VT8GqqPLNklKe2BEu+KhuhLV6XwEG3VrHNoY6/R5CMGvBhZbtiUViCZktmxJAj Fq0VCcuj7+Oo52eq4BL2vMrzLX+2Ib1JSWid6t0N+grXxbr2mv7H2V2/4Vo0XI3IKxPX1mdG y9RBkbRUGyV9A8RlaS0QTnXvsxZTjOnmjxPX68JPBBgRAgAPAhsMBQJLQftKBQkHcJauAAoJ EOv/gtRiCDbPjFIAn3xxpJ7L5KEAO31jgTyxZX1iLIqYAJ9pXvy5sGrjA8HQlOy9BR0FM6IG JMJPBBgRAgAPAhsMBQJQ9ZV5BQkNJDDXAAoJEOv/gtRiCDbPHHkAn3yVaT4ZzTxbTzWFRPWF QceKmgYYAJ9Oowt+YhIp5mNPUOE6GT1oU9g5XMJmBBgRAgAmAhsMFiEEGWhKgO0+oUSiSpl3 6/+C1GIINs8FAlpE7dwFCRaLREAACgkQ6/+C1GIINs9JdgCfeHMtCRjzubbkAvAVg5wQo7gF moUAoL39iRV66xSZ0w/I00RnFU3jsmiz Message-ID: <749bde52-58ba-b8db-9528-a74b0304a61e@acm.org> Date: Tue, 19 Jun 2018 14:22:33 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <3eac8c14-da21-5666-c060-d8a551b3ca49@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfE53B9COuOjzcsEq6fv2hSP5fOv4rMCF3Wru5MxAQTJUg7pRVSOEDyryuODI067aAjLt/gRDLW79m9l6Cusp4p+vcQGZAm8OWlRxdEfmAVUCHilnR3dZ 7upbgJgzTL+P3l+sB1141aKo8lBqTpaG5LKCBFC4CVh/nLgTjcT7PBtbOfRVv33lwjP3l9FKeqyGXIn8F7vpzVWpIqjCreaC1KE= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 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: Tue, 19 Jun 2018 18:23:08 -0000 On 06/19/18 12:09, Allan Jude wrote: > > We tested all of the changes with the setup in tools/boot/rootgen.sh, it > will be interesting to figure out what went wrong with your setup, and > add it as a test case to prevent this in the future. > > The recent changes are: > > r335245 (reading the size of the disk) > r335254 (reading past the end of the disk) > r335276 (enable the serial console sooner so the password prompt can be > used over serial) > > There is also one outstanding fix: https://reviews.freebsd.org/D15847 > I don't think that my issue is related to the fix described in the review. I am using ~256G SSD's. They are slightly different sizes but are both >200M. I will try backing out the commits starting with r335276 and work backward from there. I will review the changes made to gptzfsboot to get the date that it was last touched. When I replace only gptzfsboot with one made 2 weeks ago (r334610) everything boots OK and I get a password prompt for the geli password. If the gptzfs bootcode after r335314 is copied to the boot record, the computer goes into a continuous reboot loop and only a part of the password prompt is shown before the reboot. The filesize on the bad gptzfsboot file is 121922 bytes and the good one is 121634 bytes. The filesize on that file has not changed in a few months. I keep old versions of this file since imp fixed things for me a few months ago when he made changes for loader code migration from Forth that caused a similar issue. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF