vmware3: recent -current refuses to load vmnet?

OGAWA Takaya t-ogawa at triaez.kaisei.org
Mon Jul 5 07:40:08 PDT 2004


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 at 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);


More information about the freebsd-emulation mailing list