Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2020 20:49:17 +0100
From:      Andreas Nilsson <andrnils@gmail.com>
To:        cem@freebsd.org
Cc:        "Andrey V. Elsukov" <bu7cher@yandex.ru>, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: hwpstate_intel hangs kernel
Message-ID:  <CAPS9%2BSuZe5=2ec8Pz=cHAQ6qn-3NZaKi=mwY4VRSBPGg5ez5bg@mail.gmail.com>
In-Reply-To: <CAPS9%2BSs__9HTg6RAu1JrLa5YOB8hK1%2BZFD05mNP%2BSnih8qiO8w@mail.gmail.com>
References:  <CAPS9%2BSukk_MFzUFBjs2K8bjsayL%2BTedhtY9aC8VF-UCHKEpp-w@mail.gmail.com> <a2a81eb9-c7d8-869a-5024-6bf0000c22a1@yandex.ru> <ccebd015-ae44-b4b9-aca6-080528bc0d64@yandex.ru> <CAG6CVpXq1xL=u=yYWd_srCDFb2s1asN%2Bm9%2BGA43WF3%2BQmpq5aw@mail.gmail.com> <CAPS9%2BSuniZZ6mvQzFmMvY=5i-G%2BOjCF5A_yMnBYmrZWo77dOug@mail.gmail.com> <CAPS9%2BSs__9HTg6RAu1JrLa5YOB8hK1%2BZFD05mNP%2BSnih8qiO8w@mail.gmail.com>

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

any new leads on this? As of what is in git on 2020-02-05, my computer
still hangs on kernel boot on "hwpstate_intel0: <Intel Speed Shift> on cpu0=
"

I guess it would have been easier to debug a panic. Setting
debug.hwpstate_verbose=3D1 doesn't really give any difference in output.

Best regards
Andreas

On Wed, Feb 5, 2020 at 2:45 PM Andreas Nilsson <andrnils@gmail.com> wrote:

> Hello,
>
> I upgraded to a newer version,  git 87d669d3863-c266265, and I do not
> experience the random hang anymore. The machine still hangs on boot on
> "hwpstate_intel0: <Intel Speed Shift> on cpu0" unless I set
> 'hint.hwpstate_intel.0.disabled=3D"1"' in loader.conf.
>
> On a side note I cannot set or unset that hint from loader prompt;
>
> ok> set hint.hwpstate_intel.0.disabled=3D"0"
> ok> show
> ....
> hint.hwpstate=3D
> ...
>
> Best regards
> Andreas
>
> On Sat, Feb 1, 2020 at 11:26 PM Andreas Nilsson <andrnils@gmail.com>
> wrote:
>
>> Hello Conrad,
>>
>> thank you Andrey for bisecting! I'll try with that hint and see how it
>> works for me.
>>
>> Best regards
>> Andreas
>>
>> On Sat, Feb 1, 2020, 18:18 Conrad Meyer <cem@freebsd.org> wrote:
>>
>>> Hi Andrey,
>>>
>>> Please try 'hint.hwpstate_intel.0.disabled=3D"1"' as a workaround for n=
ow.
>>>
>>> I think I have identified at least one problematic piece of code,
>>> although I don't know if it's the root cause.  I will go ahead and fix
>>> that, which may not fix the hang, and also add some debug printfs that
>>> can be enabled to help identify the real issue.
>>>
>>> Thanks for the report and bisect.
>>>
>>> Best,
>>> Conrad
>>>
>>> On Sat, Feb 1, 2020 at 6:06 AM Andrey V. Elsukov <bu7cher@yandex.ru>
>>> wrote:
>>> >
>>> > 31.01.2020 18:11, Andrey V. Elsukov =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>>> > > On 24.01.2020 19:52, Andreas Nilsson wrote:
>>> > >> It hangs during kernel boot and the last message printed on consol=
e
>>> is:
>>> > >> hwpstate_intel0: <Intel Speed Shift> on cpu0
>>> > >
>>> > > Hi,
>>> > >
>>> > > Did you find the cause of this hang?
>>> > > I also tried to update today from r350816 to r357330. But my Lenovo
>>> X1
>>> > > Carbon 4th hangs on the same message.
>>> > >
>>> >
>>> > Hi,
>>> >
>>> > I have bisected the bad commit, it is r357002.
>>> >
>>> > --
>>> > WBR, Andrey V. Elsukov
>>> >
>>>
>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSuZe5=2ec8Pz=cHAQ6qn-3NZaKi=mwY4VRSBPGg5ez5bg>