From owner-freebsd-net@FreeBSD.ORG Thu Sep 27 12:54:00 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A5C31065673 for ; Thu, 27 Sep 2012 12:54:00 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0D2538FC26 for ; Thu, 27 Sep 2012 12:54:00 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 68523B978; Thu, 27 Sep 2012 08:53:59 -0400 (EDT) From: John Baldwin To: freebsd-net@freebsd.org Date: Thu, 27 Sep 2012 08:53:31 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p20; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201209270853.31318.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 27 Sep 2012 08:53:59 -0400 (EDT) Cc: Garrett Cooper , Olivier =?iso-8859-1?q?Cochard-Labb=E9?= , Marcin Cieslak Subject: Re: enc(4) uninitialized in -current? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2012 12:54:00 -0000 On Wednesday, September 26, 2012 6:42:19 pm Garrett Cooper wrote: > On Wed, Sep 26, 2012 at 3:33 PM, Olivier Cochard-Labb=E9 > wrote: > > On Thu, Sep 27, 2012 at 12:10 AM, Marcin Cieslak wro= te: > >> I have just updated by 9.0-something laptop to 10.0-CURRENT r240948 > >> and it very quickly panics after enabling network with IPsec > >> (I am using IPsec w/racoon for IPv4 over 802.11, also using > >> tunelled IPv6). > > > > I don't know if it's related, but one of the first dmesg message > > displayd on my -current (rev 240921) is: > > > > module_register: module enc already exists! > > Module enc failed to register: 17 I suspect this is the root cause and that the "wrong" global variable is be= ing=20 used in ipsec_output.c due to duplicate symbols. OTOH, have you created an enc0 device? I can't find anything that=20 automatically creates it. =20 > Not 100% sure, but DEV_ENC might need to be specified in your > $KERNCONF. IPv6 also has IPSEC built in... does this issue occur when > IPv6 is disabled/not built into your kernel? Just one point: you do not need DEV_ENC. If you have 'device foo', config(= 8)=20 automatically enables a corresponding DEV_FOO option if it is listed in=20 sys/conf/options*. =2D-=20 John Baldwin