Subject: pkg/22538: VMWare module fails on -current (with Patch)
To: None <gnats-bugs@gnats.netbsd.org>
From: Juergen Hannken-Illjes <hannken@watcher.eis.cs.tu-bs.de>
List: netbsd-bugs
Date: 08/18/2003 23:41:36
>Number: 22538
>Category: pkg
>Synopsis: VMWare module fails on -current (with Patch)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 18 21:43:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Juergen Hannken-Illjes
>Release: NetBSD 1.6W
>Organization:
net
>Environment:
System: NetBSD / i386 / 1.6W
Architecture: i386
Machine: i386
>Description:
VMWare module3 has support for the proc->lwp change of 1.6V.
This change is no longer valid.
>How-To-Repeat:
Build package and try to start it.
>Fix:
diff -u2 -r source/linuxrtc/rtc.c source/linuxrtc/rtc.c
--- source/linuxrtc/rtc.c 2003-08-18 22:12:13.000000000 +0200
+++ source/linuxrtc/rtc.c 2003-06-30 19:41:56.000000000 +0200
@@ -70,5 +70,5 @@
/* change to pass lwp rather than proc to driver entry points in 1.6V */
-#if __NetBSD_Version__ == 106220000
+#if __NetBSD_Version__ >= 106220000
#define ENTRYARG lwp
#define LWP2PROC(l) (l->l_proc)
diff -u2 -r source/vmmon/netbsd/drv.c source/vmmon/netbsd/drv.c
--- source/vmmon/netbsd/drv.c 2003-08-18 22:12:20.000000000 +0200
+++ source/vmmon/netbsd/drv.c 2003-06-30 19:41:57.000000000 +0200
@@ -81,5 +81,5 @@
/* change to pass lwp rather than proc to driver entry points in 1.6V */
-#if __NetBSD_Version__ == 106220000
+#if __NetBSD_Version__ >= 106220000
#define ENTRYARG lwp
#define LWP2PROC(l) (l->l_proc)
diff -u2 -r source/vmnet/if_hubmod.c source/vmnet/if_hubmod.c
--- source/vmnet/if_hubmod.c 2003-08-18 22:12:33.000000000 +0200
+++ source/vmnet/if_hubmod.c 2003-06-30 19:41:57.000000000 +0200
@@ -102,5 +102,5 @@
/* change to pass lwp rather than proc to driver entry points in 1.6V */
-#if __NetBSD_Version__ == 106220000
+#if __NetBSD_Version__ >= 106220000
#define ENTRYARG lwp
#define LWP2PROC(l) (l->l_proc)
>Release-Note:
>Audit-Trail:
>Unformatted: