Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2020 19:09:01 -0500
From:      Ross Gohlke <ross@bisd.ro>
To:        freebsd-current@freebsd.org
Subject:   Re: r358503 breaks reroot
Message-ID:  <f19f15fc-82f5-28a2-f130-a5bcd31ea75e@bisd.ro>
In-Reply-To: <79a9fabb-7669-6298-7908-e6fd66cd1e2d@bisd.ro>
References:  <b6f09533-32ae-ad13-4855-25e6eacf001d@bisd.ro> <CAGudoHGUd5S_cmLDd9UOhC7Vji7caEtRXrM-2ebrxJj4jQ5TUQ@mail.gmail.com> <CAGudoHFk1z3d2t-V9i%2BQ6Snm5cFMstHGR5%2Brvqx6JiCHmKX81A@mail.gmail.com> <79a9fabb-7669-6298-7908-e6fd66cd1e2d@bisd.ro>

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

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 <mjguzik@gmail.com> wrote:
>>> Thanks for bisecting, I'll look into it.
>>>
>>> On 4/27/20, Ross Gohlke <ross@bisd.ro> 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 <mjguzik gmail.com>
>>>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f19f15fc-82f5-28a2-f130-a5bcd31ea75e>