Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2009 11:07:09 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Tor Egge <Tor.Egge@cvsup.no.freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, julian@freebsd.org
Subject:   Re: svn commit: r195862 - head/sys/netinet/ipfw
Message-ID:  <4A6F3E4D.3050803@elischer.org>
In-Reply-To: <20090728.170954.74706437.Tor.Egge@cvsup.no.freebsd.org>
References:  <200907250642.n6P6ggKw032784@svn.freebsd.org> <20090728.170954.74706437.Tor.Egge@cvsup.no.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Tor Egge wrote:
> This commit causes my laptop to hang during boot.
> 
> ipfw and ipfw_nat are both compiled into the kernel:
> 
> options         IPFIREWALL
> options         IPFIREWALL_VERBOSE
> options         IPFIREWALL_VERBOSE_LIMIT=100
> options         IPFIREWALL_FORWARD
> options         IPFIREWALL_NAT
> options         IPDIVERT
> 
> The kernel hangs during
> 
>     IPFW_WLOCK(&V_layer3_chain);
> 
> at the start of ipfw_nat_init.  The lock is not yet initialized at this time
> (SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY), since the commit moved the
> initialization of the lock from
> (SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY - 256) (cf. ipfw_modevent() calling
> ipfw_init()) to (SI_SUB_KTHREAD_INIT, SI_ORDER_ANY) (cf. vnet_ipfw_init()).
> 
> - Tor Egge

hmmm odd, runs here...

I'll check it right now
I wonder whats diff...... ooooooh my last tests were with ipfw as a 
module.....


ok I wonder where the "right" place to add it is.. probably keep it
at  SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY - 256.

an you check if that fixes it?  possibly moving the 256 to 255?






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