From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 14 22:32:29 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 557C316A41F for ; Wed, 14 Sep 2005 22:32:29 +0000 (GMT) (envelope-from perlfu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2E2143D49 for ; Wed, 14 Sep 2005 22:32:23 +0000 (GMT) (envelope-from perlfu@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so52528nzd for ; Wed, 14 Sep 2005 15:32:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=CrZFsFomYrLlq83wePjJQPaEuRmgBQEAFq3baGD1PQIWEWc2OsM54OncfUYFWY+lmS3IBzim6GnWWes2BTq7tASO1zbHSla0Ux6oy5lwjMhYVSYIe5ZCtor6O/QTTpkk4yLQhHaf41jSHwYUj+LaJ3hCFJllBm8dQKu/GJxhhLA= Received: by 10.54.61.10 with SMTP id j10mr1261245wra; Wed, 14 Sep 2005 15:02:29 -0700 (PDT) Received: from insomnia.localnet.net ( [66.138.229.115]) by mx.gmail.com with ESMTP id 11sm93098wrl.2005.09.14.15.02.29; Wed, 14 Sep 2005 15:02:29 -0700 (PDT) Date: Wed, 14 Sep 2005 17:02:28 -0500 From: "Mike S." To: freebsd-multimedia@freebsd.org Message-Id: <20050914170228.328c571e.perlfu@gmail.com> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; amd64-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 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: Wed, 14 Sep 2005 22:32:29 -0000 I've been having hard locks that are seeming related to vchans. I can't manage to verify this with the logs, but judging by the fact that the locks only occur when two sounds are played together, and only some of the time at that. I'm going to guess that's the issue. Either way, I've been trying to use the patch found at, http://staff.mybsd.org.my/skywizard/FreeBSD/sound/incoming/, it's helped some, but hasn't entirely fixed the problem. When I tried to upgrade the patch to the newest version, I got this error.. /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c: In function `ac97_fix_volume': /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:571: error: `SD_F_SOFTVOL' undeclared (first use in this function) /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:571: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:571: error: for each function it appears in.) /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c: At top level: /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:576: error: redefinition of 'ac97_fix_volume' /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:544: error: previous definition of 'ac97_fix_volume' was here /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c: In function `ac97_fix_volume': /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:603: error: `SD_F_SOFTVOL' undeclared (first use in this function) /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c: In function `ac97_initmixer': /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:631: warning: unused variable `bit' /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:633: warning: unused variable `reg' /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c: At top level: /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c:544: warning: 'ac97_fix_volume' defined but not used *** Error code 1 Stop in /usr/src/sys/modules/sound/sound. *** Error code 1 Stop in /usr/src/sys/modules/sound. Also, my sound card is a VIA 8233. Any insight, or suggestions regarding how to fix the locks, and or get the patch working would be greatly appreciated. Thanks in advance.