Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 16:48:01 +0100
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        Bosko Milekic <bmilekic@unixdaemons.com>
Cc:        Makoto Matsushita <matusita@jp.FreeBSD.org>, stable@FreeBSD.ORG
Subject:   Re: VMware 3.1.1 for Windows and FreeBSD 4.6-RC2 
Message-ID:   <200205291648.aa58472@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Wed, 29 May 2002 11:36:51 EDT." <20020529113651.A74576@unixdaemons.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200205291648.aa58472>