Date: Wed, 29 Mar 2017 00:27:24 +0300 From: Andrey Chernov <ache@freebsd.org> To: "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com> Cc: current@freebsd.org Subject: Re: shutdown -r doesn't execute rc.d sequence Message-ID: <69af07a7-ec8f-9b7f-8b93-9ba148f30fec@freebsd.org> In-Reply-To: <5587c798-d36c-9074-1060-30e206db5571@freebsd.org> References: <7d5bbbf0-6908-185c-2ee0-29e0a4f60591@freebsd.org> <D9EAB41D-CE19-4225-8868-F4AFE461F903@gmail.com> <5587c798-d36c-9074-1060-30e206db5571@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NR6HbT8a8dF4wQaL5s2GnklSPaADeSVAE Content-Type: multipart/mixed; boundary="mMRgSVl1IJxkBxBQES7cVIqaTrCGMX6i3"; protected-headers="v1" From: Andrey Chernov <ache@freebsd.org> To: "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com> Cc: current@freebsd.org Message-ID: <69af07a7-ec8f-9b7f-8b93-9ba148f30fec@freebsd.org> Subject: Re: shutdown -r doesn't execute rc.d sequence References: <7d5bbbf0-6908-185c-2ee0-29e0a4f60591@freebsd.org> <D9EAB41D-CE19-4225-8868-F4AFE461F903@gmail.com> <5587c798-d36c-9074-1060-30e206db5571@freebsd.org> In-Reply-To: <5587c798-d36c-9074-1060-30e206db5571@freebsd.org> --mMRgSVl1IJxkBxBQES7cVIqaTrCGMX6i3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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@freebsd.org> wrote: >>> >>> With latest -current amd64, reboot happens almost immediately, leavin= g >>> 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=3Dyes to= /etc/rc.conf would be super helpful, along with `boot -v`, to see whethe= r the issue is in userspace or rc(5). >> I=E2=80=99ll double check my amd64/i386 VMs too (if possible, redirec= t 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 >> >=20 > Using rc_debug=3Dyes I see that it is the kernel problem, not rc proble= m. > Sometimes rc backward sequence executed even fully, sometimes only > partly, but in unpredictable moment inside rc sequence the kernel decid= e > 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. >=20 I forget to mention that typescript and dmesg does not survive after this reboot (or rare hang). --mMRgSVl1IJxkBxBQES7cVIqaTrCGMX6i3-- --NR6HbT8a8dF4wQaL5s2GnklSPaADeSVAE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJY2tU8AAoJEKUckv0MjfbK4jwIALm3DjpeU0wi31sY0rAj/kbv LfFrI/1QbBbXU16dzLth9NQqm1vygROL/VF9C6JbR+BpiFSRfD+C7PcCQJ1mONNN dzDyEGLsmwcSb0lNulBYwgBwP4rNmU5+JVhAINS1rPLPXypor3Xk2/VoG3dWB0SD rI6GSIvDFckqeMdLIGQSS2RIGTHMe4Bx7ltoKC4OWd6S8428x+VVbOA5/ULkilby C27xryMizKkHGwbdM4FUOPmACEkqMtejietCD4OPvpLJMKwVIxLCd+Ow135RxUft RSThmaY5pFJ+UruTnucBFqqP0HvU4Sudvp4E1spnipR/WSwP4vZKwmWKeGBoU8Y= =MDVS -----END PGP SIGNATURE----- --NR6HbT8a8dF4wQaL5s2GnklSPaADeSVAE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69af07a7-ec8f-9b7f-8b93-9ba148f30fec>