From owner-freebsd-multimedia@FreeBSD.ORG Thu Dec 1 20:50:31 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 AF63D16A41F for ; Thu, 1 Dec 2005 20:50:31 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id B37B743D5A for ; Thu, 1 Dec 2005 20:50:28 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 26154 invoked by uid 89); 1 Dec 2005 20:50:24 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 1 Dec 2005 20:50:24 -0000 Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 2AEEDB847; Thu, 1 Dec 2005 22:50:22 +0200 (EET) Date: Thu, 1 Dec 2005 22:50:21 +0200 From: Ion-Mihai Tetcu To: Ariff Abdullah Message-ID: <20051201225021.251c60bc@it.buh.tecnik93.com> In-Reply-To: <20051201104511.7c601312.skywizard@MyBSD.org.my> References: <20051130214101.05e5d0b0@it.buh.tecnik93.com> <20051130220018.56240358@Magellan.Leidinger.net> <20051201035428.6a9de01b@it.buh.tecnik93.com> <20051201104511.7c601312.skywizard@MyBSD.org.my> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.8; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net Subject: Re: [backtrace] (snd_solo) mtx_lock_sleep: recursed on non-recursive mutex 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: Thu, 01 Dec 2005 20:50:31 -0000 On Thu, 1 Dec 2005 10:45:11 +0800 Ariff Abdullah wrote: > On Thu, 1 Dec 2005 03:54:28 +0200 > Ion-Mihai Tetcu wrote: > > On Wed, 30 Nov 2005 22:00:18 +0100 > > Alexander Leidinger wrote: > > > > > On Wed, 30 Nov 2005 21:41:01 +0200 > > > Ion-Mihai Tetcu wrote: > > > > > > > Hi, > > > > > > > > > > > > In my quest to find an other sound card that works with skype, I > > > > salvaged an ESS Solo-1 (ES1938S H209). Trying to play anything > > > > through it results from "pcm channel dead" to hard freezes and > > > > ,the last time I got the panic bellow. Any chance to make it > > > > work or should I keep searching ? > > > > > > > > > > > > FreeBSD it.buh.tecnik93.com 6.0-STABLE FreeBSD 6.0-STABLE #4: > > > > Wed Nov 16 15:38:12 EET 2005 > > > > > > > > Unread portion of the kernel message buffer: > > > > panic: _mtx_lock_sleep: recursed on non-recursive mutex pcm0 > > > > @ > > > > /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/sound.c > > > > :381 > > > > > > Try the appropriate patch from http://people.freebsd.org/~ariff/ > > > and report back please. > > > > Script started on Thu Dec 1 02:57:31 2005 > > ESC[7mroot@it> ESC[0;31m/rootESC[0m [2:57:31] ESC[1;36m0ESC[0m > > ESC[80`ESC[27m ESC[1m > > ESC[0;31m#ESC[ > > 0m ESC[m mpg123 -a /dev/audio0.0 ~itetcu/Media/mp3/Leonard\ > > Cohen/Leonard\ Cohen\ -\^M Greatest\ Hits/01\ -\ Suzanne\ .mp3? > > Greatest\ Hits/01\ -\ Suzanne\ .mp3^M High Performance MPEG > > 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r > > (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code > > from various people. See 'README' for more! THIS SOFTWARE COMES WITH > > ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! /dev/dsp: Operation > > not supported by device /dev/dsp: Operation not supported by device > > /dev/dsp: Operation not supported by device > > audio: Operation not supported by device > > ESC[7mroot@it> ESC[0;31m/rootESC[0m [2:57:35] ESC[1;36m1ESC[0m > > ESC[80`ESC[27m ESC[1m > > ESC[0;31m#ESC[ > > > At least there is a known LOR during dsp_open() - dsp.c which can lead > to this panic. I'm currently (painstakingly) working on it. In the > meantime, try not to use "/dev/{audio|dsp}0.0". Instead, use > /dev/audio or /dev/dsp without device/channel unit numbering. I believe I tried that after I got the same Operation not supported .. for /dev/dsp. I'll test again when I can reboot my desktop. > The state of sound driver locking still in its infancy, but a bit > better with those patch, hopefully. In normal operation this is no problem, only when testing. With your yesterday (30.11) patches my via8237 playback is a little more skippy although the interrupt rate is low; the 'brrr" happens for example before the vmstat screen change. > systat -vmstat 1 2 users Load 1.53 1.24 1.16 Dec 1 22:46 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 680468 42600 1192944 87172 34980 count All 1015880 48632 12884532 103748 pages Interrupts Proc:r p d s w Csw Trp Sys Int Sof Flt cow 3418 total 1 2129 6448 1292 9426 2339 1362 228 147572 wire 1 1: atkb 693804 act 3: sio1 24.0%Sys 3.4%Intr 35.2%User 0.0%Nice 37.4%Idl 144024 inact 4: sio0 | | | | | | | | | | 33324 cache 6: fdc0 ============++>>>>>>>>>>>>>>>>> 1656 free 12: psm daefr 13: npx Namei Name-cache Dir-cache prcfr 25 14: ata Calls hits % hits % react 15: ata 2224 2204 99 pdwak 139 16: drm 54 zfod pdpgs 173 22: pcm Disks ad0 ad1 cd0 pass0 31 ofod intrn 692 23: vr0 KB/t 7.38 0.00 0.00 0.00 58 %slo-z 113920 buf 2388 cpu0: time tps 26 0 0 0 78 tfree 90 dirtybuf MB/s 0.19 0.00 0.00 0.00 69984 desiredvnodes % busy 23 0 0 0 31754 numvnodes 17495 freevnodes -- IOnut - Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" I am pleased to see that we have differences. May we together become greater than the sum of both of us. -- Surak of Vulcan, "The Savage Curtain", stardate 5906.4