syscons problem in ddb, if_afdata initialization (was: Re:
5.3-BETA3 , panic, probably IPv6+SMP+mpsafenet related)
Sangwoo Shim
ssw at neo.redjade.org
Thu Sep 9 10:17:58 PDT 2004
FYI, I've got exactly same panic even after your patch committed.
(and debug.mpsafenet=0)
This box runs stock -CURRENT of some days ago.
And I don't much care about panicing this system.
Please feel free to ask to do tests. :-)
ssw:~ $ uname -a
FreeBSD ssw.dyndns.org 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Wed Sep 8 09:05:24 KST 2004 root at ssw.dyndns.org:/usr/obj/usr/src/sys/SSW-SMP i386
ssw:~ $ sysctl debug.mpsafenet
debug.mpsafenet: 0
ssw:~ $ ident /usr/src/sys/netinet6/nd6.c
/usr/src/sys/netinet6/nd6.c:
$FreeBSD: src/sys/netinet6/nd6.c,v 1.45 2004/09/05 17:27:54 rwatson Exp $
$KAME: nd6.c,v 1.144 2001/05/24 07:44:00 itojun Exp $
ssw:~ $
Regards,
Sangwoo
On Sun, Sep 05, 2004 at 01:52:32AM -0400, Robert Watson wrote:
>
> 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"
> >
>
> _______________________________________________
> 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