Bug 613522

Summary: snd_cmipci: snd_pcm_delay() overflows
Product: [Fedora] Fedora Reporter: Dmytro Ozirny <diz>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DEFERRED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: anton, dougsland, gansalmon, itamar, jonathan, kernel-maint, lkundrak, lpoetter, madhu.chinakonda, mschmidt
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-06 20:22:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
pulseaudio records from /var/log/messages none

Description Dmytro Ozirny 2010-07-12 06:44:59 UTC
Created attachment 431084 [details]
pulseaudio records from /var/log/messages

Description of problem:
sound plays only a few seconds (up to minute), than stops and no music cannot be played afterwards until reboot.

Version-Release number of selected component (if applicable):
pulseaudio 0.9.21-6.fc13, alsa-plugins-pulseaudio 1.0.22-1.fc13 - all latest, just updated

How reproducible:
every time I start playing music file in mpg321 or Banshee, or vlc - everywhere I tried.

Steps to Reproduce:
1. Add music file to playlist
2. Press Play button
3. Wait a few seconds
  
Actual results:
sound stops, songs aborts and player switches to new song - with no sound. Then to next song without sound and so on.

Expected results:
I wanna hear music!

Additional info:
Its broken since Fedora 11 on my PC, as far as I remember. Before that in Fedora 8 (I remember it was version where Pulseaudio was first introduced, 8 or 9) sound was broken too, I was recommended some trick in modprobe.conf and it helped - but it's not working anymore.
Interestingly bell in console works!
I have s865PE chipset (ICH5) and external soundcard:
02:02.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)

Comment 1 Dmytro Ozirny 2010-07-12 06:46:35 UTC
I turned off internal sound card in BIOS

Comment 2 Dmytro Ozirny 2010-07-17 18:21:08 UTC
strange. Last time I've wrote bug report I got answer the same day. And now nobody seems to care.

Comment 3 Michal Schmidt 2010-08-02 16:05:19 UTC
Looks like an ALSA bug:

snd_pcm_delay() returned a value that is exceptionally large: 1191265120 bytes (6753203 ms).
Most likely this is a bug in the ALSA driver 'snd_cmipci'. Please report this issue to the ALSA developers.

See bug 524385 for a possible workaround and close this one as duplicate if it applies to your situation. Thanks.

Comment 4 Lennart Poettering 2010-08-02 17:10:59 UTC
Krnel driver problem. Reassigning.

Comment 5 Dmytro Ozirny 2010-08-04 10:44:07 UTC
(In reply to comment #3)
> Looks like an ALSA bug:
> 
> snd_pcm_delay() returned a value that is exceptionally large: 1191265120 bytes
> (6753203 ms).
> Most likely this is a bug in the ALSA driver 'snd_cmipci'. Please report this
> issue to the ALSA developers.
> 
> See bug 524385 for a possible workaround and close this one as duplicate if it
> applies to your situation. Thanks.    

This workaround
echo 4 > /proc/asound/card0/pcm0p/xrun_debug 
helped, thank you. Still I don't have sound on youtube in FF, but now I can watch movies and listen to music on Banshee and mpg321.

Comment 6 Bug Zapper 2011-06-01 14:10:58 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Dmytro Ozirny 2011-06-06 20:22:47 UTC
can be forgotten.