Re: Powerd Panic

From: Mark Johnston <markj_at_freebsd.org>
Date: Fri, 24 Jan 2020 10:00:31 -0500
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_at_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
Received on Fri Jan 24 2020 - 14:00:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC