From owner-freebsd-questions@FreeBSD.ORG Mon Feb 16 03:05:31 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 392E716A4CE for ; Mon, 16 Feb 2004 03:05:31 -0800 (PST) Received: from smtp-2.mdc.net (smtp-2.mdc.net [209.251.64.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2DC243D1D for ; Mon, 16 Feb 2004 03:05:30 -0800 (PST) (envelope-from matthew@netway.com) Received: from admin1.mdc.net (admin1.mdc.net [209.251.64.23]) by smtp-2.mdc.net (8.9.3/8.9.1) with ESMTP id GAA00592; Mon, 16 Feb 2004 06:05:21 -0500 (EST) (envelope-from matthew@netway.com) Date: Mon, 16 Feb 2004 06:05:16 -0500 (EST) From: matthew X-X-Sender: matthew@admin1.mdc.net To: Antoine Jacoutot In-Reply-To: <200402161143.09024.ajacoutot@lphp.org> Message-ID: <20040216060031.S1531@admin1.mdc.net> References: <200402161143.09024.ajacoutot@lphp.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: if_tun failed to register (long) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 11:05:31 -0000 On Mon, 16 Feb 2004, Antoine Jacoutot wrote: > Hi :) > > 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 anyway. > 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. > After looking everywhere without finding any clue about this error, I came to > the conclusion that it could be my kernel configuration. > Note that also I use kern_securelevel="1". > > If you have _any_ idea, I would really appreciate. check /boot/loader.conf for if_tun_load="YES" if so, comment it out. it will not load the module anymore. you will rely on the one compiled into kernel. if this is not the answer to your problem email back. m > This is a brand new system. > Thanks. > Regards, > > Antoine > > ps: > Here is my KERNELCONF: > > machine i386 > cpu I686_CPU > ident MCP > options SCHED_ULE > options INET > options INET6 > options FFS > options SOFTUPDATES > options UFS_ACL > options UFS_DIRHASH > options NFSCLIENT > options NFSSERVER > options MSDOSFS > options CD9660 > options PROCFS > options PSEUDOFS > options COMPAT_43 > options COMPAT_FREEBSD4 > options SCSI_DELAY=15000 > options KTRACE > options SYSVSHM > options SYSVMSG > options SYSVSEM > options _KPOSIX_PRIORITY_SCHEDULING > options KBD_INSTALL_CDEV > options AHC_REG_PRETTY_PRINT > options AHD_REG_PRETTY_PRINT > options PFIL_HOOKS > device isa > device pci > device fdc > device ata > device atadisk > device atapicd > options ATA_STATIC_ID > device scbus > device da > device atkbdc > device atkbd > device psm > device vga > device splash > device sc > device agp > device npx > device sio > device ppc > device ppbus > device miibus > device rl > device xl > device random > device loop > device ether > device ppp > device tun > device pty > device bpf > device uhci > device usb > device ugen > device ulpt > device umass > device uscanner > options IPSTEALTH > options RANDOM_IP_ID > options SC_DISABLE_REBOOT > options CPU_ENABLE_SSE > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_VERBOSE_LIMIT=100 > options IPDIVERT > options NETGRAPH > options NETGRAPH_ETHER > options NETGRAPH_PPPOE > options NETGRAPH_SOCKET > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >