From owner-freebsd-bugs@FreeBSD.ORG Thu Mar 4 00:20:04 2004 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 93E0D16A4CE for ; Thu, 4 Mar 2004 00:20:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 746E743D1F for ; Thu, 4 Mar 2004 00:20:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i248K4bv061242 for ; Thu, 4 Mar 2004 00:20:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i248K4VW061241; Thu, 4 Mar 2004 00:20:04 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 4 Mar 2004 00:20:04 -0800 (PST) Resent-Message-Id: <200403040820.i248K4VW061241@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, Kaho Toshikazu Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA38416A4CE for ; Thu, 4 Mar 2004 00:18:41 -0800 (PST) Received: from easy.es.tuat.ac.jp (easy.es.tuat.ac.jp [165.93.221.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2B6B43D2D for ; Thu, 4 Mar 2004 00:18:40 -0800 (PST) (envelope-from kaho@easy.es.tuat.ac.jp) Received: from easy.es.tuat.ac.jp (localhost [IPv6:::1]) by easy.es.tuat.ac.jp (8.12.11/8.12.11) with ESMTP id i248ISRT055729 for ; Thu, 4 Mar 2004 17:18:28 +0900 (JST) (envelope-from kaho@easy.es.tuat.ac.jp) Received: (from kaho@localhost) by easy.es.tuat.ac.jp (8.12.11/8.12.11/Submit) id i248ISeK055728; Thu, 4 Mar 2004 17:18:28 +0900 (JST) (envelope-from kaho) Message-Id: <200403040818.i248ISeK055728@easy.es.tuat.ac.jp> Date: Thu, 4 Mar 2004 17:18:28 +0900 (JST) From: Kaho Toshikazu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/63746: vmnet0 makes vmnet4096 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kaho Toshikazu List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 08:20:04 -0000 >Number: 63746 >Category: kern >Synopsis: vmnet0 makes vmnet4096 >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 04 00:20:04 PST 2004 >Closed-Date: >Last-Modified: >Originator: Kaho Toshikazu >Release: FreeBSD 5.2-CURRENT i386 >Organization: TUAT Japan >Environment: System: FreeBSD easy.es.tuat.ac.jp 5.2-CURRENT FreeBSD 5.2-CURRENT #34: Fri Feb 27 11:25:27 JST 2004 kaho@easy.es.tuat.ac.jp:/usr/src/sys/i386/compile/EASY i386 >Description: if_tap.ko is loaded to use VMware and creats vmnet network interface. `echo -n /dev/vmnet0` makes vmnet4096 instead of vmnet0. >How-To-Repeat: load if_tap.ko and creat vmnet0 or vmnet1 etc. >Fix: I don't know appropriate way, but this patch make better situation. --- if_tap.c~ Sun Feb 29 18:45:39 2004 +++ if_tap.c Thu Mar 4 14:46:20 2004 @@ -76,3 +76,7 @@ #define TAPMAXUNIT 0x7fff +#if 0 #define VMNET_DEV_MASK CLONE_FLAG0 +#else +#define VMNET_DEV_MASK 0x800000 +#endif >Release-Note: >Audit-Trail: >Unformatted: