Date: Fri, 21 Apr 2006 07:15:42 +0800 From: Ariff Abdullah <ariff@FreeBSD.org> To: hartzell@alerce.com Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Odd code in sound/pcm/channel.c, help with PR? Message-ID: <20060421071542.6021fee8.ariff@FreeBSD.org> In-Reply-To: <17480.3995.952982.333106@satchel.alerce.com> References: <17477.44637.316536.583639@satchel.alerce.com> <20060420064700.48c63e27.ariff@FreeBSD.org> <17478.53172.814200.467979@satchel.alerce.com> <20060421053137.7cc345b5.ariff@FreeBSD.org> <17480.3995.952982.333106@satchel.alerce.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Fri__21_Apr_2006_07_15_42_+0800_Jp/tVyr7cWqpKNjf Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 20 Apr 2006 15:47:55 -0700 George Hartzell <hartzell@alerce.com> wrote: > Ariff Abdullah writes: > > On Wed, 19 Apr 2006 17:03:00 -0700 > > George Hartzell <hartzell@alerce.com> wrote: > > > > >=20 > > > > It's because the hardware DMA pointer is being lazy and need > > > > a good spank on its face. > > > >=20 > > > > Replace your sys/dev/sound/pci/via8233.c with: > > > >=20 > > > > http://people.freebsd.org/~ariff/test/via8233.c > > > >=20 > > > > As usual, recompile your kernel, or just the modules. If > > > > this doesn't work, I still have few more other tricks. > > > >=20 > > > > Coincidently, I'm currently investigating DMA incoherency > > > > within few drivers, notably this and few others. > > >=20 > > > I think that you need to get a bigger stick. I did a > > > buildkernel/installkernel and still no sound when I cat to > > > /dev/dsp0.0 and I still get the timeouts. > > >=20 > > Try again (same above link). Looks like we need to fabricate DMA > > progress. >=20 > I still get silence and the same message when cat /etc/termcap > > /dev/dsp0.0. >=20 Can you put printf("blah blah whatever\n") statement around chn_intr() within via8233.c ? (There are 2 chn_intr(), at least). I just want to know if the interrupt are really triggered. It's possible that the DMA completion is too fast and it simply flag EOL on every interrupt, or dead. -- Ariff Abdullah FreeBSD --Signature=_Fri__21_Apr_2006_07_15_42_+0800_Jp/tVyr7cWqpKNjf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFESBYglr+deMUwTNoRAoh8AKDArtX+gKtVhTtiLCOOCAveBF0RBwCgneFU 33sn2rJQnJZXcI1gAQlfo+c= =s71v -----END PGP SIGNATURE----- --Signature=_Fri__21_Apr_2006_07_15_42_+0800_Jp/tVyr7cWqpKNjf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060421071542.6021fee8.ariff>