<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: kernel: ping(9044): unaligned access errors in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732561#M43182</link>
    <description>Both the "unaligned access" and "floating-point assist fault" messages mean that the kernel has caught an user-space process doing something in an inefficient way. So it is not a kernel problem: it is an application problem.&lt;BR /&gt;&lt;BR /&gt;In both cases, the kernel intervenes, figures out what the process was trying to do, does it the correct way and hands the result back to the process. This works, but is significantly slower than doing it the right way in the first place. &lt;BR /&gt;&lt;BR /&gt;The log message is intended to tell the sysadmin that a program has an Itanium-specific bug and a bug report should be sent to the appropriate software vendor/developer.&lt;BR /&gt;&lt;BR /&gt;Please see:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=62080055abe021100055abe02110275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=62080055abe021100055abe02110275d6e10RCRD&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Is this a problem? I'd say it depends: if the problematic code is run relatively rarely (say, a few times per second) it might be unimportant to the overall performance of the program. But if the problem is in a critical piece of code that runs e.g. 500 000 times per second, it will have a significant performance impact and should be fixed ASAP.&lt;BR /&gt;&lt;BR /&gt;I'd look for patches to the "ping" command and Oracle: there's a good chance that these problems have already been reported and fixed.&lt;BR /&gt;&lt;BR /&gt;MK</description>
    <pubDate>Sat, 01 Jan 2011 17:00:27 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2011-01-01T17:00:27Z</dc:date>
    <item>
      <title>kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732560#M43181</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;wish u all a v.happy new year .... hope 2011 brings peace to the world more than anything else ...:)&lt;BR /&gt; &lt;BR /&gt;could you plz help me here.&lt;BR /&gt;do these errors mean there is some issue with the kernel which is running.&lt;BR /&gt;we have a oracle rac running on HP Itanium servers&lt;BR /&gt;&lt;BR /&gt;SUSE Linux Enterprise Server 10 SP2 (ia64) &lt;BR /&gt;Linux oracledb2 2.6.16.60-0.21-default #1 SMP Tue May 6 12:41:02 UTC 2008 ia64 ia64 ia64 GNU/Linux&lt;BR /&gt;&lt;BR /&gt;kernel: ping(5628): unaligned access &lt;BR /&gt;&lt;BR /&gt;this is what i am worried about. google searches take me on a wild goose chase. could someone plz throw more light on this&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[code]&lt;BR /&gt;Dec 21 23:59:46 oracledb2 kernel: ping(5628): unaligned access to 0x607fffffff5af8d5, ip=0xa00000010048a720&lt;BR /&gt;Dec 22 00:00:03 oracledb2 kernel: oracle(5860): floating-point assist fault at ip 40000000079c0262, isr 0000020000001001&lt;BR /&gt;Dec 22 00:00:03 oracledb2 kernel: oracle(5860): floating-point assist fault at ip 40000000079c0262, isr 0000020000001001&lt;BR /&gt;Dec 22 00:00:03 oracledb2 kernel: oracle(5860): floating-point assist fault at ip 40000000079c0262, isr 0000020000001001&lt;BR /&gt;Dec 22 00:00:03 oracledb2 kernel: oracle(5860): floating-point assist fault at ip 40000000079c0262, isr 0000020000001001&lt;BR /&gt;Dec 22 00:00:03 oracledb2 kernel: oracle(5860): floating-point assist fault at ip 40000000079c0262, isr 0000020000001001&lt;BR /&gt;Dec 22 00:00:16 oracledb2 kernel: ping(5997): unaligned access to 0x607fffffffd1b8d5, ip=0xa00000010048a720&lt;BR /&gt;Dec 22 00:00:47 oracledb2 kernel: oracle(6366): floating-point assist fault at ip 40000000080d3922, isr 0000020000001001&lt;BR /&gt;Dec 22 00:00:47 oracledb2 kernel: oracle(6366): floating-point assist fault at ip 40000000080d3922, isr 0000020000001001&lt;BR /&gt;Dec 22 00:00:47 oracledb2 kernel: oracle(6366): floating-point assist fault at ip 40000000080d3922, isr 0000020000001001&lt;BR /&gt;Dec 22 00:00:47 oracledb2 kernel: oracle(6366): floating-point assist fault at ip 40000000080d3922, isr 0000020000001001&lt;BR /&gt;Dec 22 00:00:47 oracledb2 kernel: oracle(6366): floating-point assist fault at ip 40000000080d3922, isr 0000020000001001&lt;BR /&gt;Dec 22 00:00:47 oracledb2 kernel: ping(6417): unaligned access to 0x607fffffff8cf8d5, ip=0xa00000010048a720&lt;BR /&gt;Dec 22 00:01:17 oracledb2 kernel: ping(6761): unaligned access to 0x607fffffffad38d5, ip=0xa00000010048a720&lt;BR /&gt;Dec 22 00:01:47 oracledb2 kernel: ping(7167): unaligned access to 0x607ffffffeed38d5, ip=0xa00000010048a720&lt;BR /&gt;Dec 22 00:02:17 oracledb2 kernel: ping(7508): unaligned access to 0x607ffffffe5178d5, ip=0xa00000010048a720&lt;BR /&gt;Dec 22 00:02:48 oracledb2 kernel: ping(7980): unaligned access to 0x607fffffff5838d5, ip=0xa00000010048a720&lt;BR /&gt;Dec 22 00:03:18 oracledb2 kernel: ping(8304): unaligned access to 0x607ffffffe9478d5, ip=0xa00000010048a720&lt;BR /&gt;Dec 22 00:03:48 oracledb2 kernel: ping(8709): unaligned access to 0x607ffffffef578d5, ip=0xa00000010048a720&lt;BR /&gt;Dec 22 00:04:19 oracledb2 kernel: ping(9044): unaligned access to 0x607fffffff18f8d5, ip=0xa00000010048a720&lt;BR /&gt;Dec 22 00:04:49 oracledb2 kernel: ping(9509): unaligned access to 0x607fffffff74f8d5, ip=0xa00000010048a720&lt;BR /&gt;&lt;BR /&gt;[/code]</description>
      <pubDate>Sat, 01 Jan 2011 15:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732560#M43181</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2011-01-01T15:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732561#M43182</link>
      <description>Both the "unaligned access" and "floating-point assist fault" messages mean that the kernel has caught an user-space process doing something in an inefficient way. So it is not a kernel problem: it is an application problem.&lt;BR /&gt;&lt;BR /&gt;In both cases, the kernel intervenes, figures out what the process was trying to do, does it the correct way and hands the result back to the process. This works, but is significantly slower than doing it the right way in the first place. &lt;BR /&gt;&lt;BR /&gt;The log message is intended to tell the sysadmin that a program has an Itanium-specific bug and a bug report should be sent to the appropriate software vendor/developer.&lt;BR /&gt;&lt;BR /&gt;Please see:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=62080055abe021100055abe02110275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=62080055abe021100055abe02110275d6e10RCRD&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Is this a problem? I'd say it depends: if the problematic code is run relatively rarely (say, a few times per second) it might be unimportant to the overall performance of the program. But if the problem is in a critical piece of code that runs e.g. 500 000 times per second, it will have a significant performance impact and should be fixed ASAP.&lt;BR /&gt;&lt;BR /&gt;I'd look for patches to the "ping" command and Oracle: there's a good chance that these problems have already been reported and fixed.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sat, 01 Jan 2011 17:00:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732561#M43182</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-01-01T17:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732562#M43183</link>
      <description>thank you Matti ... thanks a lot for the detailed reply&lt;BR /&gt;&lt;BR /&gt;always wonder how u guys have answers to almost all questions posted here :)&lt;BR /&gt;have a wonderful 2011 ...</description>
      <pubDate>Sat, 01 Jan 2011 18:33:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732562#M43183</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2011-01-01T18:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732563#M43184</link>
      <description>hi .. i m back :)&lt;BR /&gt;&lt;BR /&gt;we have four database instances running on the two Oracle RAC nodes.&lt;BR /&gt;the four databases have found different OS users.&lt;BR /&gt;i was investigating this issue and found a few things.&lt;BR /&gt;i see that the /etc/security/limits.conf file doesnt have entries for three of the four OS users on node1, while its empty for node2.&lt;BR /&gt;Only the default oracle user which comes with suse installation (on selecting oracle packages) is present.&lt;BR /&gt;&lt;BR /&gt;could this be the cause of the issue. i am planning to raise an SR with oracle on this.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Sun, 02 Jan 2011 11:19:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732563#M43184</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2011-01-02T11:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732564#M43185</link>
      <description>&amp;gt; could this be the cause of the issue. &lt;BR /&gt;&lt;BR /&gt;The kernel messages indicate the programs are doing something wrong, that's certain. But perhaps that piece of code is run only if the limits are not set correctly? Only someone with access to Oracle source code (i.e. the programmers and maybe high-level support people at Oracle) can know for sure.&lt;BR /&gt;&lt;BR /&gt;The messages include PID numbers: you could use them to see which Oracle instance(s) is/are having the problem. for example, if you see a message like "...kernel: oracle(6366): floating-point assist fault...", then the PID of the process was 6366 and you can use "ps -fp 6366" to check which user owns that process.&lt;BR /&gt;&lt;BR /&gt;If that user doesn't have the limits set in Oracle-recommended way, I think it should be easy enough to try setting the limits correctly and restarting that Oracle instance. If the messages no longer appear after that, you have a solution for your issue.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sun, 02 Jan 2011 13:23:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732564#M43185</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-01-02T13:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732565#M43186</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it can be rather considered as warning message then application error.&lt;BR /&gt;&lt;BR /&gt;eg. ORACLE in note 279456.1 says it can be ignored or even supressed by syslog setup.&lt;BR /&gt;The note is based on following HP's doc &lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=62080055abe021100055abe02110275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801?ciid=62080055abe021100055abe02110275d6e10RCRD&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;However, there are reported some bugs as well for some DB releases. you may want to check it against your actual version.&lt;BR /&gt;&lt;BR /&gt;emha.</description>
      <pubDate>Sun, 02 Jan 2011 19:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732565#M43186</guid>
      <dc:creator>emha_1</dc:creator>
      <dc:date>2011-01-02T19:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732566#M43187</link>
      <description>&amp;gt;do these errors mean there is some issue with the kernel which is running.&lt;BR /&gt;&lt;BR /&gt;These indicate sloppy programming and lack of adequate FP hardware support.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ping(5628): unaligned access to 0x607fffffff5af8d5, ip=0xa00000010048a720&lt;BR /&gt;&lt;BR /&gt;The address ...8d5 isn't 2, 4 or 8 byte aligned.  If it occurs once per program run, it isn't worth worrying about.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;floating-point assist fault at ip 40000000079c0262, isr 0000020000001001&lt;BR /&gt;&lt;BR /&gt;This indicates lack of full support for IEEE FP operations.  (The Standard allows faults into the kernel for exceptional cases.)  Perhaps the data is so small you have denorms?  There isn't much you can do to the application, since it is data dependent.&lt;BR /&gt;&lt;BR /&gt;Both of of these cases can be expensive if they occur a lot.  For denorms, if you enable flush to zero, you'll get better performance.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;MK: ... "floating-point assist fault" messages mean that the kernel has caught an user-space process doing something in an inefficient way.&lt;BR /&gt;&lt;BR /&gt;This isn't the case for a FP assist fault.  It's due to lemon hardware design.  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But if the problem is in a critical piece of code that runs e.g. 500000 times per second, it will have a significant performance impact and should be fixed ASAP.&lt;BR /&gt;&lt;BR /&gt;Yes, I've seen that with denorms.</description>
      <pubDate>Sun, 02 Jan 2011 20:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732566#M43187</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-01-02T20:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732567#M43188</link>
      <description>&amp;gt;&amp;gt;MK: ... "floating-point assist fault" messages mean that the kernel has caught an user-space process doing something in an inefficient way.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Dennis: This isn't the case for a FP assist fault. It's due to lemon hardware design. :-) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;:-) I appreciate your view, and sort of agree.&lt;BR /&gt;&lt;BR /&gt;Assuming that a program is produced for some known hardware (instead of a theoretical abstraction), the known misfeatures of the hardware should be taken into account. &lt;BR /&gt;&lt;BR /&gt;In the case of Itanium, any floating-point code should decide in advance what to do with denorms: either explicitly ignore them if it's safe for that particular code (using "fesetenv (FE_NONIEEE_ENV);" or whatever), or explicitly catch the appropriate FP fault if flushing the denorms is not safe.&lt;BR /&gt;&lt;BR /&gt;In a production-quality software, I think ignoring the hardware platform's lemon FP implementation and relying on the OS's "safety net" to fix it qualifies as stupid. &lt;BR /&gt;&lt;BR /&gt;OK, I understand porting IEEE-compliant FP code to a non-IEEE-compliant hardware platform can be painful.&lt;BR /&gt;&lt;BR /&gt;Multi-platform code already needs to deal with FP endianness questions and quite likely other platform-specific FP oddities anyway, so I see no excuse for ignoring Itanium's FP misfeatures. For the programmers of a mature multi-platform software like Oracle, having to deal with something like this should have been nothing new.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Mon, 03 Jan 2011 10:04:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732567#M43188</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-01-03T10:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732568#M43189</link>
      <description>&amp;gt;MK: Assuming that a program is produced for some known hardware, the known misfeatures of the hardware should be taken into account.&lt;BR /&gt;&lt;BR /&gt;It is hard to do that with denorms.  Especially if they are created by FP instructions.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;In the case of Itanium, any floating-point code should decide in advance what to do with denorms: either explicitly ignore them if it's safe for that particular code (using fesetenv(FE_NONIEEE_ENV);),&lt;BR /&gt;&lt;BR /&gt;Yes but that is the only thing you can do.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;or explicitly catch the appropriate FP fault if flushing the denorms is not safe.&lt;BR /&gt;&lt;BR /&gt;These faults only go to the kernel and that is the choice Oracle made.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I think ignoring the hardware platform's lemon FP implementation and relying on the OS's "safety net" to fix it qualifies as stupid.&lt;BR /&gt;&lt;BR /&gt;Except you don't have any good choices except for flush to zero.&lt;BR /&gt;And I wouldn't call this a "safety net" like the misaligned case.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I understand porting IEEE-compliant FP code to a non-IEEE-compliant hardware platform can be painful.&lt;BR /&gt;&lt;BR /&gt;We don't have that case here.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I see no excuse for ignoring Itanium's FP misfeatures.&lt;BR /&gt;&lt;BR /&gt;There may be lots of platforms with this.  PA-RISC also has this problem too.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;For the programmers of a mature multi-platform software like Oracle, having to deal with something like this should have been nothing new.&lt;BR /&gt;&lt;BR /&gt;Other than flush to zero, there are no good choices.  Other than make it configurable.</description>
      <pubDate>Mon, 03 Jan 2011 16:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732568#M43189</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-01-03T16:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732569#M43190</link>
      <description>thanks for that detailed discussion. :)&lt;BR /&gt;&lt;BR /&gt;do you think its better to ask Oracle about this? or is it ignorable?&lt;BR /&gt;i v read the notes which u v given. thanks for the same</description>
      <pubDate>Mon, 03 Jan 2011 18:40:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732569#M43190</guid>
      <dc:creator>iinfi1</dc:creator>
      <dc:date>2011-01-03T18:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732570#M43191</link>
      <description>&amp;gt;do you think its better to ask Oracle about this? or is it ignorable?&lt;BR /&gt;&lt;BR /&gt;I doubt you'll get anywhere on the denorm issue.  Especially if there are so few? faults.&lt;BR /&gt;If there are a whole bunch, you could ask for a configuration value to enable flush to zero.&lt;BR /&gt;&lt;BR /&gt;Look at MK's URL on how to turn it off the logging.</description>
      <pubDate>Mon, 03 Jan 2011 20:23:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732570#M43191</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-01-03T20:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732571#M43192</link>
      <description>It would be absurd to log kernel error messages for non-fatal application behavior if the behavior is unavoidable.&lt;BR /&gt;&lt;BR /&gt;I'm not a ia64 programmer, but with a bit of Googling, I easily found out that there _is_ a way for a program to decide how the FP handling should work for it on Linux-IA64. It's just the matter of telling the kernel what you wish done. &lt;BR /&gt;&lt;BR /&gt;The relevant system call is prctl(2).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.kernel.org/doc/man-pages/online/pages/man2/prctl.2.html" target="_blank"&gt;http://www.kernel.org/doc/man-pages/online/pages/man2/prctl.2.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Within your application code, you can make the FP assist faults happen silently with:&lt;BR /&gt;&lt;BR /&gt;prctl(PR_SET_FPEMU, PR_FPEMU_NOPRINT, 0L, 0L, 0L); &lt;BR /&gt;&lt;BR /&gt;Or if you want, you can make the kernel send a SIGFPE instead of using the emulation, with:&lt;BR /&gt;&lt;BR /&gt;prctl(PR_SET_FPEMU, PR_FPEMU_SIGFPE, 0L, 0L, 0L);&lt;BR /&gt;&lt;BR /&gt;According to the man page, these features have existed since Linux 2.4.18 and 2.5.9, and are specific to ia64.&lt;BR /&gt;&lt;BR /&gt;There's also a way to do the same to "unaligned access" errors. That's even older: it's supported on ia64 since Linux 2.3.48.&lt;BR /&gt;&lt;BR /&gt;To make the system silently fix unaligned access errors:&lt;BR /&gt;prctl(PR_SET_UNALIGN, PR_UNALIGN_NOPRINT, 0L, 0L, 0L); &lt;BR /&gt;&lt;BR /&gt;To make the system generate a SIGBUS on unaligned access:&lt;BR /&gt;prctl(PR_SET_UNALIGN, PR_UNALIGN_SIGBUS, 0L, 0L, 0L); &lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 04 Jan 2011 13:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732571#M43192</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-01-04T13:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: kernel: ping(9044): unaligned access errors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732572#M43193</link>
      <description>&amp;gt;MK: It would be absurd to log kernel error messages for non-fatal application behavior if the behavior is unavoidable.&lt;BR /&gt;&lt;BR /&gt;Just to let you know about poor performance?  Or in the unaligned case, where to fix your code.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Within your application code, you can make the FP assist faults happen silently with:&lt;BR /&gt;&lt;BR /&gt;Ok, that's something that could be suggested to Oracle.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;you can make the kernel send a SIGFPE instead of using the emulation&lt;BR /&gt;&lt;BR /&gt;Not much you can do with this except print a message and abort.  Otherwise it will be even slower.</description>
      <pubDate>Tue, 04 Jan 2011 14:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kernel-ping-9044-unaligned-access-errors/m-p/4732572#M43193</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-01-04T14:09:03Z</dc:date>
    </item>
  </channel>
</rss>

