Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2009 17:09:55 +0000 (UTC)
From:      Tor Egge <Tor.Egge@cvsup.no.freebsd.org>
To:        julian@freebsd.org
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r195862 - head/sys/netinet/ipfw
Message-ID:  <20090728.170954.74706437.Tor.Egge@cvsup.no.freebsd.org>
In-Reply-To: <200907250642.n6P6ggKw032784@svn.freebsd.org>
References:  <200907250642.n6P6ggKw032784@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090728.170954.74706437.Tor.Egge>