Skip to contentSkip to conversation

Unrecoverable FP Unavailable Exception 801

Xenomai Sagi Maimon 3 participants 3 messages Apr 2, 2018

lore
Share & tools
lore
#0 lore raw

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 this link:
https://www.mail-archive.com/[email protected]&q=subject:%22Re%5C%3A+%5C%5BXenomai%5C%5D+FPU+problems+in+Xenomai+2.4.x%22&o=newest&f=1

As I understand heavy use of FPU by Linux application with the xenomai can Couse this problem.
I have built a Linux application that causes many "alignment exceptions", but I don't get any Unrecoverable FP Unavailable Exceptions.

Does anyone familiar with this error?
Have this problem fixed in recent xenomai/ipipe versions? Where can I find a list of fixes made in any xenomai/ipipe version?

Thanks,

Sagi Maimon
Manager R&D Software Oscilloquartz SA.
ADVA Optical Networking
Phone: +972 9 775 0124
Mobile: +972 54 5662632
e-mail: [email protected]<mailto:[email protected]> [ADVA_OSA_Logo] www.oscilloquartz.com<http://www.oscilloquartz.com/> www.advaoptical.com<http://www.advaoptical.com/>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4482 bytes
Desc: image001.jpg
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180402/8864aee2/attachment.jpg>

#1 lore raw
Quoted 3 lines · Sagi Maimon

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.

Quoted 11 lines

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 this link:
https://www.mail-archive.com/[email protected]&q=subject:%22Re%5C%3A+%5C%5BXenomai%5C%5D+FPU+problems+in+Xenomai+2.4.x%22&o=newest&f=1

As I understand heavy use of FPU by Linux application with the xenomai can Couse this problem.

Reading the discussion you mentioned, it says that the bug(s) mentioned have been fixed in 2.6.2.1, so this is unlikely to apply to 2.6.4.

Quoted 3 lines

I have built a Linux application that causes many "alignment exceptions", but I don't get any Unrecoverable FP Unavailable Exceptions.

Does anyone familiar with this error?

The e300 core may also issue alignment exceptions for misaligned single/multiple integer stores, or dcbz insn to write-through or cache-inhibited memory.

Quoted 1 line

Have this problem fixed in recent xenomai/ipipe versions?

No fix related to this since ages.

Quoted 2 lines

Where can I find a list of fixes made in any xenomai/ipipe version?

Only in the git commit logs for the related I-pipe and Xenomai source trees.

Signature · 1 line
Philippe.
#2 lore raw
In reply to Sagi Maimon
Quoted 13 lines · 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 this link:
https://www.mail-archive.com/[email protected]&q=subject:%22Re%5C%3A+%5C%5BXenomai%5C%5D+FPU+problems+in+Xenomai+2.4.x%22&o=newest&f=1

Quoted 6 lines

As I understand heavy use of FPU by Linux application with the xenomai can Couse this problem.
I have built a Linux application that causes many "alignment exceptions", but I don't get any Unrecoverable FP Unavailable Exceptions.

Does anyone familiar with this error?
Have this problem fixed in recent xenomai/ipipe versions? Where can I find a list of fixes made in any xenomai/ipipe version?

As far as I recall (it has been a few years), the powerpc does not allow unalligned 64 bit floating point accesses. So your data better be aligned properly.

Signature · 1 line
Len Sorensen