From owner-cvs-src@FreeBSD.ORG Sun Jun 6 02:14:54 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 868AB16A4CE; Sun, 6 Jun 2004 02:14:54 -0700 (PDT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7EFE43D3F; Sun, 6 Jun 2004 02:14:53 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.80.164) by smtp01.syd.iprimus.net.au (7.0.024) id 40B7A0DA00266C6F; Sun, 6 Jun 2004 19:14:52 +1000 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id EE95041D2; Sun, 6 Jun 2004 19:16:23 +1000 (EST) Date: Sun, 6 Jun 2004 19:16:23 +1000 From: Tim Robbins To: David Malone Message-ID: <20040606091623.GA33323@cat.robbins.dropbear.id.au> References: <200406050313.i553Dd3q070600@repoman.freebsd.org> <20040606081221.GA11314@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040606081221.GA11314@walton.maths.tcd.ie> User-Agent: Mutt/1.4.1i cc: cvs-src@FreeBSD.org cc: David Schultz cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 fpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 09:14:54 -0000 On Sun, Jun 06, 2004 at 09:12:21AM +0100, David Malone wrote: > On Fri, Jun 04, 2004 at 08:13:39PM -0700, David Schultz wrote: > > Modified files: > > sys/amd64/amd64 fpu.c > > Log: > > Initialize the MXCSR to the appropriate default value at startup. > > This seems to result in a "Fault trap 1: privileged instrustion > fault while in the kernel" while executing the ldmscsr instruction. > If I comment it out, everything works fine again. > > > Tested on: tjr > > This must be a situation where testing on humans is bad ;-) It works fine here. CPU: AMD Athlon(tm) 64 Processor 3000+ (2002.57-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf48 Stepping = 8 Features=0x78bfbff AMD Features=0xe0500800 Tim