From trost@cloud.rain.com Tue Nov  9 10:44:32 1999
Return-Path: <trost@cloud.rain.com>
Received: from jli.com (jli.com [199.2.111.1])
	by hub.freebsd.org (Postfix) with SMTP id 7663714C99
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 Nov 1999 10:44:30 -0800 (PST)
	(envelope-from trost@cloud.rain.com)
Received: (qmail 24680 invoked by uid 4); 9 Nov 1999 18:44:28 -0000
Received: (qmail 3616 invoked by uid 236); 9 Nov 1999 18:43:34 -0000
Message-Id: <19991109184334.3615.qmail@grey.cloud.rain.com>
Date: 9 Nov 1999 18:43:34 -0000
From: trost@cloud.rain.com
Reply-To: trost@cloud.rain.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: if_tun.ko conflicts with built-in tunnel driver
X-Send-Pr-Version: 3.2

>Number:         14806
>Category:       i386
>Synopsis:       if_tun.ko conflicts with built-in tunnel driver
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov  9 10:50:01 PST 1999
>Closed-Date:    Sat Aug 5 16:15:38 PDT 2000
>Last-Modified:  Sat Aug 05 16:16:18 PDT 2000
>Originator:     Bill Trost
>Release:        FreeBSD 3.3-19991104-STABLE i386
>Organization:
Trost Computing
>Environment:

	

>Description:

	If if_tun.ko is loaded over a kernel containing a tunnel driver
	compiled in, "ppp -auto" does not work, although running ppp straight
	does.

>How-To-Repeat:

	Build a kernel with the line
		pseudo-device   tun     1
	in its config file and boot it.

	Run the following commands
		kldload if_tun.ko
		ppp -auto some_host

	Try to ping the remote end of the PPP link.  Expect an error like
	"host is down."

>Fix:
	
	Beyond "don't do that," I don't know what to do about the problem.
	It wouldn't be so bad if it weren's such a sneaky problem.

>Release-Note:
>Audit-Trail:

From: Brian Somers <brian@Awfulhak.org>
To: trost@cloud.rain.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, brian@hak.lan.Awfulhak.org
Subject: Re: i386/14806: if_tun.ko conflicts with built-in tunnel driver 
Date: Tue, 09 Nov 1999 21:26:10 +0000

 [.....]
 > 	If if_tun.ko is loaded over a kernel containing a tunnel driver
 > 	compiled in, "ppp -auto" does not work, although running ppp straight
 > 	does.
 [.....]	
 > 	Beyond "don't do that," I don't know what to do about the problem.
 > 	It wouldn't be so bad if it weren's such a sneaky problem.
 [.....]
 
 Don't do that :-)  This is a known problem with modules in general.  
 It's never necessary to kldload if_tun, as ppp has the smarts to 
 figure out that it's needed and kldload it itself.
 
 -- 
 Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
       <http://www.Awfulhak.org>                   <brian@OpenBSD.org>
 Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>
 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: nbm 
State-Changed-When: Sat Aug 5 16:15:38 PDT 2000 
State-Changed-Why:  
"Don't do that".  This also doesn't fail for me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=14806 
>Unformatted:
