<?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>i.MX ProcessorsのトピックRe: FSL-SSI duplex communication: system freeze</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/FSL-SSI-duplex-communication-system-freeze/m-p/615800#M93144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sharvari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as described on below link kill may not remove process&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://askubuntu.com/questions/59811/kill-pid-not-really-killing-the-process-why" title="http://askubuntu.com/questions/59811/kill-pid-not-really-killing-the-process-why"&gt;command line - "kill &amp;lt;PID&amp;gt;" not really killing the process, why? - Ask Ubuntu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so one can try to debug it more, using for example&lt;/P&gt;&lt;P&gt;AN4553 Using Open Source Debugging Tools for Linux on i.MX&lt;BR /&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/application-notes/AN4553.pdf"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN4553.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 09:43:10 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-03-24T09:43:10Z</dc:date>
    <item>
      <title>FSL-SSI duplex communication: system freeze</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FSL-SSI-duplex-communication-system-freeze/m-p/615799#M93143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working on imx6q sabre auto based board. I use kernel linux-imx4.1.15 &amp;nbsp;with yocto rootfs of krogoth branch. I am using fsl-ssi interface for mic and playback using codec. I modified the ssi driver to work in i2s mode. &amp;nbsp;Individual aplay and arecord commands work perfectly.&lt;/P&gt;&lt;P&gt;Now i use aplay on ssi device and keep aplay running. Then arecord is used to capture mic data. After that, i stop arecord and run it again after some time. In backgroung aplay is strill running. Now when arecord runs again, system completely freezes and i dont get any playback sound from aplay also. After some 20sec, i get rcu error as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=2102 jiffies, g=3869, c=3868, q=54)&lt;BR /&gt;rcu_preempt kthread starved for 2101 jiffies!&lt;BR /&gt;INFO: rcu_preempt self-detected stall on CPU { 0} (t=2100 jiffies g=3870 c=3869 q=54)&lt;BR /&gt;rcu_preempt kthread starved for 2100 jiffies!&lt;BR /&gt;INFO: rcu_preempt self-detected stall on CPU { 0} (t=8403 jiffies g=3870 c=3869 q=55)&lt;BR /&gt;rcu_preempt kthread starved for 8403 jiffies!&lt;BR /&gt;INFO: rcu_preempt self-detected stall on CPU { 0} (t=14706 jiffies g=3870 c=3869 q=55)&lt;BR /&gt;rcu_preempt kthread starved for 14706 jiffies!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aplay and arecord commands used are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d;"&gt;aplay -D ssi1 -f S16_LE -r 48000 -c 2 -t wav /meta/sine_48.wav &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d;"&gt;arecord -D ssi1 -f S16_LE -r 48000 -c 2 -t wav /meta/mic_in_1.wav &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d;"&gt;killall arecord&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d;"&gt;arecord -D mic_in -f S16_LE -r 48000 -c 2 -t wav /meta/mic_in_1.wav &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be the possible problem here? Why is the system freezing on second arecord(capture)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sharvari Harisangam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 07:00:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FSL-SSI-duplex-communication-system-freeze/m-p/615799#M93143</guid>
      <dc:creator>sharvari</dc:creator>
      <dc:date>2017-03-24T07:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: FSL-SSI duplex communication: system freeze</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FSL-SSI-duplex-communication-system-freeze/m-p/615800#M93144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sharvari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as described on below link kill may not remove process&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://askubuntu.com/questions/59811/kill-pid-not-really-killing-the-process-why" title="http://askubuntu.com/questions/59811/kill-pid-not-really-killing-the-process-why"&gt;command line - "kill &amp;lt;PID&amp;gt;" not really killing the process, why? - Ask Ubuntu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so one can try to debug it more, using for example&lt;/P&gt;&lt;P&gt;AN4553 Using Open Source Debugging Tools for Linux on i.MX&lt;BR /&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/application-notes/AN4553.pdf"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN4553.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 09:43:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FSL-SSI-duplex-communication-system-freeze/m-p/615800#M93144</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-03-24T09:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: FSL-SSI duplex communication: system freeze</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FSL-SSI-duplex-communication-system-freeze/m-p/615801#M93145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have confirmed that first arecord process was successfully killed and it is no more in the RAM. I tried with gdb, strace .&lt;/P&gt;&lt;P&gt;But I dont see any failure message before system freeze.&lt;/P&gt;&lt;P&gt;Is there any possiblity that ssi is causing system to freeze?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 10:41:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FSL-SSI-duplex-communication-system-freeze/m-p/615801#M93145</guid>
      <dc:creator>sharvari</dc:creator>
      <dc:date>2017-03-24T10:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: FSL-SSI duplex communication: system freeze</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FSL-SSI-duplex-communication-system-freeze/m-p/615802#M93146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sharvari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you try attached fix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 23:57:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FSL-SSI-duplex-communication-system-freeze/m-p/615802#M93146</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-03-24T23:57:48Z</dc:date>
    </item>
  </channel>
</rss>

