From owner-freebsd-current@freebsd.org Sat Feb 1 22: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 9F3E022E8B4 for ; Sat, 1 Feb 2020 22:26:28 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (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 4897wh3kB9z48q5; Sat, 1 Feb 2020 22:26:28 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-lj1-x235.google.com with SMTP id a13so10790248ljm.10; Sat, 01 Feb 2020 14:26:28 -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=mNsKzrA2he6Nx6ukPdZ1vrXU+puwU9dFYkWXYYsP4d8=; b=jTc78Mu4DK6Xyhp3JIcgEISAqDG+z56RR2HpdAEYzOw2lJABK4IF8SsAtoyYLaZ4yr OFY4vbvmeYGP53C4eQnlmN92tyeSI3D/mMUbBGXHwpBCcPI0fta6hxvHpL2Pv+MJecWn KzOMU7u0seQ2iB5NB6+QMT5rpKB5HtAKKzyo1kyj7CQKYSbZSXTgdVxUF2t2xqVrsIBJ wzowKpWUHlXI4wL1K70R8jhBNfQeFUM0ThnVE29oi3QT4d7vMqZ9qoOgKXWnF+XyUxpA IJLNpcCAtGB2Ghw0QAdaT5epV8IepW/lCfuUgrpoo6O2UYB/zGmSQdTyCVHO3IUGqYJB Tk/A== 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=mNsKzrA2he6Nx6ukPdZ1vrXU+puwU9dFYkWXYYsP4d8=; b=f2v72DOgGhgVOk8qBjiopokzEEpXF+JIa6lHqycJ2usxYlNYHjM4grrM/23fSiYN9Y 4bEYIq6cmteluE4R0eiCkuf6/gjJBiKJOn5R2g4XuNcavcIQv/1APE5tOcCqmI0uO/0A PgQeJ7WG2knv0olo+7LdO99/tJWzuohKhjYGIRswluxp+8jOaIrFJo8oecePXRZ+fFRv P3Y/iu94WqaAZMMcJueOxuqKgRiqWw0hkXPwQ18VOBJUXnlYHF6vTJU8Y4Pdc5mxb7to g6B/OiYMoiE4qmfKu0b3lIjZwAzeF/h/Ch3NpyvX9WMDnYnfOA7aTl3MHsu1GscqDsCV dpXw== X-Gm-Message-State: APjAAAWMkIQ5gWRTATtc/IJd5/72ZvaEEKrOVQyCgnnGneRTWxUC70d5 U34/AK70PNW818n8791+v3oaDV/JiFIFC+noHeAUTA== X-Google-Smtp-Source: APXvYqzXz9+oZ0dcPJ7cqQRVZM95bmS0wHgi/n+vFrtvtj7Tvg5cXnCdEZYguWIpIS1y0oGrLCjHCCCoKYiy9WTg67A= X-Received: by 2002:a05:651c:1072:: with SMTP id y18mr10017976ljm.243.1580595986492; Sat, 01 Feb 2020 14:26:26 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andreas Nilsson Date: Sat, 1 Feb 2020 23:26:15 +0100 Message-ID: Subject: Re: hwpstate_intel hangs kernel To: cem@freebsd.org Cc: "Andrey V. Elsukov" , Current FreeBSD X-Rspamd-Queue-Id: 4897wh3kB9z48q5 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] 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: Sat, 01 Feb 2020 22:26:28 -0000 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 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 =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 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 X= 1 > > > Carbon 4th hangs on the same message. > > > > > > > Hi, > > > > I have bisected the bad commit, it is r357002. > > > > -- > > WBR, Andrey V. Elsukov > > >