Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2020 10:00:31 -0500
From:      Mark Johnston <markj@freebsd.org>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Cy Schubert <Cy.Schubert@cschubert.com>, freebsd-current@freebsd.org
Subject:   Re: Powerd Panic
Message-ID:  <20200124150031.GA4765@raichu>
In-Reply-To: <77cdb188-a47e-4a0d-a09f-c04377cda084@selasky.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 Petter
> > 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.

> Could you compile a kernel with debugging symbols, get a core dump and then:
> 
> print td->td_oncpu
> print pc
> 
> from kgdb83 ?
> 
> --HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200124150031.GA4765>