From owner-freebsd-emulation@FreeBSD.ORG Tue May 4 05:10:32 2004 Return-Path: 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 347D116A4CF for ; Tue, 4 May 2004 05:10:32 -0700 (PDT) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D7D643D67 for ; Tue, 4 May 2004 05:10:31 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])i44CAO5v022498; Tue, 4 May 2004 22:10:24 +1000 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i44CALI2016443; Tue, 4 May 2004 22:10:22 +1000 Date: Tue, 4 May 2004 22:10:20 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Andrew Gallatin In-Reply-To: <16534.52410.881023.431391@grasshopper.cs.duke.edu> Message-ID: <20040504215848.F9795@gamplex.bde.org> References: <16531.64457.287692.950839@grasshopper.cs.duke.edu> <16534.52410.881023.431391@grasshopper.cs.duke.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: iedowse@maths.tcd.ie cc: freebsd-emulation@freebsd.org Subject: Re: vmware2 patch for -CURRENT X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 12:10:32 -0000 On Mon, 3 May 2004, Andrew Gallatin wrote: > BTW, has anybody tried running 5.2-current as a guest on vmware2? Not me. > It panics in sse2_pagezero() on my p4, so I have to break into > the debugger and reduce my cpu_class to 3. I"m really glad that the > jsnap builds have ddb built in.. ;) Apparently vmware2 doesn't support some SSE2 instructions despite claiming to. The code that calls ss2_pagezero() seems to test mostly the right things. (cpu_feature & CPU_SSE2) is supposed to indicate that the CPU supports SSE2, and it shouldn't be necessary to also test cpu_class. Try my memory access benchmarks in ~bde/cache on freefall for debugging this in userland (./w -c sse2 -f 19 uses the same access method as sse2_pagezero()). Bruce