From owner-freebsd-current@FreeBSD.ORG Sun Jun 1 15:25:57 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D07B337B401 for ; Sun, 1 Jun 2003 15:25:57 -0700 (PDT) Received: from web40304.mail.yahoo.com (web40304.mail.yahoo.com [66.218.78.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 6A03343F93 for ; Sun, 1 Jun 2003 15:25:57 -0700 (PDT) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20030601222557.48106.qmail@web40304.mail.yahoo.com> Received: from [207.175.241.198] by web40304.mail.yahoo.com via HTTP; Sun, 01 Jun 2003 15:25:57 PDT Date: Sun, 1 Jun 2003 15:25:57 -0700 (PDT) From: Maksim Yevmenkin To: arno@heho.snv.jussieu.fr, freebsd-current@freebsd.org In-Reply-To: <2E7E8A35375D1449A6F28D5E022E67310AC4D6@USSC8MS04.Global.Cwintra.Com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Polishing touch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2003 22:25:58 -0000 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 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