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

From: Robert Watson <rwatson_at_freebsd.org>
Date: Sat, 4 Sep 2004 15:33:28 -0400 (EDT)
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
_at__at_ -134,6 +134,7 _at__at_
 	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
Received on Sat Sep 04 2004 - 17:36:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:10 UTC