Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2020 19:19:41 -0500
From:      Ross Gohlke <ross@bisd.ro>
To:        freebsd-current@freebsd.org
Subject:   Re: r358503 breaks reroot
Message-ID:  <d49a6c94-efea-e89f-1cec-09a8ac62a9bd@bisd.ro>
In-Reply-To: <b6f09533-32ae-ad13-4855-25e6eacf001d@bisd.ro>
References:  <b6f09533-32ae-ad13-4855-25e6eacf001d@bisd.ro>

next in thread | previous in thread | raw e-mail | index | archive | help

On 2020-04-26 18:16, 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
Forgot to refresh server and image links above were unavailable, sorry. 
They should work now.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d49a6c94-efea-e89f-1cec-09a8ac62a9bd>