From owner-freebsd-current@FreeBSD.ORG Mon Jun 4 07:14:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from misaki (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id 87A1216A47A; Mon, 4 Jun 2007 07:14:23 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Mon, 4 Jun 2007 15:14:17 +0800 From: Ariff Abdullah To: thierry@herbelot.com Message-Id: <20070604151417.5b147896.ariff@FreeBSD.org> In-Reply-To: <200706012135.58563.thierry@herbelot.com> References: <200706011906.32987.thierry@herbelot.com> <20070602023914.746d63fb.ariff@FreeBSD.org> <200706012135.58563.thierry@herbelot.com> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__4_Jun_2007_15_14_17_+0800_.JmOO0VW20j_onRI" Cc: freebsd-current@freebsd.org Subject: Re: panic when detecting an ES1373 AudioPCI sound card X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 07:14:24 -0000 --Signature=_Mon__4_Jun_2007_15_14_17_+0800_.JmOO0VW20j_onRI Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 1 Jun 2007 21:35:56 +0200 Thierry Herbelot wrote: > Le Friday 01 June 2007, vous avez =E9crit : > > 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? >=20 > the previous kernel+world were built with straight "make -j2 > buildworld && make -j2 buildkernel" with sources sup'ed around may > 30 >=20 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 =20 replace your sys/dev/sound/pci/es137x.c. Look for "IMPOSSIBLE!" =20 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=20 > ariff Exp $ > > $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.117 2007/04/02 > > 03:03:06=20 > ariff Exp $ > > $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.102 2007/03/16 > > 17:17:25 ariff=20 > 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=20 > 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=20 > ariff Exp $ > > $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.25 2007/03/16 > > 17:13:12=20 > ariff Exp $ > > $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.112 2007/03/15 > > 18:19:01=20 > ariff Exp $ > > $FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.31 2007/03/18 > > 18:26:40=20 > ariff Exp $ >=20 >=20 -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Mon__4_Jun_2007_15_14_17_+0800_.JmOO0VW20j_onRI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGY7vJlr+deMUwTNoRArm7AKCR+M74bgyPW3E+LrWr39LhsRL2VgCeIZ8f fKldJgOWLR8cP+MfDhmNJbM= =Qc3s -----END PGP SIGNATURE----- --Signature=_Mon__4_Jun_2007_15_14_17_+0800_.JmOO0VW20j_onRI--