Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pete cat <peterpion@yahoo.com>
To: alsa-devel@alsa-project.org
Subject: Xrun stack trace for 1010LT
Date: Fri, 5 Dec 2008 06:18:04 -0800 (PST)	[thread overview]
Message-ID: <279201.13713.qm@web65401.mail.ac4.yahoo.com> (raw)

Im trying to get xrun free recording from a pair of 1010LTs (ice1712) and ive resorted to setting xrun_debug to record stack traces on xruns.

Im getting xruns every few minutes (between 2 and 15 minute gaps between single xrun events) and every xrun produces identical stack traces like this:

[17127.486287] Pid: 775, comm: IRQ-3 Not tainted 2.6.24.1 #2
[17127.486309]  [<c02ade37>] snd_pcm_period_elapsed+0x247/0x2f0
[17127.486325]  [<c010312e>] __switch_to+0x9e/0x150
[17127.486336]  [<c0128674>] finish_task_switch+0x34/0xd0
[17127.486350]  [<c02c2119>] snd_ice1712_interrupt+0xa9/0x1a0
[17127.486364]  [<c016ab7c>] handle_IRQ_event+0x5c/0x100
[17127.486379]  [<c016b1ba>] thread_simple_irq+0x4a/0x90
[17127.486390]  [<c016bb09>] do_irqd+0x229/0x290
[17127.486404]  [<c016b8e0>] do_irqd+0x0/0x290
[17127.486411]  [<c0141ef2>] kthread+0x42/0x70
[17127.486418]  [<c0141eb0>] kthread+0x0/0x70
[17127.486425]  [<c0105857>] kernel_thread_helper+0x7/0x10
[17127.486437]  =======================

Running the rt kernel (Linux ubuntu-studio 2.6.24.1 #2 SMP PREEMPT RT Thu Dec 4 21:30:26 GMT 2008 i686 GNU/Linux) - although the original installation was Ubuntu studio, the kernel is recompiled. The xruns seem to be all on the same card. IRQs are set to priority of 99 with chrt. Software for record is arecord, modified to use a 10 second ring buffer which is written to disk in a separate thread.

I was hoping that from the stack trace I could work out what was causing the xruns, but from the above it dosent look like there is anything causing them. However this is the first time I am using stack traces so  maybe im missing something. Can anyone point to the fault for me?

Thanks, Pete

             reply	other threads:[~2008-12-05 14:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 14:18 Pete cat [this message]
2008-12-05 14:26 ` Xrun stack trace for 1010LT Takashi Iwai
2008-12-05 14:48   ` Pete cat
2008-12-05 15:17     ` John Rigg
2008-12-05 15:20       ` Pete
2008-12-05 15:23         ` Pete
2008-12-05 16:02           ` John Rigg
2008-12-05 16:11             ` Pete
2008-12-05 19:41               ` John Rigg
2008-12-05 21:39                 ` Pete
2008-12-06 14:46                   ` John Rigg
2008-12-15 15:23             ` Pete

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=279201.13713.qm@web65401.mail.ac4.yahoo.com \
    --to=peterpion@yahoo.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox