From owner-freebsd-current@freebsd.org Thu May 21 23:57:14 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 8274F2F8CA7 for ; Thu, 21 May 2020 23:57:14 +0000 (UTC) (envelope-from db@db.net) Received: from tfm.com (mtbaker.tfm.com [192.231.224.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.tfm.com", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Smkd2cdSz4Wct; Thu, 21 May 2020 23:57:12 +0000 (UTC) (envelope-from db@db.net) Received: from night.db.net (DB-DSL.ServerNorth.com [98.124.61.131]) (authenticated bits=0) by tfm.com (8.14.4/8.14.4) with ESMTP id 04LNv1ve004063 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 May 2020 16:57:04 -0700 (PDT) Date: Thu, 21 May 2020 19:56:59 -0400 From: Diane Bruce To: Andreas Nilsson Cc: cem@freebsd.org, "Andrey V. Elsukov" , Current FreeBSD Subject: Re: hwpstate_intel hangs kernel Message-ID: <20200521235659.GA14173@night.db.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 49Smkd2cdSz4Wct X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of db@db.net has no SPF policy when checking 192.231.224.2) smtp.mailfrom=db@db.net X-Spamd-Result: default: False [0.65 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.32)[-0.316]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.03)[-0.028]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[db.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.10)[0.097]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:10488, ipnet:192.231.224.0/22, country:US]; FREEMAIL_CC(0.00)[freebsd.org,yandex.ru] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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: Thu, 21 May 2020 23:57:14 -0000 On Wed, Feb 05, 2020 at 02:45:50PM +0100, Andreas Nilsson wrote: Ok I am going to respond to this old email from February.. > 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="1"' in loader.conf. > As a few others know on IRC I ran into exactly this same problem on a brand new Lenovo Carbon. I missed this thread somehow. I also had to bisect the commit. Would it be possible to put a note into UPDATING and default to disabled=1 for now? ;) ... > > 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="1"' as a workaround for now. > >> > >> 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 пишет: > >> > > On 24.01.2020 19:52, Andreas Nilsson wrote: > >> > >> It hangs during kernel boot and the last message printed on console > >> 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. Yep. I also had to bisect this from what is now some 5 months ago :-( Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db