From: Keir Fraser Subject: Re: Floating Point Exception when compiling w/ gcc Date: Tue, 22 Feb 2005 23:47:37 +0000 Message-ID: <5710bb97d32307e8ffa7cca445a89232@cl.cam.ac.uk> References: Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Robin Green Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org On 22 Feb 2005, at 19:26, Robin Green wrote: > I found a floating-point bug in xen-unstable, which, since I don't know > what causes it, might also be present in xen 2.0.4. (See thread > "reproducable data corruption in xen-unstable".) > > HOWEVER, I did create a workaround patch, which effectively solves the > problem for me. Remember to apply this patch both to xen0 and xenU > kernels. I'd like to get to the bottom of this problem. I've checked in some cleanups to FPU code in both -testing and -unstable trees (the cleanups are particularly extensive in the unstable tree). Can you see if the problem still occurs? If it does, it would be useful to see at task-switch time, where you see that TS is incorrectly cleared, whether Xen per-domain flags EDF_GUEST_STTS and EDF_USEDFPU are true or false. You'll have to hack in a call-down into Xen to print out the flags' status -- perhaps hack into the 'xen_version' hypercall? -- Keir ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click