From owner-freebsd-emulation Wed Jan 31 18:43:37 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 829EB37B69F for ; Wed, 31 Jan 2001 18:43:19 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id VAA05196; Wed, 31 Jan 2001 21:43:14 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.1/8.9.1) id f112hE438248; Wed, 31 Jan 2001 21:43:14 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 31 Jan 2001 21:43:13 -0500 (EST) To: freebsd-emulation@freebsd.org Cc: becker@cs.duke.edu Subject: experiences running vmware w/freebsd 5.0-current as guest X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14968.51758.59870.15884@grasshopper.cs.duke.edu> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Just a heads up so this makes it into the archives: When running FreeBSD-current as a guest in vmware (VMX86: version='unreleased' build='$Name: build-570 $' option=Release2.0.1) I ran into 2 problems: a) VMware crashes when the pcn driver probes the AMD PCInet card. This is indicated by a "NOT_IMPLEMENTED F(562):1654" message shortly after FreeBSD probes the PCI bus, right after message pci0: at 15.0 (no driver attached). Switching to a kernel without the pcn driver driver works around this. The lnc driver mostly still works, but is unable to correctly determine the card's mac address. This doesn't seem to matter for running host-only networking. b) 5.0-current is _slow_. Mounting root takes upwards of 30 seconds on a 400MHz mobile PII. Going multi-user takes over 10 minutes. This is compared to near-native perf. with a 4.2-RELEASE kernel. Taking the i386 version of the atomic_cmpset_int() inline in sys/i386/include/atomic.h is an effective workaround for this. Note that it is apparently not sufficient to build an I386_CPU kernel - I had trouble booting this. Taking just the i386 version of atomic_cmpset_int() seems to work just fine, though. My theory is that the cmpxchgl instruction causes some sort of trap to software emulation, but I have not verified it. Hope this helps somebody. Cheers, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message