From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 5 14:40:08 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5524316A4D2 for ; Mon, 5 Jul 2004 14:40:08 +0000 (GMT) Received: from mps10.plala.or.jp (c153126.vh.plala.or.jp [210.150.153.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13F9443D69 for ; Mon, 5 Jul 2004 14:40:07 +0000 (GMT) (envelope-from t-ogawa@triaez.kaisei.org) Received: from solder.dyndns.org ([220.221.88.1]) by mps10.plala.or.jp with SMTP id <20040705144006.YGSJ1124.mps10.plala.or.jp@solder.dyndns.org> for ; Mon, 5 Jul 2004 23:40:06 +0900 Received: (qmail 8341 invoked from network); 5 Jul 2004 14:33:24 -0000 Received: from localhost (HELO gandalf.middle.earth) (127.0.0.1) by localhost with SMTP; 5 Jul 2004 14:33:24 -0000 Date: Mon, 05 Jul 2004 23:33:24 +0900 Message-ID: <86smc6le17.wl.t-ogawa@triaez.kaisei.org> From: OGAWA Takaya To: orlando.bassotto@ieo-research.it User-Agent: Wanderlust/2.10.1 (Watching The Wheels) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII cc: freebsd-emulation@freebsd.org Subject: vmware3: recent -current refuses to load vmnet? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 14:40:08 -0000 Hi, -Current (since sometimes around mid June) began to refuse to load vmnet.ko with the following kernel message: > link_elf: symbol linux_ioctl_register_handler undefined I band-aided the problem here by adding the patch below as files/patch-ad to emulators/vmware3. Could you take a look at (and possibly commit) it? Thanks. ---------- OGAWA Takaya t-ogawa@triaez.kaisei.org --- vmnet-only/freebsd/vmnet_linux.c.orig Mon Jul 5 23:23:37 2004 +++ vmnet-only/freebsd/vmnet_linux.c Mon Jul 5 23:24:49 2004 @@ -33,6 +33,8 @@ #include #include #include +#include +#include #include @@ -185,3 +187,5 @@ DEB(printf(__FUNCTION__ ": return %d\n", error)); return error; } + +DEV_MODULE(vmnet, NULL, 0);