From owner-freebsd-current@freebsd.org Tue Feb 11 19:49:32 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 934292414E9 for ; Tue, 11 Feb 2020 19:49:32 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48HCyz4CM6z4Yjv; Tue, 11 Feb 2020 19:49:31 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-lj1-x22f.google.com with SMTP id x14so12967531ljd.13; Tue, 11 Feb 2020 11:49:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VJTxqzPOWStnJkm5KIIvnmxYD4QX+DKtq8CzivtSlYE=; b=LbXBfD11z9abps96316Kx9cIbB7RHIbPjJYyZltpKFOdExanxbsQZZmbTuVb0hZcB0 2QSa/TRt8SHAjIBS8bZSXscl2ye92C01Scz8hpjODACYspIDFqN8ihVEYIukKSHNZQU0 YW5ejmHjhSlysaqEBxCQwd50N7SjPnKcGNctnS4K5csVY0wj8rUQEYuAkj09LUL1K00l JiDizvGkGktvgPCpS6Pkb1nDndOsNN+E8G1yJcTGrDVBKFPDaoYLZt7frGynyKc/HXOm 8eYEOzt1kc7vEu1dlAEqfQX9FvnN1OABn8bSggsI6p24Fkc/hBQvm4H874z6JtUFk34j uKEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VJTxqzPOWStnJkm5KIIvnmxYD4QX+DKtq8CzivtSlYE=; b=Mk0gtf2TD3NYfEcaFLqbgWvf9HC8aM7hoauN3lLdYVePvicB7fKcNWozuveH6dByxz qbvJq6yE+PIgkKUPbx9vXRhbnFbmEIOplNmjRD7FvDsAWnREl4svy6HcEOd/uugC3jBP ilu9pPPrWq4hnty3uh6h4WfJpsw9YQnvKGjzPFEAlF1dHbdxscJ+WtF+nSdQZsQN5zP8 9crFhc5VC3ljRVF9va/qTzL4ez/gibAI1fV64FE9b2GW1jQh34wOBSzwrvxwp20qMts1 FQprdbvtT2pVUq+HufnsLiMAxksdJDMQJVhrq1/Mb2ZgG1QOlcloLMAEkBf6RaDiB2S1 9sxg== X-Gm-Message-State: APjAAAUvV6fEaXKoYV/r4gId7QpSTMs5Vq26PSVcA7sX+VSAAp7o2fjQ ++XAMcwX1aQ7670uyIKcJj1+qwfdN8B9CqWZQ9t/WLOak/Q= X-Google-Smtp-Source: APXvYqx1R6AcoOpDXVA/jbDx5zqWTzN/z6AN/zfzc1Sb2YqxtUBDcLMJyaSfskiQm9SCEIhP6gSW/AyMnL1IUnmXxhI= X-Received: by 2002:a2e:7816:: with SMTP id t22mr5205993ljc.161.1581450569283; Tue, 11 Feb 2020 11:49:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andreas Nilsson Date: Tue, 11 Feb 2020 20:49:17 +0100 Message-ID: Subject: Re: hwpstate_intel hangs kernel To: cem@freebsd.org Cc: "Andrey V. Elsukov" , Current FreeBSD X-Rspamd-Queue-Id: 48HCyz4CM6z4Yjv X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=LbXBfD11; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of andrnils@gmail.com designates 2a00:1450:4864:20::22f as permitted sender) smtp.mailfrom=andrnils@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[f.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-9.23), ipnet: 2a00:1450::/32(-2.46), asn: 15169(-1.71), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_CC(0.00)[yandex.ru]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 19:49:32 -0000 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: 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 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: 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 > 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 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 >>> 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: 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 >>> > >>> >>