Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2003 15:25:57 -0700 (PDT)
From:      Maksim Yevmenkin <m_evmenkin@yahoo.com>
To:        arno@heho.snv.jussieu.fr, freebsd-current@freebsd.org
Subject:   Re: Polishing touch
Message-ID:  <20030601222557.48106.qmail@web40304.mail.yahoo.com>
In-Reply-To: <2E7E8A35375D1449A6F28D5E022E67310AC4D6@USSC8MS04.Global.Cwintra.Com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
 
> 	just in case re@ or a maintainer finds this worhtwhile :
> 	
> 	from my /etc/rc.conf :
> 	
> 	  ifconfig_tap0="lladdr 00:90:27:3f:12:9f"
> 	  apm_enable="YES"
> 	  apmd_enable="YES"
> 	
> 	This gives me in dmesg-a (today's CVS) :
> 	
> 	1)
> 	
> 	  Setting hostname: M.
> 	> module_register: module if_tap already exists!
> 	> Module if_tap failed to register: 17
> 	> can't re-use a leaf (if_tap_debug)!
> 	  tap0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> 	          ether 00:90:27:3f:12:9f
> 	
> 	bit I just compiled if_tap into my kernel, and I nowehere asked
> 	explicitly for kldloading "if_tap" (IIRC)

here what is (probably) going on. when system starts up you have
no "tap0" interface. ifconfig(8) can not find "tap0" interface and
tries to kldload(8) if_tap(4) module. since you already have if_tap(4)
compiled into the kernel you get these messages.

now the thing about tap(4) (and tun(4)) interfaces is that they are
*virtual*, i.e. in order to create interface one need to open 
corresponding character device first, i.e. /dev/tapX (or /dev/tunX). 

i'm not sure why do you need to ifconfig tap0 interface in system
startup script. the application that *uses* tap0 interface is supposed
to do that.

thanks,
max


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



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