From owner-freebsd-net@FreeBSD.ORG Thu Sep 27 13:03:27 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 9DCEE106566C for ; Thu, 27 Sep 2012 13:03:27 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 56EC28FC0C for ; Thu, 27 Sep 2012 13:03:26 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1THDkL-00016v-Ji for freebsd-net@freebsd.org; Thu, 27 Sep 2012 15:03:17 +0200 Received: from l.saper.info ([91.121.203.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Sep 2012 15:03:17 +0200 Received: from saper by l.saper.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Sep 2012 15:03:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-net@freebsd.org From: Marcin Cieslak Date: Thu, 27 Sep 2012 13:02:59 +0000 (UTC) Organization: http://saper.info Lines: 33 Message-ID: References: <201209270853.31318.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: l.saper.info User-Agent: slrn/0.9.9p1 (FreeBSD) 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 13:03:27 -0000 >> John Baldwin wrote: > On Wednesday, September 26, 2012 6:42:19 pm Garrett Cooper wrote: >> On Wed, Sep 26, 2012 at 3:33 PM, Olivier Cochard-Labbé >> wrote: >> > On Thu, Sep 27, 2012 at 12:10 AM, Marcin Cieslak wrote: >> >> 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 being > used in ipsec_output.c due to duplicate symbols. As the original poster: I don't have this "module enc already exists!" message. I have had "device enc" in the kernel config file and I didn't try to load if_enc as module. I have IPSEC permanently enabled in the kernel and it is initialized at boot with setkey and later with racoon. > OTOH, have you created an enc0 device? I can't find anything that > automatically creates it. No. Previously, in 9.x times, it was always present in the ifconfig output. I was also looking for anything that initializes enc0 but couldn't find it. //Marcin