From owner-freebsd-current@freebsd.org Tue Apr 28 00:09:52 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 7843B2CB82C for ; Tue, 28 Apr 2020 00:09:52 +0000 (UTC) (envelope-from ross@bisd.ro) Received: from hollis.kitiz.in (hollis.kitiz.in [205.209.235.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "a.club.kitiz.in", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49B28F2Zq5z3wrp for ; Tue, 28 Apr 2020 00:09:48 +0000 (UTC) (envelope-from ross@bisd.ro) Received: from hollis.kitiz.in (kitiz.in [10.0.103.2]) by hollis.kitiz.in (OpenSMTPD) with ESMTP id efe923a4 for ; Mon, 27 Apr 2020 19:09:40 -0500 (CDT) Received: by hollis.kitiz.in (OpenSMTPD) with ESMTPSA id a6585355 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Mon, 27 Apr 2020 19:09:27 -0500 (CDT) Subject: Re: r358503 breaks reroot From: Ross Gohlke To: freebsd-current@freebsd.org References: <79a9fabb-7669-6298-7908-e6fd66cd1e2d@bisd.ro> Message-ID: Date: Mon, 27 Apr 2020 19:09:01 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <79a9fabb-7669-6298-7908-e6fd66cd1e2d@bisd.ro> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 49B28F2Zq5z3wrp X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; R_DKIM_ALLOW(-0.20)[bisd.ro:s=bisdro]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.01)[country: US(-0.05)]; DKIM_TRACE(0.00)[bisd.ro:+]; DMARC_POLICY_ALLOW(-0.50)[bisd.ro,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:13693, ipnet:205.209.224.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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, 28 Apr 2020 00:09:52 -0000 On 2020-04-27 10:02, Ross Gohlke wrote: > On 2020-04-27 08:54, Mateusz Guzik wrote: > >> Fixed in r360374. >> >> On 4/27/20, Mateusz Guzik wrote: >>> Thanks for bisecting, I'll look into it. >>> >>> On 4/27/20, Ross Gohlke wrote: >>>> As of r358503, *reboot -r* no longer works for me. >>>> This is only tested on amd64. >>>> >>>> I produced a vanilla mini-memstick image each for r358502 and r358503. >>>> I booted each in bhyve in single user mode and ran *reboot -r*. >>>> The first works as expected, the second halts with: >>>> >>>> kern_symlink /dev -> / returns 20 >>>> >>>> Images (to be deleted when this is resolved): >>>> * https://club.bisd.ro/site/uv/FreeBSD-13.0-CURRENT-amd64-r358502.img >>>> * https://club.bisd.ro/site/uv/FreeBSD-13.0-CURRENT-amd64-r358503.img >>>> >>>> SHA1 checksums (via https://club.bisd.ro/site/uvlist): >>>> * r358502 - c968c4a71c270561c1b0a02e2b2281cbbf8787d7 >>>> * r358503 - b5d1abd6b3f3e009c2b54198d76d71a8640807a6 >>>> >>>> External bhyve commands: >>>> * sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 1024M -d >>>> /mnt/FreeBSD-13.0-CURRENT-amd64-r358502.img reroot >>>> * sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 1024M -d >>>> /mnt/FreeBSD-13.0-CURRENT-amd64-r358503.img reroot >>>> >>>> Internal bhyve commands: >>>> 1. Press 2 for single user mode. >>>> 2. When prompted, press Return. >>>> 3. Issue command: reboot -r >>>> >>>> To exit the first case: >>>> 1. Press Return. >>>> 2. Select Shell. >>>> 3. Issue command: shutdown -p now >>>> >>>> To exit the second case, issue the following command in a second >>>> terminal: >>>> bhyvectl --destroy --vm=reroot >>>> >>>> Any suggested workarounds besides reverting to r358502? >>>> >>>> Any help appreciated, >>>> Ross >>>> _______________________________________________ >>>> freebsd-current@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>>> To unsubscribe, send any mail to >>>> "freebsd-current-unsubscribe@freebsd.org" >>>> >>> >>> -- >>> Mateusz Guzik >>> > Wow, that was fast. Thank you. > > I plan to immediately build, test and report back. > > Regards, > Ross Success. I generated a vanilla mini-memstick image for r360374 and it passed the test described above. I will delete the test images now. Thanks again. Ross