Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-29 Thread Steven Seeger
Hello all. I've created what Philippe thinks is a good patch for this issue as well as looked at other cases of clobbered bits in the MSR as it relates to vsx, spe, and altivec. I have checked in a patch on our interim 4.14 IPIPE work which is not yet public. It looks trivial to backport this to

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-25 Thread Steven Seeger
On Wednesday, April 25, 2018 12:49:53 PM EDT Philippe Gerum wrote: > The fix makes a lot of sense, thanks. This bug slipped under the radar > for years likely because enabling the ppc fpu in kernel context mainly > happens when fixing up alignment issues, which rt apps tend to avoid in > the first

[Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-25 Thread Philippe Gerum
On 04/25/2018 10:54 AM, Jouko Haapaluoma wrote: > On Mon, Apr 02, 2018 at 12:56:39PM +, Sagi Maimon wrote: >> Hi all, >> I am working with: Powerpc e300 SOC. >> I am using: xenomai-2.6.4 version >> >> I am experiencing this exception on my Linux : >> Unrecoverable FP Unavailable Exception 801 a

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-25 Thread Sagi Maimon
] Unrecoverable FP Unavailable Exception 801 On Mon, Apr 02, 2018 at 12:56:39PM +, Sagi Maimon wrote: > Hi all, > I am working with: Powerpc e300 SOC. > I am using: xenomai-2.6.4 version > > I am experiencing this exception on my Linux : > Unrecoverable FP Unavailable Excepti

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-25 Thread Jouko Haapaluoma
On Mon, Apr 02, 2018 at 12:56:39PM +, Sagi Maimon wrote: > Hi all, > I am working with: Powerpc e300 SOC. > I am using: xenomai-2.6.4 version > > I am experiencing this exception on my Linux : > Unrecoverable FP Unavailable Exception 801 at c0003858 > Oops: Unrecoverable FP Unavailable Excepti

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-04 Thread Steven Seeger
On Wednesday, April 4, 2018 11:42:08 AM EDT Sagi Maimon wrote: > Thanks for your reply. > You are right, but unfortunately in my ssytem it happens on the Linux side: > The Linux kernel code that fixes the alignment during align exception (600) > works most of the time, but sometimes during the alig

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-04 Thread Sagi Maimon
Maimon Cc: Lennart Sorensen ; xenomai@xenomai.org Subject: Re: [Xenomai] Unrecoverable FP Unavailable Exception 801 On Wednesday, April 4, 2018 8:57:31 AM EDT Sagi Maimon wrote: > HI, > I did it only from Linux side. > I can try doing it from xenomai side too. > Please explain how would

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-04 Thread Steven Seeger
On Wednesday, April 4, 2018 8:57:31 AM EDT Sagi Maimon wrote: > HI, > I did it only from Linux side. > I can try doing it from xenomai side too. > Please explain how would it help to investigate the problem? > If the problem does not occur in a regular linux thread, but only occurs in a xenomai-s

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-04 Thread Sagi Maimon
n D. (GSFC-582.0)[Embedded Flight Systems, Inc] ; xenomai@xenomai.org Subject: Re: [Xenomai] Unrecoverable FP Unavailable Exception 801 On Wed, Apr 04, 2018 at 12:57:31PM +, Sagi Maimon wrote: > HI, > I did it only from Linux side. > I can try doing it from xenomai side too. > Pleas

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-04 Thread Lennart Sorensen
On Wed, Apr 04, 2018 at 12:57:31PM +, Sagi Maimon wrote: > HI, > I did it only from Linux side. > I can try doing it from xenomai side too. > Please explain how would it help to investigate the problem? As far as I recall the kernel alignment fixup is only allowed from linux mode since it uses

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-04 Thread Sagi Maimon
, April 04, 2018 15:55 To: Sagi Maimon ; Lennart Sorensen Cc: xenomai@xenomai.org Subject: RE: [Xenomai] Unrecoverable FP Unavailable Exception 801 Can you trigger alignment exception both from a regular Linux user thread and a xenomai user thread? From

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-04 Thread Seeger, Steven D. (GSFC-582.0)[Embedded Flight Systems, Inc]
Systems, Inc] Cc: xenomai@xenomai.org Subject: RE: [Xenomai] Unrecoverable FP Unavailable Exception 801 As far as I know The system doesn't use kernel threads that use the FPU (but it is a huge system, so I hard to be sure) What I know for sure, is that some processes on user space use d

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-04 Thread Sagi Maimon
;Alignment Exception (600)", just for testing. -Original Message- From: Xenomai [mailto:xenomai-boun...@xenomai.org] On Behalf Of Lennart Sorensen Sent: Tuesday, April 03, 2018 21:32 To: Steven Seeger Cc: xenomai@xenomai.org Subject: Re: [Xenomai] Unrecoverable FP Unavailable Exception 8

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-04 Thread Sagi Maimon
Correct :-) -Original Message- From: Xenomai [mailto:xenomai-boun...@xenomai.org] On Behalf Of Steven Seeger Sent: Tuesday, April 03, 2018 21:34 To: Lennart Sorensen Cc: xenomai@xenomai.org Subject: Re: [Xenomai] Unrecoverable FP Unavailable Exception 801 On Tuesday, April 3, 2018 2:31

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-03 Thread Steven Seeger
On Tuesday, April 3, 2018 2:31:38 PM EDT Lennart Sorensen wrote: > On Tue, Apr 03, 2018 at 09:57:52AM -0400, Steven Seeger wrote: > > I'm a little curious about the fact that the address this occurred at is > > 0xc0003858, which suggests it's kernel code. As Philippe asked, what > > version of the

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-03 Thread Lennart Sorensen
On Tue, Apr 03, 2018 at 09:57:52AM -0400, Steven Seeger wrote: > I'm a little curious about the fact that the address this occurred at is > 0xc0003858, which suggests it's kernel code. As Philippe asked, what version > of the ipipe are you using? Also, what is your exact CPU? The e300c2 does not

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-03 Thread Steven Seeger
On Monday, April 2, 2018 10:54:54 AM EDT Sagi Maimon wrote: > Hi all, > I am working with: Powerpc e300 SOC. > I am using: xenomai-2.6.4 version > > I am experiencing this exception on my Linux : > Unrecoverable FP Unavailable Exception 801 at c0003858 > Oops: Unrecoverable FP Unavailable Excep

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-02 Thread Lennart Sorensen
On Mon, Apr 02, 2018 at 12:56:39PM +, Sagi Maimon wrote: > Hi all, > I am working with: Powerpc e300 SOC. > I am using: xenomai-2.6.4 version > > I am experiencing this exception on my Linux : > Unrecoverable FP Unavailable Exception 801 at c0003858 > Oops: Unrecoverable FP Unavailable Excepti

Re: [Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-02 Thread Philippe Gerum
On 04/02/2018 02:56 PM, Sagi Maimon wrote: > Hi all, > I am working with: Powerpc e300 SOC. > I am using: xenomai-2.6.4 version The key information is: which I-pipe version. > > I am experiencing this exception on my Linux : > Unrecoverable FP Unavailable Exception 801 at c0003858 > Oops: Unreco

[Xenomai] Unrecoverable FP Unavailable Exception 801

2018-04-02 Thread Sagi Maimon
Hi all, I am working with: Powerpc e300 SOC. I am using: xenomai-2.6.4 version I am experiencing this exception on my Linux : Unrecoverable FP Unavailable Exception 801 at c0003858 Oops: Unrecoverable FP Unavailable Exception, sig: 6 [#1] This happens during "alignment exception" (600) I found t