shutdown -r doesn't execute rc.d sequence

Andrey Chernov ache at freebsd.org
Tue Mar 28 21:27:29 UTC 2017


On 29.03.2017 0:15, Andrey Chernov wrote:
> On 28.03.2017 22:33, Ngie Cooper (yaneurabeya) wrote:
>>
>>> On Mar 28, 2017, at 12:30, Andrey Chernov <ache at freebsd.org> wrote:
>>>
>>> With latest -current amd64, reboot happens almost immediately, leaving
>>> FS dirty. No proper backward rc.d or /usr/local/etc/rc.d sequence
>>> execution is shown. No deactivating GELI swap too.
>>
>> Hi Andrey,
>> 	Do you have a typescript demonstrating this? Adding rc_debug=yes to /etc/rc.conf would be super helpful, along with `boot -v`, to see whether the issue is in userspace or rc(5).
>> 	I’ll double check my amd64/i386 VMs too (if possible, redirect the output over serial to a typescript for analysis).
>> 	Are you using vanilla FreeBSD, a fork, or a packaged variant (mfsbsd, nanobsd, etc)?
>> Thanks!
>> -Ngie
>>
> 
> Using rc_debug=yes I see that it is the kernel problem, not rc problem.
> Sometimes rc backward sequence executed even fully, sometimes only
> partly, but in unpredictable moment inside rc sequence the kernel decide
> to reboot quickly (or even deadly hang in rare cases). Always without
> any "Syncing buffers..." leaving FS dirty. No zfs etc. just normal UFS,
> no EFI, no GPT.
> I change GELI swap to normal one, but it does not help. The same
> untouched config works for years, I see this bug for the first time in
> FreeBSD.
> 

I forget to mention that typescript and dmesg does not survive after
this reboot (or rare hang).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170329/25edb1d4/attachment.sig>


More information about the freebsd-current mailing list