Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 2003 14:17:35 +0100
From:      Antoine Jacoutot <ajacoutot@lphp.org>
To:        Max Laier <max@love2party.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: if_tun failed to register
Message-ID:  <3FA7A6EF.9040002@lphp.org>
In-Reply-To: <163837078.20031104140135@love2party.net>
References:  <1067939722.3fa7778aa4363@webmail.lphp.org> <163837078.20031104140135@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FA7A6EF.9040002>