Date: Sat, 29 Jul 2023 17:55:53 -0600 From: Tom Everett <tom@khubla.com> To: freebsd-questions@freebsd.org Cc: questions@freebsd.org Subject: Re: FreeBSD 13.2-p1 hanging Message-ID: <77a99e88-3849-d645-5b2b-143cdca8a941@khubla.com> In-Reply-To: <4000df51-8c93-0236-c62d-3ab4d460e028@freebsd.org> References: <e6031a0a-5591-eb62-13af-c96a9c7f290d@khubla.com> <eaa2af32-25c7-b92b-b711-acf3069ea6f0@khubla.com> <c5fc6f47-fd91-f56c-6026-5ec2ce0dcbc0@freebsd.org> <280960a2-6406-97bc-173b-0ddc7a2ce75a@khubla.com> <f79ccb26-175a-262f-d9e1-574b838d3543@freebsd.org> <90c9f1e5-b1eb-3c54-2f37-fc35ae1570af@khubla.com> <48201e39-f3d1-488a-9d9a-7342ef91a54e@freebsd.org> <ce5e928c-217b-a1c0-2f65-a5133e543f39@khubla.com> <6fd724c5-1ac7-39a7-b805-91dcdcd73927@khubla.com> <5bdac425-adfd-2f98-c1ec-ecec6ea09508@freebsd.org> <5b220b92-8882-6755-f4a6-daedc11a4d30@Gmail.com> <fc70d31e-7cb2-6fd4-95a0-289aac849f61@freebsd.org> <5fdf71d3-fb0e-066a-d3ab-4963755afb08@khubla.com> <4000df51-8c93-0236-c62d-3ab4d460e028@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------54766DDCCA7C1DB7B3CF135E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Just an update on status. I did three things: Disabled ASLR in /boot/loader.conf kern.elf64.aslr.enable=0 kern.elf32.aslr.enable=0 I did this b/c I read that in 13.2 it was automatically enabled. I also set a flag to control the growth of the ARC vfs.zfs.arc_max="4294967296" finally, since I have multiple jails, I wondered if something had changed that would make old userspace binaries a problem. So I upgraded all jails with ezjail. The net result is that the host is up since about the 20th of the month. Thank everyone who took the time to respond to my ask for help. > Graham Perrin <mailto:grahamperrin@freebsd.org> > July 15, 2023 at 9:49 AM > > On 13/07/2023 01:22, Tom Everett wrote: > > I should not treat freebsd-update as a sane approach to downgrading. > > Instead, if downgrade is essential, build from source. > > On the releng/13.2 branch > <https://cgit.freebsd.org/src/log/?h=releng/13.2>, tag release/13.2.0 > (preceding patch 1) is at: > > <https://cgit.freebsd.org/src/tag/?h=release/13.2.0> > commit aab15c8d11a299cc11fd1d1cd09aec11383c99bc > <https://cgit.freebsd.org/src/commit/?id=aab15c8d11a299cc11fd1d1cd09aec11383c99bc> > > Tom Everett <mailto:tom@khubla.com> > July 12, 2023 at 6:22 PM > Well, it may be time to downgrade. I've cleaned all the fans with > compressed air, since heat is always a suspect, and disconnected USB > devices. Over the past two weeks the host now has an MTBF of about 2 > days. Always the same symptom; it just freezes. I enabled SMART on > the root disk; it seems to be healthy. I don't see any concerning > messages in the logs. > > I am on FreeBSD 13.2-RELEASE-p1 GENERIC amd64 > > So, to downgrade to the previous kernel would this be the right > command-line? > > freebsd-update upgrade -r 13.2-RELEASE > freebsd-update install > freebsd-update install > pwd_mkdb /etc/master.passwd > pkg-static install -fy pkg > pkg upgrade -fy > freebsd-update install > reboot > > (instructions essentially from here: > https://lifeforms.nl/20141224/downgrading-with-freebsd-update) > > Graham Perrin <mailto:grahamperrin@freebsd.org> > July 3, 2023 at 11:05 PM > > On 02/07/2023 00:50, Steven Friedrich wrote: > > Am I missing something? > > (This is a RELEASE case.) > > Steven Friedrich <mailto:freebsdlouisville@gmail.com> > July 1, 2023 at 5:50 PM > I would try the buildworld, buildkernel before spending time fretting. > YMMV. > > > > Graham Perrin <mailto:grahamperrin@freebsd.org> > July 1, 2023 at 11:06 AM > On 01/07/2023 16:37, Tom Everett wrote: > > > > Add the line below to /etc/sysctl.conf then restart the OS. > > hw.acpi.power_button_state="S5" > > > S5 should cause a press on the power button to gracefully shut down > the computer. In my experience this button sometimes works when > FreeBSD is otherwise unresponsive. > > I guess, the next thing to consider would be graphics. > > -- Sent from Postbox <https://www.postbox-inc.com> --------------54766DDCCA7C1DB7B3CF135E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html theme="default-light" iconset="color"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head><body text="#000000">Just an update on status. I did three things:<br> <br> Disabled ASLR in /boot/loader.conf<br> <br> <span></span>kern.elf64.aslr.enable=0<br> kern.elf32.aslr.enable=0<br> <br> I did this b/c I read that in 13.2 it was automatically enabled.<br> <br> I also set a flag to control the growth of the ARC<br> <br> vfs.zfs.arc_max="4294967296"<br> <br> finally, since I have multiple jails, I wondered if something had changed that would make old userspace binaries a problem. So I upgraded all jails with ezjail.<br> <br> The net result is that the host is up since about the 20th of the month.<br> <br> Thank everyone who took the time to respond to my ask for help. <br> <br> <blockquote type="cite" cite="mid:4000df51-8c93-0236-c62d-3ab4d460e028@freebsd.org" style="border: 0px none ! important;"> <div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr" style="margin:30px 25px 10px 25px;"><div style="width:100%;border-top:2px solid rgba(146,154,163,0.7);padding-top:10px;"> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;"> <a style="color:#485664 !important;padding-right:6px;font-weight:500;text-decoration:none !important;" href="mailto:grahamperrin@freebsd.org" moz-do-not-send="true">Graham Perrin</a></div> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align: right;"> <font color="#909AA4"><span style="padding-left:6px">July 15, 2023 at 9:49 AM</span></font></div> </div></div> <div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody" __pbrmquotes="true" style="color:#909AA4;margin-left:24px;margin-right:24px;"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <p>On 13/07/2023 01:22, Tom Everett wrote:<br> </p> <p>I should not treat freebsd-update as a sane approach to downgrading. <br> </p> <p>Instead, if downgrade is essential, build from source. <br> </p> <p>On the releng/13.2 branch <a class="moz-txt-link-rfc2396E" href="https://cgit.freebsd.org/src/log/?h=releng/13.2" moz-do-not-send="true"><https://cgit.freebsd.org/src/log/?h=releng/13.2></a>, tag release/13.2.0 (preceding patch 1) is at: <br> </p> <p><a class="moz-txt-link-rfc2396E" href="https://cgit.freebsd.org/src/tag/?h=release/13.2.0" moz-do-not-send="true"><https://cgit.freebsd.org/src/tag/?h=release/13.2.0></a><br> commit aab15c8d11a299cc11fd1d1cd09aec11383c99bc<br> <a class="moz-txt-link-rfc2396E" href="https://cgit.freebsd.org/src/commit/?id=aab15c8d11a299cc11fd1d1cd09aec11383c99bc" moz-do-not-send="true"><https://cgit.freebsd.org/src/commit/?id=aab15c8d11a299cc11fd1d1cd09aec11383c99bc></a><br> </p> <lt-container></lt-container> </div> <div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr" style="margin:30px 25px 10px 25px;"><div style="width:100%;border-top:2px solid rgba(146,154,163,0.7);padding-top:10px;"> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;"> <a style="color:#485664 !important;padding-right:6px;font-weight:500;text-decoration:none !important;" href="mailto:tom@khubla.com" moz-do-not-send="true">Tom Everett</a></div> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align: right;"> <font color="#909AA4"><span style="padding-left:6px">July 12, 2023 at 6:22 PM</span></font></div> </div></div> <div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody" __pbrmquotes="true" style="color:#909AA4;margin-left:24px;margin-right:24px;"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> Well, it may be time to downgrade. I've cleaned all the fans with compressed air, since heat is always a suspect, and disconnected USB devices. Over the past two weeks the host now has an MTBF of about 2 days. Always the same symptom; it just freezes. I enabled SMART on the root disk; it seems to be healthy. I don't see any concerning messages in the logs.<br> <br> I am on FreeBSD 13.2-RELEASE-p1 GENERIC amd64<br> <br> So, to downgrade to the previous kernel would this be the right command-line?<br> <br> freebsd-update upgrade -r <span style="font-weight: bold;">13.2</span><span style="font-weight: bold;">-RELEASE</span><br> freebsd-update install<br> freebsd-update install<br> pwd_mkdb /etc/master.passwd<br> pkg-static install -fy pkg<br> pkg upgrade -fy<br> freebsd-update install<br> reboot<br> <br> (instructions essentially from here: <a class="moz-txt-link-freetext" href="https://lifeforms.nl/20141224/downgrading-with-freebsd-update" moz-do-not-send="true">https://lifeforms.nl/20141224/downgrading-with-freebsd-update</a>)<span></span><br> <br> </div> <div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr" style="margin:30px 25px 10px 25px;"><div style="width:100%;border-top:2px solid rgba(146,154,163,0.7);padding-top:10px;"> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;"> <a style="color:#485664 !important;padding-right:6px;font-weight:500;text-decoration:none !important;" href="mailto:grahamperrin@freebsd.org" moz-do-not-send="true">Graham Perrin</a></div> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align: right;"> <font color="#909AA4"><span style="padding-left:6px">July 3, 2023 at 11:05 PM</span></font></div> </div></div> <div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody" __pbrmquotes="true" style="color:#909AA4;margin-left:24px;margin-right:24px;"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <p>On 02/07/2023 00:50, Steven Friedrich wrote:<br> </p> <p>Am I missing something? <br> </p> <p>(This is a RELEASE case.)<br> </p> <lt-container></lt-container> </div> <div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr" style="margin:30px 25px 10px 25px;"><div style="width:100%;border-top:2px solid rgba(146,154,163,0.7);padding-top:10px;"> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;"> <a style="color:#485664 !important;padding-right:6px;font-weight:500;text-decoration:none !important;" href="mailto:freebsdlouisville@gmail.com" moz-do-not-send="true">Steven Friedrich</a></div> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align: right;"> <font color="#909AA4"><span style="padding-left:6px">July 1, 2023 at 5:50 PM</span></font></div> </div></div> <div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody" __pbrmquotes="true" style="color:#909AA4;margin-left:24px;margin-right:24px;">I would try the buildworld, buildkernel before spending time fretting. YMMV. <br> <br><br> <br> </div> <div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr" style="margin:30px 25px 10px 25px;"><div style="width:100%;border-top:2px solid rgba(146,154,163,0.7);padding-top:10px;"> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;"> <a style="color:#485664 !important;padding-right:6px;font-weight:500;text-decoration:none !important;" href="mailto:grahamperrin@freebsd.org" moz-do-not-send="true">Graham Perrin</a></div> <div style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align: right;"> <font color="#909AA4"><span style="padding-left:6px">July 1, 2023 at 11:06 AM</span></font></div> </div></div> <div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody" __pbrmquotes="true" style="color:#909AA4;margin-left:24px;margin-right:24px;">On 01/07/2023 16:37, Tom Everett wrote: <br> <br> <br> <br>Add the line below to /etc/sysctl.conf then restart the OS. <br> <br>hw.acpi.power_button_state="S5" <br> <br> <br>S5 should cause a press on the power button to gracefully shut down the computer. In my experience this button sometimes works when FreeBSD is otherwise unresponsive. <br> <br>I guess, the next thing to consider would be graphics. <br> <br> <br> </div> </blockquote> <br> <div class="moz-signature">-- <br> <div>Sent from <a href="https://www.postbox-inc.com"><span style="color: rgb(0, 157, 247);">Postbox</span></a></div></div> </body></html> --------------54766DDCCA7C1DB7B3CF135E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77a99e88-3849-d645-5b2b-143cdca8a941>