All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Patrick Shirkey <pshirkey@boosthardware.com>
Cc: karim@opersys.com, alsa-devel@lists.sourceforge.net
Subject: Re: USB Audio problems
Date: Fri, 21 Nov 2003 16:21:45 +0100	[thread overview]
Message-ID: <s5hoev54uie.wl@alsa2.suse.de> (raw)
In-Reply-To: <3FBCD0D0.3020404@boosthardware.com>

At Thu, 20 Nov 2003 23:33:52 +0900,
Patrick Shirkey wrote:
> 
> Takashi Iwai wrote:
> > 
> > the current code is surely buggy, because it issues sync unlink
> > inside the spinlocked context.  it's problematic on 2.6 kernel or SMP
> > system, and may result in kernel oops.  i added async_unlink module
> > option to change the behavior in the new version.
> > 
> > but it's still disabled as default, because unlinking multiple urbs
> > asynchronouly on 2.4 kernel causes kernel panic.  sigh.
> > unfortunately, there is no perfect solution to satisfy all versions
> > yet.  perhaps we need to redesign the linked-pcm streams to make it
> > possible to call prepare callback without spinlocks.
> > 
> >
> 
> Ahhh, Finally an explanaiton for why my root /var/ partition is always 
> being filled up with usb errors.
> 
> Would this also have a detrimental effect on latency? If so then I can 
> let other usb-audio user know why.

no, it has nothing to do with the latency but oopsen / lock-up.
the problem exists only at stopping the streams.  if the everything is
ok, it's not a big issue.  but, when the device runs with small
latency, which may result in xrun often, has the higher probability to
hit this bug, because ALSA tries to stop the stream if xrun happens.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

  reply	other threads:[~2003-11-21 15:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-19 19:28 USB Audio problems Karim Yaghmour
2003-11-20  5:50 ` Karim Yaghmour
2003-11-20 10:04   ` Niklas Werner
2003-11-20 11:10     ` Takashi Iwai
2003-11-20 20:25     ` Karim Yaghmour
2003-11-20 13:57   ` Takashi Iwai
2003-11-20 14:33     ` Patrick Shirkey
2003-11-21 15:21       ` Takashi Iwai [this message]
2003-11-21 16:50         ` Patrick Shirkey
2003-11-20 20:28     ` Karim Yaghmour
2003-11-21 10:37       ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2003-11-21 11:31 Denis de Leeuw Duarte
2003-08-29 19:25 usb audio problems np

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=s5hoev54uie.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=karim@opersys.com \
    --cc=pshirkey@boosthardware.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.