From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49779002.5080704@domain.hid> Date: Wed, 21 Jan 2009 22:13:38 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <51CAD0CE1504444DBE77CBBE51A0135D533F9A@slcmail.slc.mew.int> <49757B25.8020500@domain.hid> <51CAD0CE1504444DBE77CBBE51A0135D533FB0@domain.hid> <4975E491.1040506@domain.hid> <51CAD0CE1504444DBE77CBBE51A0135D533FB6@domain.hid> <4975E612.9040708@domain.hid> <51CAD0CE1504444DBE77CBBE51A0135D534028@domain.hid> <4976EABD.3060505@domain.hid> <51CAD0CE1504444DBE77CBBE51A0135D534053@domain.hid> <497751E3.3020301@domain.hid> <51CAD0CE1504444DBE77CBBE51A0135D53405D@slcmail.slc.mew.int> <49775759.2090505@domain.hid> <51CAD0CE1504444DBE77CBBE51A0135D534064@domain.hid> <49776313.2090403@domain.hid> <51CAD0CE1504444DBE77CBBE51A0135D53407D@slcmail.slc.mew.int> <49777C1F.4040805@domain.hid> <51CAD0CE1504444DBE77CBBE51A0135D53408C@slcmail.slc.mew.int> In-Reply-To: <51CAD0CE1504444DBE77CBBE51A0135D53408C@slcmail.slc.mew.int> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] fpu issue List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Steven Seeger Cc: xenomai@xenomai.org Steven Seeger wrote: > I spoke too soon. I managed to make it fail by removing the break in > func() in my test, so that it does its comparison over and over again. > > The failure case starts off like the normal case where xnarch_save_fpu > always exists early due to wrap_test_fpu_used always returning false. > However, when it fails, as I pointed out earlier it seems that the > cr0_ts is not set so stts() is not called in restore. I never see this > case when things work properly. When it fails, I see two restores in a > row where the task switch bit is not set in the FPU. > > Where would I want to look into this? Please send me traces, so that I can understand what goes wrong. -- Gilles.