public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* [ALSA - driver 0001047]: module hangs at seemingly random times
@ 2005-04-12 18:51 bugtrack
  2005-04-30 10:24 ` Raymond
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: bugtrack @ 2005-04-12 18:51 UTC (permalink / raw)
  To: alsa-devel


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" ...
======================================================================

----------------------------------------------------------------------
 alien999999999 - 04-12-05 20:48 
----------------------------------------------------------------------
i forgot to note that i have the mdk 10.1 x86_64 distro and my version has
a few 64bit fixes to get past kernel hangs and kernel oopses

----------------------------------------------------------------------
 alien999999999 - 04-12-05 20:51 
----------------------------------------------------------------------
i have attached the changed files (since i don't have a CVS version of alsa
to diff against)

these files are located in the alsa-driver-1.0.8/alsa-kernel/pci/au88x0/
path

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-12-05 20:43 alien999999999 New Issue                                    
04-12-05 20:43 alien999999999 Distribution              => Mandrake        
04-12-05 20:43 alien999999999 Kernel Version            => 2.6.7           
04-12-05 20:48 alien999999999 Note Added: 0004461                          
04-12-05 20:49 alien999999999 File Added: au88x0.c                         
04-12-05 20:49 alien999999999 File Added: au88x0.h                         
04-12-05 20:50 alien999999999 File Added: au88x0_core.c                    
04-12-05 20:50 alien999999999 File Added: au88x0_mixer.c                    
04-12-05 20:51 alien999999999 Note Added: 0004462                          
======================================================================




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ALSA - driver 0001047]: module hangs at seemingly random times
  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
  2005-07-31  7:59 ` Raymond
  2 siblings, 0 replies; 6+ messages in thread
From: Raymond @ 2005-04-30 10:24 UTC (permalink / raw)
  To: alsa-devel


au8820 is working on a NForce3-based AMD64 box

http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948



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" ...
> ======================================================================
> 
> ----------------------------------------------------------------------
>  alien999999999 - 04-12-05 20:48 
> ----------------------------------------------------------------------
> i forgot to note that i have the mdk 10.1 x86_64 distro and my version has
> a few 64bit fixes to get past kernel hangs and kernel oopses
> 
> ----------------------------------------------------------------------
>  alien999999999 - 04-12-05 20:51 
> ----------------------------------------------------------------------
> i have attached the changed files (since i don't have a CVS version of alsa
> to diff against)
> 
> these files are located in the alsa-driver-1.0.8/alsa-kernel/pci/au88x0/
> path
> 
> Issue History
> Date Modified  Username       Field                    Change              
> ======================================================================
> 04-12-05 20:43 alien999999999 New Issue                                    
> 04-12-05 20:43 alien999999999 Distribution              => Mandrake        
> 04-12-05 20:43 alien999999999 Kernel Version            => 2.6.7           
> 04-12-05 20:48 alien999999999 Note Added: 0004461                          
> 04-12-05 20:49 alien999999999 File Added: au88x0.c                         
> 04-12-05 20:49 alien999999999 File Added: au88x0.h                         
> 04-12-05 20:50 alien999999999 File Added: au88x0_core.c                    
> 04-12-05 20:50 alien999999999 File Added: au88x0_mixer.c                    
> 04-12-05 20:51 alien999999999 Note Added: 0004462                          
> ======================================================================
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click










-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ALSA - driver 0001047]: module hangs at seemingly random times
  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
  2005-07-31  7:59 ` Raymond
  2 siblings, 0 replies; 6+ messages in thread
From: Raymond @ 2005-06-18 13:51 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ALSA - driver 0001047]: module hangs at seemingly random times
  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
@ 2005-07-31  7:59 ` Raymond
  2005-07-31 12:38   ` [Openvortex-dev] " Alien
  2 siblings, 1 reply; 6+ messages in thread
From: Raymond @ 2005-07-31  7:59 UTC (permalink / raw)
  To: alsa-devel; +Cc: openvortex-dev


If there are 16 instances of aplay playing mono stream.

What error will be returned by snd_pcm_open() for the 17th instance of 
aplay ?



alsa-kernel/pci/au88x0/au8810.h

#define NR_ADB   0x10

alsa-kernel/pci/au88x0/au8830.h

#define NR_ADB   0x20


alsa-kernel/pci/au88x0/au88x0.c

	if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) {
		snd_card_free(card);
		return err;
	}



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" ...
> ======================================================================
> 
> ----------------------------------------------------------------------
>  alien999999999 - 04-12-05 20:48 
> ----------------------------------------------------------------------
> i forgot to note that i have the mdk 10.1 x86_64 distro and my version has
> a few 64bit fixes to get past kernel hangs and kernel oopses
> 
> ----------------------------------------------------------------------
>  alien999999999 - 04-12-05 20:51 
> ----------------------------------------------------------------------
> i have attached the changed files (since i don't have a CVS version of alsa
> to diff against)
> 
> these files are located in the alsa-driver-1.0.8/alsa-kernel/pci/au88x0/
> path
> 
> Issue History
> Date Modified  Username       Field                    Change              
> ======================================================================
> 04-12-05 20:43 alien999999999 New Issue                                    
> 04-12-05 20:43 alien999999999 Distribution              => Mandrake        
> 04-12-05 20:43 alien999999999 Kernel Version            => 2.6.7           
> 04-12-05 20:48 alien999999999 Note Added: 0004461                          
> 04-12-05 20:49 alien999999999 File Added: au88x0.c                         
> 04-12-05 20:49 alien999999999 File Added: au88x0.h                         
> 04-12-05 20:50 alien999999999 File Added: au88x0_core.c                    
> 04-12-05 20:50 alien999999999 File Added: au88x0_mixer.c                    
> 04-12-05 20:51 alien999999999 Note Added: 0004462                          
> ======================================================================
> 
> 
> 


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Openvortex-dev] Re: [ALSA - driver 0001047]: module hangs at seemingly random times
  2005-07-31  7:59 ` Raymond
@ 2005-07-31 12:38   ` Alien
  2005-07-31 17:15     ` Raymond
  0 siblings, 1 reply; 6+ messages in thread
From: Alien @ 2005-07-31 12:38 UTC (permalink / raw)
  To: openvortex-dev; +Cc: Raymond, alsa-devel

[-- Attachment #1: Type: text/plain, Size: 5926 bytes --]

I'm not too sure, but i _can_ tell you that lastly i had two weird errors 
about something adb, when snd-au8810 didn't play any sound anymore, i was 
able to kill all apps who use sound and modprobe -r snd-au8810, and modprobe 
again, and without reboot i was able to get sound working again.

I must say that i haven't been on this PC much and haven't had much time to 
test these things, allthough i'm planning too, (but i think i'll update CVS 
first with these 2 patches who got lost accidentally before i test this. I 
hope i'll get some time this week(end).

thanks for all the help and info concerning snd-au8810 (in 64bit)

AL13N

Op zondag 31 juli 2005 09:59, schreef Raymond:
> If there are 16 instances of aplay playing mono stream.
>
> What error will be returned by snd_pcm_open() for the 17th instance of
> aplay ?
>
>
>
> alsa-kernel/pci/au88x0/au8810.h
>
> #define NR_ADB   0x10
>
> alsa-kernel/pci/au88x0/au8830.h
>
> #define NR_ADB   0x20
>
>
> alsa-kernel/pci/au88x0/au88x0.c
>
> 	if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) {
> 		snd_card_free(card);
> 		return err;
> 	}
>
> 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" ...
> > ======================================================================
> >
> > ----------------------------------------------------------------------
> >  alien999999999 - 04-12-05 20:48
> > ----------------------------------------------------------------------
> > i forgot to note that i have the mdk 10.1 x86_64 distro and my version
> > has a few 64bit fixes to get past kernel hangs and kernel oopses
> >
> > ----------------------------------------------------------------------
> >  alien999999999 - 04-12-05 20:51
> > ----------------------------------------------------------------------
> > i have attached the changed files (since i don't have a CVS version of
> > alsa to diff against)
> >
> > these files are located in the alsa-driver-1.0.8/alsa-kernel/pci/au88x0/
> > path
> >
> > Issue History
> > Date Modified  Username       Field                    Change
> > ======================================================================
> > 04-12-05 20:43 alien999999999 New Issue
> > 04-12-05 20:43 alien999999999 Distribution              => Mandrake
> > 04-12-05 20:43 alien999999999 Kernel Version            => 2.6.7
> > 04-12-05 20:48 alien999999999 Note Added: 0004461
> > 04-12-05 20:49 alien999999999 File Added: au88x0.c
> > 04-12-05 20:49 alien999999999 File Added: au88x0.h
> > 04-12-05 20:50 alien999999999 File Added: au88x0_core.c
> > 04-12-05 20:50 alien999999999 File Added: au88x0_mixer.c
> > 04-12-05 20:51 alien999999999 Note Added: 0004462
> > ======================================================================
>
> _______________________________________________
> Openvortex-dev mailing list
> Openvortex-dev@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/openvortex-dev

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Openvortex-dev] Re: [ALSA - driver 0001047]: module hangs at seemingly random times
  2005-07-31 12:38   ` [Openvortex-dev] " Alien
@ 2005-07-31 17:15     ` Raymond
  0 siblings, 0 replies; 6+ messages in thread
From: Raymond @ 2005-07-31 17:15 UTC (permalink / raw)
  To: alsa-devel; +Cc: openvortex-dev

Although au8810, au8820 and au8830 have 16 Sample Rate Convertors.

For au8820 and au8830 driver, snd_pcm_hw_params() will return "no more 
mixer error" and "no more sample rate convertor error" before all 
configured substreams are opened.

It seem to me that au8810's problem is related to snd_pcm_open()
after all configured substreams are opened.

May be you can change NR_ADB from 0x10 to 0x20 (a dirty workaround) ?


Alien wrote:
> I'm not too sure, but i _can_ tell you that lastly i had two weird errors 
> about something adb, when snd-au8810 didn't play any sound anymore, i was 
> able to kill all apps who use sound and modprobe -r snd-au8810, and modprobe 
> again, and without reboot i was able to get sound working again.
> 

In your case, if there are one or more stereo stream playing, 
snd_pcm_hw_params() will return "no more sample rate convertor error" 
before all configured substreams are opened.


> I must say that i haven't been on this PC much and haven't had much time to 
> test these things, allthough i'm planning too, (but i think i'll update CVS 
> first with these 2 patches who got lost accidentally before i test this. I 
> hope i'll get some time this week(end).

Igor V. Kovalenko already include the two lost patches in his patch to 
fix oopses on amd64

> 
> thanks for all the help and info concerning snd-au8810 (in 64bit)
> 
> AL13N
> 
> Op zondag 31 juli 2005 09:59, schreef Raymond:
> 
>>If there are 16 instances of aplay playing mono stream.
>>
>>What error will be returned by snd_pcm_open() for the 17th instance of
>>aplay ?
>>
>>
>>
>>alsa-kernel/pci/au88x0/au8810.h
>>
>>#define NR_ADB   0x10
>>
>>alsa-kernel/pci/au88x0/au8830.h
>>
>>#define NR_ADB   0x20
>>
>>
>>alsa-kernel/pci/au88x0/au88x0.c
>>
>>	if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) {
>>		snd_card_free(card);
>>		return err;
>>	}
>>



-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-31 17:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-07-31  7:59 ` Raymond
2005-07-31 12:38   ` [Openvortex-dev] " Alien
2005-07-31 17:15     ` Raymond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox