Re: Polishing touch

From: Maksim Yevmenkin <m_evmenkin_at_yahoo.com>
Date: Sun, 1 Jun 2003 15:25:57 -0700 (PDT)
Hello,
 
> 	just in case re_at_ 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
Received on Sun Jun 01 2003 - 13:25:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC