kern/129604: [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead

Olivier Smedts olivier at gid0.org
Thu Apr 5 08:06:08 UTC 2012


2012/4/5 Conrad J. Sabatier <conrads at cox.net>:
> On Wed, 04 Apr 2012 14:43:59 -0700
> Yuri <yuri at rawbw.com> wrote:
>
>> On 04/04/2012 14:25, Conrad J. Sabatier wrote:
>> > I've been seeing this intermittently for a very long time.  I've
>> > reported it and have received a patch from the sound maintainer,
>> > but it still occurs every so often nonetheless.
>> >
>> > This is a long-standing bugaboo that has yet to be fully resolved.
>>
>> Maybe it's a good idea if you posted this patch into the bug comments
>> (bug-followup at FreeBSD.org) so that whoever looks into it can at least
>> see the direction the patch was going.
>>
>> Yuri
>
> Here's the patch I got from (I forget who sent it to me!):
>
> --- hdac.c      (revision 230571)
> +++ hdac.c      (working copy)
> @@ -1921,6 +1921,8 @@
>        ctl |= 1 << ss;
>        HDAC_WRITE_4(&sc->mem, HDAC_INTCTL, ctl);
>
> +       HDAC_WRITE_1(&sc->mem, off + HDAC_SDSTS,
> +               HDAC_SDSTS_DESE | HDAC_SDSTS_FIFOE | HDAC_SDSTS_BCIS);
>        ctl = HDAC_READ_1(&sc->mem, off + HDAC_SDCTL0);
>        ctl |= HDAC_SDCTL_IOCE | HDAC_SDCTL_FEIE | HDAC_SDCTL_DEIE |
>                HDAC_SDCTL_RUN;
>
>
> --
> Conrad J. Sabatier
> conrads at cox.net
> _______________________________________________
> freebsd-multimedia at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe at freebsd.org"

This patch has already been committed to 10-CURRENT and 9-STABLE :

# svn log -r232798 sys/dev/sound/pci/hda/hdac.c
------------------------------------------------------------------------
r232798 | mav | 2012-03-10 22:58:08 +0100 (sam 10 mar 2012) | 13 lignes

MFC r230130, r230181, r230312, r230326, r230331, r230451, r230465, r230488,
r230507, r230511, r230513, r230532, r230537, r230551, r230554, r230571,
r230574, r230585, r230641, r230768, r230807, r231024:
Sync snd_hda(4) driver with HEAD.

This includes major code refactoring, HDMI support, new volume control,
automatic recording source selection, runtime reconfigureation, support
for more then 4 PCM devices on controller, multichannel recording,
additional playback/record streams, higher bandwidths support, more
informative device names and many other things.

Sponsored by:   iXsystems, Inc.


-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier at gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."


More information about the freebsd-multimedia mailing list