Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2003 10:54:29 +0300 (EEST)
From:      "Jukka A. Ukkonen" <jau@mawit.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/55917: tun# devices cannot be created in 4.8-STABLE
Message-ID:  <200308240754.h7O7sTLc000737@hvergelmir.thunderbolt.fi>
Resent-Message-ID: <200308240820.h7O8KHhI029748@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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