From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 24 01:20:18 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E668716A4C0 for ; Sun, 24 Aug 2003 01:20:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6ADA43FE9 for ; Sun, 24 Aug 2003 01:20:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7O8KHUp029749 for ; Sun, 24 Aug 2003 01:20:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7O8KHhI029748; Sun, 24 Aug 2003 01:20:17 -0700 (PDT) Resent-Date: Sun, 24 Aug 2003 01:20:17 -0700 (PDT) Resent-Message-Id: <200308240820.h7O8KHhI029748@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Jukka A. Ukkonen" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB7D116A4BF for ; Sun, 24 Aug 2003 01:17:47 -0700 (PDT) Received: from cs78135006.pp.htv.fi (cs78135006.pp.htv.fi [62.78.135.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CD9A43FEA for ; Sun, 24 Aug 2003 01:17:42 -0700 (PDT) (envelope-from jau@cs78135006.pp.htv.fi) Received: (from root@localhost) by hvergelmir.thunderbolt.fi (8.12.9/8.11.3) id h7O7sTLc000737; Sun, 24 Aug 2003 10:54:29 +0300 (EEST) (envelope-from jau) Message-Id: <200308240754.h7O7sTLc000737@hvergelmir.thunderbolt.fi> Date: Sun, 24 Aug 2003 10:54:29 +0300 (EEST) From: "Jukka A. Ukkonen" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/55917: tun# devices cannot be created in 4.8-STABLE X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Jukka A. Ukkonen" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 08:20:19 -0000 >Number: 55917 >Category: kern >Synopsis: tun# devices cannot be created in 4.8-STABLE >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: Sun Aug 24 01:20:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Jukka A. Ukkonen >Release: FreeBSD 4.8-STABLE i386 >Organization: Mawit Ltd. >Environment: System: FreeBSD hvergelmir.thunderbolt.fi 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Aug 24 10:15:57 EEST 2003 root@hvergelmir.thunderbolt.fi:/usr/src/sys/compile/hvergelmir i386 >Description: It does not seem to make any difference whether one configures pseudo-device tun in the kernel or not. When trying ifconfig -a no tun# devices are listed. Creating one with ifconfig tun0 create fails. When trying kldload /modules/if_tun.ko kernel complains that the device or module is already present. (Which it should be of course when compiled in the config phase.) >How-To-Repeat: # kldstat Should show no if_tun.ko. # ifconfig -a Should show no tun0 etc. # ifconfig tun0 create Fails complaining about SIOCIFCREATE and wrong argument. # kldload /modules/if_tun.ko Complaint about the module already being present. >Fix: None known yet. The symptoms make me suspect the call parameters to ioctl SIOCIFCREATE might have changed in the kernel, but the user-land has not kept up. - This guess might be totally in the woods. It is just the first potential explanation that occured to me. >Release-Note: >Audit-Trail: >Unformatted: