From owner-freebsd-stable Wed Sep 12 6:43:45 2001 Delivered-To: freebsd-stable@freebsd.org Received: from nu.cuk.nu (nu.cuk.nu [212.30.95.50]) by hub.freebsd.org (Postfix) with ESMTP id 42E3737B407 for ; Wed, 12 Sep 2001 06:43:41 -0700 (PDT) Received: from localhost (localhost.nu.cuk.nu [127.0.0.1]) by nu.cuk.nu (Postfix) with ESMTP id 580F31ABE5; Wed, 12 Sep 2001 15:43:46 +0200 (CEST) Received: from xenya.si (note.nat.xenya.si [192.168.1.223]) by nu.cuk.nu (Postfix) with ESMTP id 210601AB60; Wed, 12 Sep 2001 15:43:43 +0200 (CEST) Message-ID: <3B9F667F.1E9D0954@xenya.si> Date: Wed, 12 Sep 2001 15:43:27 +0200 From: Marko Cuk X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Krzysztof Parzyszek , freebsd-stable@freebsd.org Subject: Re: Kernel panics and tun interface References: <20010912082504.A34949@warsaw.scl.ameslab.gov> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Virus-Scanned: by Cuk.Nu server -- This e-mail is virus clean Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Did you read the /usr/src/UPGRADING ? Read also man ifconfig for gif I use: ifconfig gif create I am sure, that is is same "problem" as with gif interface... 20010724: The gif(4) interface has been converted to use cloning rather then allocating a static number of devices a compile time. If you use gif interfaces and configure them by any method other then setting standard variables in /etc/rc.conf you will need to update your system to create devices with "ifconfig gifX create" before attempting to configure them. See the ifconfig(8) man page and /etc/rc.network for more information. Krzysztof Parzyszek wrote: > I have compiled the kernel with > > pseudo-device tun 4 > > However, the tun interfaces don't show after `ifconfig -l', > and they cannot be created with `ifconfig tun0 create'. > I have the device nodes (tun[0-3]) in /dev. > > On a 4.3-STABLE (from sometime this summer) loading if_tun.ko > succeeds, the tun0 shows up, but unloading the module causes > an immediate kernel panic. I didn't check if the tun0 works, > though. > > On a 4.4 (cvsupped two days ago) loading the if_tun module > succeeds (at least doesn't report any errors), but no tun > interfaces appear, and again, unloading results in an > immediate panic. > > I'm sorry that I don't have any more specific information, but > I didn't want to completely trash my / filesystems (I don't > have softupdates there) by repeating this experiment. > > However, if really needed, I can collect some information > from the 4.4 box (as it isn't fully set up yet). > > Krzysztof > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message