atom feed11 messages in org.freebsd.freebsd-stableRe: VMware 3.1.1 for Windows and Free...
FromSent OnAttachments
Makoto MatsushitaMay 29, 2002 8:20 am 
alan...@t-motion.netMay 29, 2002 8:28 am 
Bosko MilekicMay 29, 2002 8:36 am 
Ian DowseMay 29, 2002 8:47 am 
Bosko MilekicMay 29, 2002 9:00 am 
Makoto MatsushitaMay 29, 2002 9:18 am 
Makoto MatsushitaMay 29, 2002 5:35 pm 
Makoto MatsushitaMay 29, 2002 5:43 pm 
Makoto MatsushitaMay 29, 2002 6:27 pm 
alan...@t-motion.netMay 30, 2002 2:47 am 
Makoto MatsushitaMay 30, 2002 11:58 am 
Subject:Re: VMware 3.1.1 for Windows and FreeBSD 4.6-RC2
From:Bosko Milekic (bmil@unixdaemons.com)
Date:May 29, 2002 9:00:38 am
List:org.freebsd.freebsd-stable

On Wed, May 29, 2002 at 04:48:01PM +0100, Ian Dowse wrote:

In message <2002@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.

Yes, that would be awesome. By the way, why "cmpxchg?" Does it have to do with VMWare not liking bus-locked instructions? How about the instruction prefix "lock" ? How is it handled by VMWare, anyway?

Thanks,

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message