From owner-freebsd-current@FreeBSD.ORG Sun Apr 27 21:49:53 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F8AD37B401 for ; Sun, 27 Apr 2003 21:49:53 -0700 (PDT) Received: from herbelot.dyndns.org (herbelot.net1.nerim.net [62.212.117.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACB0643F75 for ; Sun, 27 Apr 2003 21:49:51 -0700 (PDT) (envelope-from thierry@herbelot.com) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.12.6/8.12.6) with ESMTP id h3S4VM0f010624 for ; Mon, 28 Apr 2003 06:31:28 +0200 (CEST) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Mon, 28 Apr 2003 06:49:38 +0200 User-Agent: KMail/1.5.1 References: <3EAC6AA9.6070404@kasimir.com> In-Reply-To: <3EAC6AA9.6070404@kasimir.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304280649.38633.thierry@herbelot.com> Subject: Re: LOR in pcm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 28 Apr 2003 04:49:53 -0000 me too, but another place on a recently recompiled straight-SMP oldish BP6 : multi-cur# lock order reversal 1st 0xc40bca80 pcm0 (sound softc) @ /files3/src/sys/dev/sound/isa/mss.c:179 2nd 0xc40bc600 pcm0:play:0 (pcm channel) @ /files3/src/sys/dev/sound/pcm/channel.c:440 Stack backtrace: backtrace(c050e34e,c40bc600,c4089bd4,c06e05b0,c06e062e) at backtrace+0x17 witness_lock(c40bc600,8,c06e062e,1b8,a) at witness_lock+0x697 _mtx_lock_flags(c40bc600,0,c06e062e,1b8,c4082700) at _mtx_lock_flags+0xb2 chn_intr(c4089b80,18,0,1010c880,c40bc880) at chn_intr+0x2f mss_intr(c4082700,0,c05093e1,218,c3f485a0) at mss_intr+0x8b ithread_loop(c4089d00,d67ffd48,c050926d,313,0) at ithread_loop+0x182 fork_exit(c0305cd0,c4089d00,d67ffd48) at fork_exit+0xc0 fork_trampoline() at fork_trampoline+0x1a --- trap 0x1, eip = 0, esp = 0xd67ffd7c, ebp = 0 --- multi-cur# multi-cur# uname -a FreeBSD multi-cur.herbelot.nom 5.0-CURRENT FreeBSD 5.0-CURRENT #12: Sat Apr 26 23:24:46 CEST 2003 thierry.herbelot@multi-cur.herbelot.nom:/files3/obj/files3/src/sys/SMP i386 multi-cur# multi-cur# multi-cur# ident /files3/src/sys/dev/sound/isa/mss.c /files3/src/sys/dev/sound/isa/mss.c: $FreeBSD: src/sys/dev/sound/isa/mss.c,v 1.84 2003/02/07 14:05:33 nyan Exp $ multi-cur# ident /files3/src/sys/dev/sound/pcm/channel.c /files3/src/sys/dev/sound/pcm/channel.c: $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.88 2003/02/26 14:38:19 orion Exp $ multi-cur#