All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raymond <rayau@netvigator.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: [ALSA - driver 0001047]: module hangs at seemingly random times
Date: Sat, 18 Jun 2005 21:51:14 +0800	[thread overview]
Message-ID: <42B426D2.806@netvigator.com> (raw)
In-Reply-To: <50ce26d334ea87a34d7e9e58d1d69a87@bugtrack.alsa-project.org>

Alien wrote:
> Op dinsdag 7 juni 2005 15:44, schreef Raymond:
>>
>>After eight instances of "mplayer" playing stereo music concurrently in
>>my 32-bits machine and start an instance of aplay.
>>
>>aplay outls.wav
>>Playing WAVE 'outls.wav' : Signed 16 bit Little Endian, Rate 22050 Hz,
>>Stereo
>>aplay: set_params:935: Unable to install hw params:
>>ACCESS:  RW_INTERLEAVED
>>FORMAT:  S16_LE
>>SUBFORMAT:  STD
>>SAMPLE_BITS: 16
>>FRAME_BITS: 32
>>CHANNELS: 2
>>RATE: 22050
>>PERIOD_TIME: (46439 46440)
>>PERIOD_SIZE: 1024
>>PERIOD_BYTES: 4096
>>PERIODS: 11
>>BUFFER_TIME: (510839 510840)
>>BUFFER_SIZE: 11264
>>BUFFER_BYTES: 45056
>>TICK_TIME: 10000
>>
>>
>>aplay abort as there is no more SampleRateConvertors available.
>>
>>There is no deadlock or hang. After the "mplayer" finish playing and
>>release the SRCs, I can start another instance of ALSA application to
>>play music.
>
>
>
> I'm going to try to do the same thing with xine and CVS aplay, see
> what happens...


I have use the following script to test, I can hear the sound and my
32-bits machine does not hang/freeze.

aplay mono1.wav &
aplay mono2.wav &
aplay mono3.wav &
aplay mono4.wav &
aplay mono5.wav &
aplay mono6.wav &
aplay mono7.wav &
aplay mono8.wav &
aplay mono9.wav &
aplay mono10.wav &
aplay mono11.wav &
aplay mono12.wav &
aplay mono13.wav &
aplay mono14.wav &
aplay mono15.wav &
aplay mono16.wav &
aplay mono17.wav

> and the logs didn't detect anything specific at the time.

#dmesg

vortex: FATAL: ResManager: resource type 1 exhausted.

The above message is correct since 16 SRC (Type 1 resource) have been
used up

> snd-pcm-oss            59752  11
> snd-mixer-oss          20480  1 snd-pcm-oss


Which oss applications are you rnning ?

Since you are using VIA chipset, have you try the pcifix switch ?

bugtrack@alsa-project.org wrote:
> A NOTE has been added to this issue.
> ======================================================================
> <https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1047> 
> ======================================================================
> Reported By:                alien999999999
> Assigned To:                mjander
> ======================================================================
> Project:                    ALSA - driver
> Issue ID:                   1047
> Category:                   PCI - au88x0
> Reproducibility:            sometimes
> Severity:                   block
> Priority:                   normal
> Status:                     assigned
> Distribution:               Mandrake
> Kernel Version:             2.6.7
> ======================================================================
> Date Submitted:             04-12-2005 20:43 CEST
> Last Modified:              04-12-2005 20:51 CEST
> ======================================================================
> Summary:                    module hangs at seemingly random times
> Description: 
> sometimes i start playing a song, and it starts playing a few second or so
> and hangs, then i kill the application and modprobe -r all sound modules
> and modprobe them again to make it work again.
> 
> BUT: sometimes not only that happens, but also when i try to kill the apps
> it will not kill. when that happens, all kill, killall, top, ps aux
> commands hang at the command line and cannot be killed by CTRL-C or
> otherwise, i have been able to see that when i stopped my display
> managener I did an lsmod and it gave something like this:
> 
> snd-pcm-oss            59752  11
> snd-mixer-oss          20480  1 snd-pcm-oss
> snd-au8810             43760  220
> snd-ac97-codec         83408  1 snd-au8810
> snd-pcm               108172  112 snd-pcm-oss,snd-au8810,snd-ac97-codec
> snd-page-alloc         10384  1 snd-pcm
> gameport                3840  1 snd-au8810
> snd-mpu401-uart        11904  1 snd-au8810
> 
> 
> as you can see the snd-au8810 module seem to have an impossible number of
> "dependencies" (i think has to do with the number of unclosed sound-apps
> trying to be played; this could be since gaim is programmed to execute an
> 'aplay %s')
> 
> i've had this major crash below only 3 times; and the logs didn't detect
> anything specific at the time. the only thing the logs mentioned at that
> time was an ntpd sync going on; so the only thing i can think of is that
> at a certain moment when a sync is going on, some kind of lock is holding
> cause this to happen... the only thing that i can do to fix this is
> reset...
> 
> it is interesting to note that i also have an snd-emu10k1 as second card,
> which never gave problems like this, and i am always able to "modprobe -r
> snd-emu10k1" ...



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

  parent reply	other threads:[~2005-06-18 13:51 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-12 18:51 [ALSA - driver 0001047]: module hangs at seemingly random times bugtrack
2005-04-30 10:24 ` Raymond
2005-06-18 13:51 ` Raymond [this message]
2005-07-31  7:59 ` Raymond
2005-07-31 12:38   ` [Openvortex-dev] " Alien
2005-07-31 17:15     ` Raymond
  -- strict thread matches above, loose matches on Subject: below --
2006-07-31 10:23 bugtrack
2006-07-13 14:16 bugtrack
2006-06-29 15:38 bugtrack
2006-06-29  7:55 bugtrack
2006-06-29  2:41 bugtrack
2006-06-28  1:46 bugtrack
2006-06-27  6:22 bugtrack
2006-06-26 12:55 bugtrack
2006-06-26  0:46 bugtrack
2006-06-25  5:04 bugtrack
2006-04-11 16:54 bugtrack
2006-04-11 16:36 bugtrack
2006-04-10 17:05 bugtrack
2006-04-10 17:01 bugtrack
2006-04-10 14:45 bugtrack
2006-04-10 14:43 bugtrack
2006-04-10 14:40 bugtrack
2006-04-10 14:07 bugtrack
2006-03-29 15:48 bugtrack
2006-03-26  7:55 bugtrack
2006-03-22  3:09 bugtrack
2006-03-22  3:00 bugtrack
2006-03-22  1:38 bugtrack
2006-03-22  1:28 bugtrack
2006-03-21 17:01 bugtrack
2006-03-21  1:02 bugtrack
2006-03-01  6:39 bugtrack
2006-02-13 15:41 bugtrack
2006-02-05  4:28 bugtrack
2006-01-19 12:51 bugtrack
2006-01-18 14:51 bugtrack
2006-01-17 11:27 bugtrack
2006-01-14  3:53 bugtrack
2006-01-13 17:18 bugtrack
2006-01-13 12:51 bugtrack
2006-01-06 16:17 bugtrack
2006-01-05  6:21 bugtrack
2006-01-04 21:08 bugtrack
2006-01-03  3:04 bugtrack
2005-10-27  0:27 bugtrack
2005-08-24  9:13 bugtrack
2005-04-12 18:48 bugtrack
2005-04-12 18:43 bugtrack

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=42B426D2.806@netvigator.com \
    --to=rayau@netvigator.com \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.