ALSA woke us up to write new data to the device, but there was actually nothing to write!

Bug #583995 reported by Vipin Balakrishnan
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ALSA driver
New
Undecided
Unassigned
alsa-driver (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Hi

 I'm getting a message below in Linux Mint 9 continuously in sys log.. It make me very much unhappy and populate the whole sys log.

I'm using Linux Mint 9
               Kernal :2.6.32-21-generic

can anyone tell me why this error i'm getting in syslog . I have attached verbose log of pulseaudio with this as a zip file.

  Pulseaudio[5111]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Pulseaudio[5111]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_ca0106'. Please report this issue to the ALSA developers.
 Pulseaudio[5111]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

Revision history for this message
Vipin Balakrishnan (vipin-bmenon) wrote :
visibility: private → public
Revision history for this message
Vipin Balakrishnan (vipin-bmenon) wrote :

Hi all,

  Event after the sudo apt-get upgrade in linux mint 9. I'm getting the same issue.
  That means this issue is not been considered for bug fix..

Regards,
Vipin Balakrishnan

visibility: public → private
security vulnerability: yes → no
visibility: private → public
Suhana (susan-vash)
affects: linuxmint → alsa-driver
tsg1zzn (tsg1zzn)
affects: ubuntu → alsa-driver (Ubuntu)
Revision history for this message
Daniel T Chen (crimsun) wrote :
Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
Vipin Balakrishnan (vipin-bmenon) wrote :

Hi Daniel,

 Please tell me what is inComplete in my log file( Errorlog.zip file in comment -1). So that I can provide it.

 This will not fix with PPA module of alsa( I tried already). Still this bug is there i can see the same issue for the following card. This bug I can see from Ubuntu 9.04 till 10.10 also. Why this bug is not fixing? Because such long release also this bug is propagating. If anyone checking the syslog can get for following below cards can see the this problem.

Now this issue is there with Kubuntu 10.10 also.

snd_ca0106
snd_hda_intel
snd_intel8X0( in Virtualbox)

Revision history for this message
Vipin Balakrishnan (vipin-bmenon) wrote :

Hi

    My Motherboard is M4A785TD-V EVO and the audio is VIA VT1708S High definition Audio 8 channel CODEC support Jack - detect, Muti-streaming, and Front Panel Jack-Retasking technologies. Optical S/PDIF Out port at back I/O.

Please tell me you want any information. So that I can provide

Regards,
Vipin Balakrishnan.

Changed in alsa-driver (Ubuntu):
status: Incomplete → New
Revision history for this message
KevinM (kevbert1) wrote :

Seen this after an upgrade from Maverick 2.6.35-22 AMD64 to Natty 2.6.38-7 in the user.log:
pr 7 13:57:46 Dt1s pulseaudio[1608]: pid.c: Daemon already running.
Apr 7 13:57:47 Dt1s pulseaudio[1584]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Apr 7 13:57:47 Dt1s pulseaudio[1584]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
Apr 7 13:57:47 Dt1s pulseaudio[1584]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Apr 7 13:57:51 Dt1s pulseaudio[1584]: ratelimit.c: 14 events suppressed

Revision history for this message
Vipin Balakrishnan (vipin-bmenon) wrote :

Hi KevinM,

 You are correct. Even the same problem is there in Ubuntu 9.04, 9.10,10.04,10.10. And i'm sure this will be there in 11.04 also. Just this bug is propagating. I'm waiting for a fix for this.

Regards
Vipin Balakrishnan.

Revision history for this message
Julian Haagsma (jhaagsma) wrote :

In 12.04 I'm getting this too:

Jun 25 14:46:01 qzi7 pulseaudio[2234]: [alsa-sink] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Jun 25 14:46:01 qzi7 pulseaudio[2234]: [alsa-sink] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Jun 25 14:46:01 qzi7 pulseaudio[2234]: [alsa-sink] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
jakyra (jtegwen) wrote :

Also have this with Ubuntu 13.04

 pulseaudio[3029]: [alsa-sink] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
pulseaudio[3029]: [alsa-sink] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
 pulseaudio[3029]: [alsa-sink] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

Revision history for this message
Raymond (superquad-vortex2) wrote :

May 22 01:22:05 vipinb-desktop pulseaudio[2668]: alsa-sink.c: Trying resume...
May 22 01:22:05 vipinb-desktop pulseaudio[2668]: alsa-util.c: Maximum hw buffer size is 341 ms
May 22 01:22:05 vipinb-desktop pulseaudio[2668]: alsa-util.c: Set buffer size first (to 3840 samples), period size second (to 480 samples).
May 22 01:22:05 vipinb-desktop pulseaudio[2668]: alsa-sink.c: hwbuf_unused=0
May 22 01:22:05 vipinb-desktop pulseaudio[2668]: alsa-sink.c: setting avail_min=1
May 22 01:22:05 vipinb-desktop pulseaudio[2668]: alsa-sink.c: Resumed successfully...
May 22 01:22:05 vipinb-desktop pulseaudio[2668]: alsa-sink.c: Starting playback.
May 22 01:22:05 vipinb-desktop pulseaudio[2668]: module-suspend-on-idle.c: Sink alsa_output.pci-0000_03_07.0.analog-surround-40 becomes idle, timeout in 5 seconds.
May 22 01:22:05 vipinb-desktop pulseaudio[2668]: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_START failed

seem pulseaudio ignore the fatal error

Revision history for this message
niniendowarrior (niniendowarrior) wrote :

And Ubuntu 13.10

Apr 24 12:03:39 pulseaudio[2135]: [alsa-sink-ALC888 Digital] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Apr 24 12:03:39 pulseaudio[2135]: [alsa-sink-ALC888 Digital] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Apr 24 12:03:39 pulseaudio[2135]: [alsa-sink-ALC888 Digital] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Apr 24 12:06:12 kernel: [ 504.000596] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.

Revision history for this message
Raymond (superquad-vortex2) wrote :
Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.