From owner-freebsd-emulation@FreeBSD.ORG Fri Jan 27 18:02:47 2006 Return-Path: <owner-freebsd-emulation@FreeBSD.ORG> X-Original-To: freebsd-emulation@freebsd.org 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 2120116A420 for <freebsd-emulation@freebsd.org>; Fri, 27 Jan 2006 18:02:47 +0000 (GMT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (gndrsh.dnsmgr.net [205.238.40.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E75943D8B for <freebsd-emulation@freebsd.org>; Fri, 27 Jan 2006 18:02:45 +0000 (GMT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id KAA83158; Fri, 27 Jan 2006 10:02:36 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> Message-Id: <200601271802.KAA83158@gndrsh.dnsmgr.net> In-Reply-To: <20060127080605.GA5359@gvr.gvr.org> from Guido van Rooij at "Jan 27, 2006 09:06:05 am" To: guido@gvr.org (Guido van Rooij) Date: Fri, 27 Jan 2006 10:02:34 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: orlando@break.net, freebsd-emulation@freebsd.org Subject: Re: VMWare3 on FreeBSD 4.11 and 5.4 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems <freebsd-emulation.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>, <mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation> List-Post: <mailto:freebsd-emulation@freebsd.org> List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>, <mailto:freebsd-emulation-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 27 Jan 2006 18:02:47 -0000 [cc-ed back onto the emulation list, others may want this...] You vmware binary has been patched.. 4 bytes are altered. Looking at the vmware-any-any-update96 update.c file I have matched this to -PART- of the trypatch2242 code (that is the patch when any-any finds a 3.2.1-2242 binary): static int trypatch2242(struct file* fd, const char* name) { static const char newcodeNICE[] = "\xE8\xC7\xFF\xFE\xFF\x33\xDB\x83\xC4\x04"; static const char oldcodeNICE[] = "\xE8\xC7\xFF\xFE\xFF\x89\xC3\x83\xC4\x04"; static const char newcodeNICE2[] = "\xE8\x5D\xFF\xFE\xFF\x33\xDB\x83\xC4\x04"; static const char oldcodeNICE2[] = "\xE8\x5D\xFF\xFE\xFF\x89\xC3\x83\xC4\x04"; Using your vmware binary on my FreeBSD 5.4p8 w/linux_base-7.3 has correctd the shutdown panics from VMWare itself and I can again smash the reset button and not have to restart VMWare! THANK YOU! I suspect that this also corrects vmware w/linux_base-8.8, which I well confirm as soon as I can. I further suspect is what happened was your applied the any-any patch at a much lower revision that only had these 2 hunks in it, probably right after this problem was found, and when myself and others tried it with the later version that has another large patch that crashes the FreeBSD kernel with a page fault. I have found the archive of all the any-any patches so that I should be able to confirm that. cmp -x /A/ports/emulators/vmware3/work/vmware-distrib/bin/vmware /usr/local/lib/ vmware/bin/vmware 00012935 89 33 00012936 c3 db 0001299f 89 33 000129a0 c3 db MD5 (/A/ports/emulators/vmware3/work/vmware-distrib/bin/vmware) = b43d5cf153d592 8cce65a9c293fafc39 MD5 (/usr/local/lib/vmware/bin/vmware) = 548b596d4db2604dce99776e9456a663 > > > vmware2 (the vmware-any-any-update thing). > > > My binary is: > > > MD5 (/usr/local/lib/vmware/bin/vmware) = 548b596d4db2604dce99776e9456a663 > > > > Could you please send me this binary? It may be a golden binary! > > Sure. You can find it on: ... [deleted] ... I'll be getting a patch out to vmware3 port for folks to use... or there is enough data here for you to do it yourself. -- Rod Grimes freebsd@freebsd.org