Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2023 18:22:20 -0600
From:      Tom Everett <tom@khubla.com>
To:        Graham Perrin <grahamperrin@freebsd.org>
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD 13.2-p1 hanging
Message-ID:  <5fdf71d3-fb0e-066a-d3ab-4963755afb08@khubla.com>
In-Reply-To: <fc70d31e-7cb2-6fd4-95a0-289aac849f61@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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------AFB1D79A4861C8EC3FA5A38E
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

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.
>
>
> Tom Everett <mailto:tom@khubla.com>
> July 1, 2023 at 9:37 AM
> Hey Graham just a follow-up that things have been stable, until this 
> morning when I woke up to essentially the same; system hung and 
> unresponsive to the keyboard or ssh.
>
>
>
>
> Tom Everett <mailto:tom@khubla.com>
> June 26, 2023 at 7:37 AM
> That is possible.  Thanks!
>
>
>

-- 
Sent from Postbox <https://www.postbox-inc.com>;

--------------AFB1D79A4861C8EC3FA5A38E
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">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">https://lifeforms.nl/20141224/downgrading-with-freebsd-update</a>)<span></span><br>;
<blockquote type="cite" 
cite="mid:fc70d31e-7cb2-6fd4-95a0-289aac849f61@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 
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>
  <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 
1, 2023 at 9:37 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">
Hey Graham just a follow-up that things have
 been stable, until this morning when I woke up to essentially the same;
 system hung and unresponsive to the keyboard or ssh.<br>
<br>
<br>
<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: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">June 
26, 2023 at 7:37 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">
That is possible.  Thanks!<br>
<br>
<span>

</span><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>

--------------AFB1D79A4861C8EC3FA5A38E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5fdf71d3-fb0e-066a-d3ab-4963755afb08>