pcm0:play:0: play interrupt timeout, channel dead

Alexandre "Sunny" Kovalenko Alex.Kovalenko at verizon.net
Tue Sep 7 19:11:14 PDT 2004


On Tue, 2004-09-07 at 04:14, Guido van Rooij wrote:
> I have this problem when using skype. Normal sound playback via e.g.
> xmms goes well. This is on a Dell Latitude D600. 
> 
> Underneath my dmesg (witout ACPI,  with ACPI I get the same results).
> 
> > cat /dev/sndstat 
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0: <Intel ICH4 (82801DB)> at io 0xf4fff800, 0xf4fff400 irq 11 bufsz 16384 (1p/1r/0v channels duplex default)
> 
> 
There is an odd looking bit of code in
/usr/src/sys/dev/sound/pcm/channel.c (function chn_write):

                                if (timeout < 1)
                                        timeout = 1;
                                timeout = 1;
                                ret = chn_sleep(c, "pcmwr", timeout);

(notice that timeout is always 1).

If you feel adventurous, you can hardcode it to something like 30 and
see if a) message disappears b) you get normal sound. In my case (a)
happened and (b) did not -- I got distorted sound, but I was playing
with USB audio device, which has features not supported by the driver.

FWIW.
---
Alexandre "Sunny" Kovalenko.





More information about the freebsd-current mailing list