From owner-freebsd-current@freebsd.org Mon May 25 15:26:28 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 89372329CFC for ; Mon, 25 May 2020 15:26:28 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49W1CR5G3Yz40pv for ; Mon, 25 May 2020 15:26:27 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.159] (cpe-23-243-161-111.socal.res.rr.com [23.243.161.111]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id a9a58ac1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Mon, 25 May 2020 15:26:26 +0000 (UTC) Subject: Re: lockups on lenovo p43s under current From: Pete Wright To: FreeBSD Current References: Message-ID: <75067de1-3005-b4ae-cdd3-c8317aeeeefb@nomadlogic.org> Date: Mon, 25 May 2020 08:26:26 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 49W1CR5G3Yz40pv X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-0.83 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[nomadlogic.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.54)[-0.544]; NEURAL_HAM_MEDIUM(-0.13)[-0.133]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.14)[0.143]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[23.243.161.111:received] 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: Mon, 25 May 2020 15:26:28 -0000 On 5/11/20 3:16 PM, Pete Wright wrote: > hello, > i have a lenovo thinkpad P43s that exhibits lockups under CURRENT but > behaves fine when running STABLE.  i've tried to find a fully > reproducible situation to get this system to lockup but haven't found > anything yet.  i am starting to suspect that the changes implemented > in this review may be the issue though: > > https://reviews.freebsd.org/D23728 > > my reasoning is that i've observed issues when: > - removing AC power from the laptop, or inserting AC power > - when the system display has gone to sleep > - randomly hanging during boot with this as last line: > battery0: battery enitialization start > > unfortunately while the above seem to be cases where this has happened > i haven't been able to %100 reproduce yet. > > so my first question is - would it be possible to just revert the > changes in that diff, or has too much time gone past to just back out > that single change.  alternatively, is there any debugging information > i can get on my end that might help figure out what the root cause is? > closing the loop on this - I am able to run CURRENT on this system by defining this in /boot/loader.conf: hint.hwpstate_intel.0.disabled="1" thanks to Diane Bruce for mentioning this issue in the following thread which gave me the hint i needed: https://lists.freebsd.org/pipermail/freebsd-current/2020-May/076123.html -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA