<?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: aplay (ALSA) hangs randomly when CPU frequency changes in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302667#M38382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are getting system crash issue while playing short track 15ms vector in loopback mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; [&amp;lt;802bc274&amp;gt;] (snd_pcm_period_elapsed+0x44/0xd8) from [&amp;lt;801a336c&amp;gt;] (sdma_tasklet+0x90/0x134)&lt;/P&gt;&lt;P&gt; [&amp;lt;801a336c&amp;gt;] (sdma_tasklet+0x90/0x134) from [&amp;lt;80029b00&amp;gt;] (tasklet_action+0x98/0xfc)&lt;/P&gt;&lt;P&gt; [&amp;lt;80029b00&amp;gt;] (tasklet_action+0x98/0xfc) from [&amp;lt;80029240&amp;gt;] (__do_softirq+0xd4/0x1c0)&lt;/P&gt;&lt;P&gt; [&amp;lt;80029240&amp;gt;] (__do_softirq+0xd4/0x1c0) from [&amp;lt;800293b4&amp;gt;] (do_softirq+0x44/0x50)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am trying to possible root cause behind this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Dec 2014 03:34:14 GMT</pubDate>
    <dc:creator>saurabh206</dc:creator>
    <dc:date>2014-12-26T03:34:14Z</dc:date>
    <item>
      <title>aplay (ALSA) hangs randomly when CPU frequency changes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302664#M38379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on my battery-based i.MX28 board&amp;nbsp; with SGTL5000 codec&amp;nbsp; and kernel 2.6.35.3 I change the cpu frequency on the fly (for powersave purposes).&lt;/P&gt;&lt;P&gt;The used soundsystem is ALSA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All works fine and I can play any wave file with "aplay". &lt;/P&gt;&lt;P&gt;But if the CPU frequency changes while "aplay" is playing, sometimes "aplay" stops. &lt;/P&gt;&lt;P&gt;In&amp;nbsp; this case the status of the "aplay" process is S (sleeping).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To change the CPU frequency I use the follwoing commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;echo&amp;nbsp; performance &amp;gt; /sys/devices/system/cpu/cpu0/scaling_governor&amp;nbsp; &lt;/P&gt;&lt;P&gt;echo&amp;nbsp; powersave &amp;gt; /sys/devices/system/cpu/cpu0/scaling_governor &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Toni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:24:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302664#M38379</guid>
      <dc:creator>antonvogl</dc:creator>
      <dc:date>2014-04-24T10:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: aplay (ALSA) hangs randomly when CPU frequency changes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302665#M38380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Toni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you able to fixed this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Dec 2014 05:11:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302665#M38380</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2014-12-25T05:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: aplay (ALSA) hangs randomly when CPU frequency changes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302666#M38381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have the same problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain the problem a little more:&lt;/P&gt;&lt;P&gt;Does aplay stops forever after change frequency or does it hangs only a random amount of time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Dec 2014 17:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302666#M38381</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2014-12-25T17:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: aplay (ALSA) hangs randomly when CPU frequency changes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302667#M38382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are getting system crash issue while playing short track 15ms vector in loopback mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; [&amp;lt;802bc274&amp;gt;] (snd_pcm_period_elapsed+0x44/0xd8) from [&amp;lt;801a336c&amp;gt;] (sdma_tasklet+0x90/0x134)&lt;/P&gt;&lt;P&gt; [&amp;lt;801a336c&amp;gt;] (sdma_tasklet+0x90/0x134) from [&amp;lt;80029b00&amp;gt;] (tasklet_action+0x98/0xfc)&lt;/P&gt;&lt;P&gt; [&amp;lt;80029b00&amp;gt;] (tasklet_action+0x98/0xfc) from [&amp;lt;80029240&amp;gt;] (__do_softirq+0xd4/0x1c0)&lt;/P&gt;&lt;P&gt; [&amp;lt;80029240&amp;gt;] (__do_softirq+0xd4/0x1c0) from [&amp;lt;800293b4&amp;gt;] (do_softirq+0x44/0x50)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am trying to possible root cause behind this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 03:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302667#M38382</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2014-12-26T03:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: aplay (ALSA) hangs randomly when CPU frequency changes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302668#M38383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm trying to port mx28 cpufreq support into Linux mainline. It would be interesting to know if the problem still occur in a current kernel version.&lt;/P&gt;&lt;P&gt;Unfortunately i don't a mx28 board with audio interface to test it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you want to give it a try:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/lategoodbye/linux-mxs-power"&gt;https://github.com/lategoodbye/linux-mxs-power&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Dec 2014 11:36:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aplay-ALSA-hangs-randomly-when-CPU-frequency-changes/m-p/302668#M38383</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2014-12-27T11:36:12Z</dc:date>
    </item>
  </channel>
</rss>

