From owner-freebsd-current@FreeBSD.ORG Sat Feb 7 05:58:17 2004 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 6703116A4CE for ; Sat, 7 Feb 2004 05:58:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6482E43D1D for ; Sat, 7 Feb 2004 05:58:17 -0800 (PST) (envelope-from davidxu@freebsd.org) Received: from freebsd.org (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.10/8.12.10) with ESMTP id i17DwFbv093348 for ; Sat, 7 Feb 2004 05:58:16 -0800 (PST) (envelope-from davidxu@freebsd.org) Message-ID: <4024EE79.50901@freebsd.org> Date: Sat, 07 Feb 2004 21:56:09 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031208 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: non-sleepable locks held 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: Sat, 07 Feb 2004 13:58:17 -0000 I got following messages on console: malloc() of "256" with the following non-sleepable locks held: exclusive sleep mutex pcm0 (sound cdev) r = 0 (0xc3800600) locked @ /usr/home/davidxu/src/sys/dev/sound/pcm/dsp.c:213 lock order reversal 1st 0xc3b85a38 filedesc structure (filedesc structure) @ kern/sys_generic.c:901 2nd 0xc0927ca0 Giant (Giant) @ fs/specfs/spec_vnops.c:377 Stack backtrace: backtrace(c086e5e9,c0927ca0,c086a64a,c086a64a,c0865c89) at backtrace+0x17 witness_checkorder(c0927ca0,9,c0865c89,179,1) at witness_checkorder+0x6f8 _mtx_lock_flags(c0927ca0,0,c0865c80,179,c086ec03) at _mtx_lock_flags+0x9d spec_poll(d7658afc,d7658b1c,c06aad6c,d7658afc,c0909e20) at spec_poll+0x134 spec_vnoperate(d7658afc,c0909e20,c390a30c,40,c3c37b00) at spec_vnoperate+0x18 vn_poll(c3ebbd8c,40,c4010180,c383b540,c4010180) at vn_poll+0x3c selscan(c383b540,d7658b9c,d7658b8c,9,4) at selscan+0x141 kern_select(c383b540,9,80692b0,80692c0,0) at kern_select+0x37f select(c383b540,d7658d14,14,438,5) at select+0x66 syscall(2f,2f,2f,3,0) at syscall+0x2a0 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (93), eip = 0x282a28ab, esp = 0xbfbfe6cc, ebp = 0xbfbfe778 --- malloc() of "256" with the following non-sleepable locks held: exclusive sleep mutex pcm0 (sound cdev) r = 0 (0xc3800600) locked @ /usr/home/davidxu/src/sys/dev/sound/pcm/dsp.c:213 malloc() of "256" with the following non-sleepable locks held: exclusive sleep mutex pcm0 (sound cdev) r = 0 (0xc3800600) locked @ /usr/home/davidxu/src/sys/dev/sound/pcm/dsp.c:213