[backtrace] (snd_solo) mtx_lock_sleep: recursed on non-recursive mutex

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Thu Dec 1 20:50:31 GMT 2005


On Thu, 1 Dec 2005 10:45:11 +0800
Ariff Abdullah <skywizard at MyBSD.org.my> wrote:

> On Thu, 1 Dec 2005 03:54:28 +0200
> Ion-Mihai Tetcu <itetcu at people.tecnik93.com> wrote:
> > On Wed, 30 Nov 2005 22:00:18 +0100
> > Alexander Leidinger <Alexander at Leidinger.net> wrote:
> > 
> > > On Wed, 30 Nov 2005 21:41:01 +0200
> > > Ion-Mihai Tetcu <itetcu at people.tecnik93.com> 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 at 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 at 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




More information about the freebsd-multimedia mailing list