From owner-freebsd-current@FreeBSD.ORG Tue Nov 4 05:17:47 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C28D16A4CE for ; Tue, 4 Nov 2003 05:17:47 -0800 (PST) Received: from mail.lphp.org (APastourelles-107-1-1-41.w80-13.abo.wanadoo.fr [80.13.78.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E5FC43FAF for ; Tue, 4 Nov 2003 05:17:45 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from lphp.org (modem209.metz.imaginet.fr [195.68.12.209] (may be forged)) by mail.lphp.org (8.12.10/8.12.10) with ESMTP id hA4DEcBw028108; Tue, 4 Nov 2003 14:14:38 +0100 (CET) (envelope-from ajacoutot@lphp.org) Message-ID: <3FA7A6EF.9040002@lphp.org> Date: Tue, 04 Nov 2003 14:17:35 +0100 From: Antoine Jacoutot User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031020 X-Accept-Language: fr-fr, fr, en-us, en MIME-Version: 1.0 To: Max Laier References: <1067939722.3fa7778aa4363@webmail.lphp.org> <163837078.20031104140135@love2party.net> In-Reply-To: <163837078.20031104140135@love2party.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: if_tun failed to register X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 13:17:47 -0000 Max Laier wrote: > AJ> ------------------------------------------------ > AJ> module_register: module if_tun already exists! > AJ> Module if_tun failed to register: 17 > AJ> can't re-use a leaf (if_tun_debug)! > AJ> ------------------------------------------------ > > AJ> Is there a kernel option I missed ? I already have "device tun" in > AJ> my kernel config file. > > This might be due to missing/incomplete "mergemaster" after > installworld? Try to remove your rc.d related stuff from etc before > running "mergemaster -i". The scripts should not try to "kldload > if_tun" if you allready have tun interfaces (built in). Well, it did not change anything :( What is really strange is that "tun" is compiled in the kernel, but the module is started anyway ??? $ kldstat Id Refs Address Size Name 1 6 0xc0400000 35aef8 kernel 2 1 0xc075b000 4cd10 acpi.ko 3 1 0xc463d000 4000 logo_saver.ko 4 1 0xc46e2000 4000 if_tun.ko Here is a part of my kernel configuration: device miibus device fxp device random device loop device ether device ppp device tun device pty device bpf options ETGRAPH options NETGRAPH_ETHER options NETGRAPH_PPPOE options NETGRAPH_SOCKET options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPDIVERT options CPU_ENABLE_SSE options IPSTEALTH options RANDOM_IP_ID options SC_DISABLE_REBOOT I thank you very much for your answer. Regards. Antoine