kern/62968: Module if_tun failed to register

Antoine Jacoutot ajacoutot at lphp.org
Tue Feb 17 07:50:15 PST 2004


>Number:         62968
>Category:       kern
>Synopsis:       Module if_tun failed to register
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 17 07:50:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Antoine Jacoutot
>Release:        FreeBSD 5.2.1-RC2 i386
>Organization:
none 
>Environment:


System: FreeBSD 5.2.1-RC2 #0: Mon Feb 16 13:05:11 CET 2004
    ajacoutot at mcp.lphp.org:/usr/obj/usr/src/sys/MCP



>Description:


I've been having the same error for months now under FreeBSD-5.x (5.1, 5.2,
5.2.1-RC2, 5-CURRENT).
It works anyway, but I'm concerned about this error...
When I boot, ppp is started automatically with rc.conf and I get the following
error on the console:

kernel: module_register: module if_tun already exists!
kernel: Module if_tun failed to register: 17
kernel: can't re-use a leaf (if_tun_debug)

"device tun" is compiled into my kernel but also loaded as a module !!! :

$ kldstat
Id Refs Address    Size     Name
 1    6 0xc0400000 376afc   kernel
 2    1 0xc0777000 4d978    acpi.ko
 3    1 0xc4670000 4000     logo_saver.ko
 4    1 0xc470f000 4000     if_tun.ko

As I said, everything works, but still, this error is strange.
Note that I use kern_securelevel="1".


>How-To-Repeat:


Compiled "device tun" into your kernel and enable ppp on boot in rc.conf.


>Fix:





>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list