Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 2010 13:15:55 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   [regression] snd_hda and "channel dead"
Message-ID:  <201007021315.59575.naylor.b.david@gmail.com>

next in thread | raw e-mail | index | archive | help
--nextPart3513225.h8Q69nGRyG
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I'm having a problem with sound via hda driver.  After a while of playing=20
sound it stops with:

pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel d=
ead

showing up in dmesg.  After that no sound is played and Amarok skips throug=
h=20
tracks quickly (it "plays" sounds to fast)...

After setting dev.hdac.0.polling=3D1 sound works again. =20

This is with a custom kernel that has sound compiled in and without debuggi=
ng=20
options. =20

A known good kernel is from ~ 13 May while the bad kernel is ~ 1 day old. =
=20

Some further information:
# dmesg | grep hdac
hdac0: <NVidia MCP51 High Definition Audio Controller> mem 0xe7000000-0xe70=
03fff=20
irq 21 at device 16.1 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Realtek ALC888
pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac0
hdac0: <NVidia MCP51 High Definition Audio Controller> mem 0xe7000000-0xe70=
03fff=20
irq 21 at device 16.1 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Realtek ALC888
pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac0

and

# grep '^C.*FLAGS' /etc/make.conf
CFLAGS+=3D -DNDEBUG

Is there anything I can do to assist diagnostics?

Regards,

David

--nextPart3513225.h8Q69nGRyG
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEABECAAYFAkwtym8ACgkQUaaFgP9pFrIOwQCeJo7Z0ZYCkkhcIKowVwvgo2dc
n8oAnRuc5SrJMmlk8N8yPRAF0FEJvekT
=u8Jl
-----END PGP SIGNATURE-----

--nextPart3513225.h8Q69nGRyG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007021315.59575.naylor.b.david>