Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jul 2004 23:33:24 +0900
From:      OGAWA Takaya <t-ogawa@triaez.kaisei.org>
To:        orlando.bassotto@ieo-research.it
Cc:        freebsd-emulation@freebsd.org
Subject:   vmware3: recent -current refuses to load vmnet?
Message-ID:  <86smc6le17.wl.t-ogawa@triaez.kaisei.org>

next in thread | raw e-mail | index | archive | help
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 <sys/proc.h>
 #include <sys/file.h>
 #include <sys/filedesc.h>
+#include <sys/module.h>
+#include <sys/conf.h>
 
 #include <net/if.h>
 
@@ -185,3 +187,5 @@
 	DEB(printf(__FUNCTION__ ": return %d\n", error));
 	return error;
 }
+
+DEV_MODULE(vmnet, NULL, 0);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86smc6le17.wl.t-ogawa>