From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 17 16:59:47 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8A3416A420 for ; Sat, 17 Sep 2005 16:59:47 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DE4B43D4C for ; Sat, 17 Sep 2005 16:59:43 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 894506CC2E; Sun, 18 Sep 2005 01:07:57 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 74294-07; Sun, 18 Sep 2005 01:07:55 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [218.111.181.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 7A4996CC25; Sun, 18 Sep 2005 01:07:54 +0800 (MYT) Date: Sun, 18 Sep 2005 00:59:43 +0800 From: Ariff Abdullah To: "Mike S." Message-Id: <20050918005943.5dd098e6.skywizard@MyBSD.org.my> In-Reply-To: <20050917110545.0d1935ab.perlfu@gmail.com> References: <20050914170228.328c571e.perlfu@gmail.com> <20050915150051.7d31bd99.perlfu@gmail.com> <200509152331.24060.lofi@freebsd.org> <200509160109.30482.lofi@freebsd.org> <20050916073134.38ed20b1.skywizard@MyBSD.org.my> <20050916234218.12c427d5.perlfu@gmail.com> <20050917162025.143954a6.skywizard@MyBSD.org.my> <20050917110545.0d1935ab.perlfu@gmail.com> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: Vchan/Sound/patch hard locks... X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2005 16:59:48 -0000 On Sat, 17 Sep 2005 11:05:45 -0500 "Mike S." wrote: > On Sat, 17 Sep 2005 16:20:25 +0800 > Ariff Abdullah wrote: > > > On Fri, 16 Sep 2005 23:42:18 -0500 > > "Mike S." wrote: > > > [..] > > > > > > I cleaned out all my sound stuff, recvs'd, and applied the > > > patch you posted recently, and although I haven't gotten a > > > single hard lock yet, I can no longer get multiple sounds at > > > once, I'm guessing I'm incapable of using vchans somehow. Any > > > input? > > > > > I need the output of cat /dev/sndstat after applying the patch, > > possibly with hw.snd.verbose=2 . > > > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0xc400 irq 22 kld snd_via8233 (5p/1r/4v > channels duplex > default) I don't think the patch was applied properly. http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_20050916_043softvol.diff get a clean, *real clean* RELENG_5 sources, than do cd /usr/src && patch -p0 < snd_RELENG_5_20050916_043softvol.diff There are few (6) conditions need to be tested: DXS --- 1) No vchans. hw.snd.pcm0.vchans=0 , hw.snd.maxautovchans=0 2) auto vchans. hw.snd.maxautovchans=10 , hw.snd.pcm0.vchans=1 3) fixed vchans. hw.snd.maxautovchans=10 , hw.snd.pcm0.vchans=10 DXS disabled ------------ Make sure /boot/device.hints contains hint.pcm.0.via_dxs_disabled="1", and reboot 4) No vchans. (same with 1) 5) auto vchans. (same with 2) 6) fixed vchans. (same with 3) Do the test for all those conditions, and tell me any success/failure for each of it. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)