From owner-freebsd-current@freebsd.org Fri Jan 24 19:49:58 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 49D2C1FA2FF for ; Fri, 24 Jan 2020 19:49:58 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4848qn1cWgz4T6K; Fri, 24 Jan 2020 19:49:56 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id v4xkiaPOInCigv4xmiVtQb; Fri, 24 Jan 2020 12:49:55 -0700 X-Authority-Analysis: v=2.3 cv=cZisUULM c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=Jdjhy38mL1oA:10 a=ndaoGXS1AAAA:8 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=fBKm0eK8sDAlAbc1dM0A:9 a=CjuIK1q_8ugA:10 a=mFeOnlTyF09QQMGr2mMI:22 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id 084B7228; Fri, 24 Jan 2020 11:49:51 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id 00OJnpYh004581; Fri, 24 Jan 2020 11:49:51 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id 00OJnoAS004578; Fri, 24 Jan 2020 11:49:51 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <202001241949.00OJnoAS004578@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Mark Johnston cc: Hans Petter Selasky , Cy Schubert , freebsd-current@freebsd.org Subject: Re: Powerd Panic In-reply-to: <20200124150031.GA4765@raichu> References: <202001240701.00O71L0F005850@slippy.cwsent.com> <036a5750-1af7-b83d-e141-f43585a1b8d2@selasky.org> <202001241302.00OD2d44008368@slippy.cwsent.com> <629a6d48-cf47-e76b-81a0-db29d2400b2b@selasky.org> <202001241338.00ODchS7008979@slippy.cwsent.com> <77cdb188-a47e-4a0d-a09f-c04377cda084@selasky.org> <20200124150031.GA4765@raichu> Comments: In-reply-to Mark Johnston message dated "Fri, 24 Jan 2020 10:00:31 -0500." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 24 Jan 2020 11:49:50 -0800 X-CMAE-Envelope: MS4wfC4aarcOCTennxmRnCYmLZTww66YTs1oPlT1XFke2mnrlZFlEQPEDBJ9GU2fTh0XgkCUmZratfstwvm0iVxu5/P+qn7QlYJa2/kkwanRpfBu6UgLkUlb sShOGR3TTiQgLK0seuNF1sjsXSP0GjIjhAzbJO2xxTXBjfqXttCbiaKo7wjcJs526Ix/R/Ch7UHra/Iy85SsAvvDA/ia3mLN4EtMJRSGOy83nNM4eb4uGqv4 9EMF0SSASBXjr8mfHv6oIQ== X-Rspamd-Queue-Id: 4848qn1cWgz4T6K X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.134.13) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-4.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[13.134.59.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.45)[ip: (-6.55), ipnet: 64.59.128.0/20(-3.17), asn: 6327(-2.46), country: CA(-0.09)]; FROM_EQ_ENVFROM(0.00)[] 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: Fri, 24 Jan 2020 19:49:58 -0000 In message <20200124150031.GA4765@raichu>, Mark Johnston writes: > On Fri, Jan 24, 2020 at 02:42:50PM +0100, Hans Petter Selasky wrote: > > On 2020-01-24 14:38, Cy Schubert wrote: > > > In message <629a6d48-cf47-e76b-81a0-db29d2400b2b@selasky.org>, Hans Pette > r > > > Sela > > > sky writes: > > > > Hi, > > > > > > > > I think this patch will fix your issue. Can you check? > > > > https://svnweb.freebsd.org/changeset/base/357050 > > > > > > > > Look like td->td_oncpu is invalid. > > > > > > > > > > > > > pc = cpuid_to_pcpu[td->td_oncpu]; /* pcpu_find(td->td_oncpu) > ; */ > > > > > > > > > > rm_tracker_add(pc, tracker); > > > > > > > > > > > > > > > > And thanks for running -current ;-) > > > > > > That patch is already there. All my machines are at r357066. > > > > > > > OK, > > > > so maybe there are more corner cases to that patch. > > > > Adding Mark. > > Thanks. I reverted the patch until I get a chance to debug. Thanks. This has resolved it. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.