From owner-freebsd-stable Wed May 29 8:48:26 2002 Delivered-To: freebsd-stable@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 7E01037B404 for ; Wed, 29 May 2002 08:48:03 -0700 (PDT) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 29 May 2002 16:48:02 +0100 (BST) To: Bosko Milekic Cc: Makoto Matsushita , stable@FreeBSD.ORG Subject: Re: VMware 3.1.1 for Windows and FreeBSD 4.6-RC2 In-Reply-To: Your message of "Wed, 29 May 2002 11:36:51 EDT." <20020529113651.A74576@unixdaemons.com> Date: Wed, 29 May 2002 16:48:01 +0100 From: Ian Dowse Message-ID: <200205291648.aa58472@salmon.maths.tcd.ie> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020529113651.A74576@unixdaemons.com>, Bosko Milekic writes: > I don't know what's up, but I tried installing a -CURRENT snapshot via > a virtual CD "containing" the snapshot iso and got this behavior (I've > tried several times on my laptop): On most hardware you need to disable the use of "cmpxchg" to get -CURRENT to run in VMware at a non-zero speed: Index: atomic.h =================================================================== RCS file: /dump/FreeBSD-CVS/src/sys/i386/include/atomic.h,v retrieving revision 1.26 diff -u -r1.26 atomic.h --- atomic.h 28 Feb 2002 06:17:05 -0000 1.26 +++ atomic.h 11 Mar 2002 17:43:37 -0000 @@ -106,7 +106,7 @@ * Returns 0 on failure, non-zero on success */ -#if defined(I386_CPU) +#if defined(I386_CPU) || 1 static __inline int atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src) { I haven't seen the need for this on -stable, but it might be worth a try. We could do with a loader-tunable setting so that you don't need to build a custom kernel for installation in VMware. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message