syscons problem in ddb, if_afdata initialization (was: Re: 5.3-BETA3 , panic, probably IPv6+SMP+mpsafenet related)

Robert Watson rwatson at freebsd.org
Sat Sep 4 22:55:24 PDT 2004


On Sun, 5 Sep 2004, Sangwoo Shim wrote:

> I've reported nd6_slowtimo related panic some while ago.  Please check
> kern/70393.  mlaier@ suggested a patch to address this, but that wasn't
> work for me.  I'll try your patch and report. Thanks. 

This patch may only fix the problem if running with debug.mpsafenet=0; I'm
currently exploring the more general if_afdata issues, and will look at
Max's patch (etc) in the report.  I hope to have a patch that solves it in
the non-mpsafenet case in a day or two.

Thanks!

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Principal Research Scientist, McAfee Research


> 
> Regards,
> Sangwoo
> 
> On Sat, Sep 04, 2004 at 03:33:28PM -0400, Robert Watson wrote:
> > 
> > On Sat, 4 Sep 2004, Jan Srzednicki wrote:
> > 
> > > OK. I'm not sure if I'm doing that the right way, but here it is:
> > 
> > Yes, this was exactly what I was looking for.  Thanks!
> > 
> > <snip>
> > 
> > > Hope this helps.
> > > 
> > > It's also worth noting that on the previous kernel (that is: FreeBSD
> > > 5.3-BETA2 (SIN) #9: Sun Aug 29 14:24:19 CEST 2004) nothing like that
> > > happened, so it appears to be somehow related to (or uncovered by) some
> > > very recent commit. 
> > 
> > Could you try this patch:
> > 
> > Index: nd6.c
> > ===================================================================
> > RCS file: /home/ncvs/src/sys/netinet6/nd6.c,v
> > retrieving revision 1.44
> > diff -u -r1.44 nd6.c
> > --- nd6.c	23 Aug 2004 03:00:27 -0000	1.44
> > +++ nd6.c	4 Sep 2004 19:34:39 -0000
> > @@ -134,6 +134,7 @@
> >  	nd6_init_done = 1;
> >  
> >  	/* start timer */
> > +	callout_init(&nd6_slowtimo_ch, 0);
> >  	callout_reset(&nd6_slowtimo_ch, ND6_SLOWTIMER_INTERVAL * hz,
> >  	    nd6_slowtimo, NULL);
> >  }
> > 
> > Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
> > robert at fledge.watson.org      Principal Research Scientist, McAfee Research
> > 
> > _______________________________________________
> > freebsd-current at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> 



More information about the freebsd-current mailing list