Re: panic when detecting an ES1373 AudioPCI sound card

From: Ariff Abdullah <ariff_at_FreeBSD.org>
Date: Mon, 4 Jun 2007 15:14:17 +0800
On Fri, 1 Jun 2007 21:35:56 +0200
Thierry Herbelot <thierry_at_herbelot.com> wrote:
> Le Friday 01 June 2007, vous avez écrit :
> > On Fri, 1 Jun 2007 19:06:32 +0200
> >
> > > the kernel and world sources were updated this morning around
> > > Fri Jun  1 06:48  UTC 2007. The kernel and world have been
> > > rebuilt via : make update && make -DNO_CLEAN buildworld && make
> > > -j2 buildkernel
> >
> >                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > Please start with a clean room. Too many changes was pouring in,
> > not just in sound considering that (see below)..
> >
> > > the source code for the specific board seems to be quite old :
> > > FreeBSD: src/sys/dev/sound/pci/es137x.c,v 1.65 2007/04/18
> > > 18:26:39 ariff Exp
> > >
> > > the previous kernel+world worked fine, including probing both
> > > sound
> >
> >       ^^^^^^^^ when?
> 
> the previous kernel+world were built with straight "make -j2
> buildworld &&  make -j2 buildkernel" with sources sup'ed around may
> 30
> 

Try reproduce the panic, and when it drops to ddb, do "show alllocks".

I have few suggestions here, just for you to try it out:

1) Compile all sound modules and related into your kernel as
   part of kernel config instead using it as modules.

2) Try disabling all debuging options, especially WITNESSS, and other
   lock debugging options. Make it as debug-options free as possible.

3) Get http://people.freebsd.org/~ariff/test/es137x_mtx_grumpy.c and  
   replace your sys/dev/sound/pci/es137x.c. Look for "IMPOSSIBLE!"  
   kernel message during loading and startup.

There is a person, reporting quite simmilar panic issue like this. My
initial findings seems pointing to other places, not sound.

> I found the following in a diff of the ident keywords between the
> old, working  kernel and the new kernel :
> ....
> 742,744c742,744
> <      $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.35 2007/05/31
> 18:43:32  ariff Exp $
> <      $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.118 2007/05/31
> 18:43:32  ariff Exp $
> <      $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.103 2007/05/31
> 18:43:32 ariff  Exp $
> ---
> >      $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.34 2007/04/18
> >      18:26:40 
> ariff Exp $
> >      $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.117 2007/04/02
> >      03:03:06 
> ariff Exp $
> >      $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.102 2007/03/16
> >      17:17:25 ariff 
> Exp $
> 746c746
> <      $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.41 2007/05/31
> 18:43:32  ariff Exp $
> ---
> >      $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.40 2007/03/16
> >      17:15:33 
> ariff Exp $
> 750,753c750,753
> <      $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.59 2007/05/31
> 18:43:32  ariff Exp $
> <      $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.26 2007/05/31
> 18:43:32  ariff Exp $
> <      $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.113 2007/05/31
> 18:43:32  ariff Exp $
> <      $FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.32 2007/05/31
> 18:43:32  ariff Exp $
> ---
> >      $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.58 2007/04/02
> >      10:24:15 
> ariff Exp $
> >      $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.25 2007/03/16
> >      17:13:12 
> ariff Exp $
> >      $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.112 2007/03/15
> >      18:19:01 
> ariff Exp $
> >      $FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.31 2007/03/18
> >      18:26:40 
> ariff Exp $
> 
> 



--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........

Received on Mon Jun 04 2007 - 05:14:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC