From owner-freebsd-current@FreeBSD.ORG Sat Aug 20 13:00:10 2005 Return-Path: X-Original-To: current@freebsd.org 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 EF2A716A41F for ; Sat, 20 Aug 2005 13:00:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81B0043D49 for ; Sat, 20 Aug 2005 13:00:09 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 3BBDC1FF9AB; Sat, 20 Aug 2005 15:00:08 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 967101FF9A8; Sat, 20 Aug 2005 15:00:05 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id B77C51589C; Sat, 20 Aug 2005 12:56:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id ACF391562F; Sat, 20 Aug 2005 12:56:34 +0000 (UTC) Date: Sat, 20 Aug 2005 12:56:34 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Filippo Natali In-Reply-To: <200508162342.27570.filippo.natali@gmail.com> Message-ID: References: <200508162342.27570.filippo.natali@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: FreeBSD current mailing list Subject: Re: LOR on AMD64 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: Sat, 20 Aug 2005 13:00:11 -0000 On Tue, 16 Aug 2005, Filippo Natali wrote: > I have the same problem described here: > > http://lists.freebsd.org/pipermail/freebsd-current/2005-June/051157.html > > but on my machine I obtain the attached LOR instead of a panic, and the CPU > runs at 100%. > > lock order reversal > 1st 0xffffff003d684600 pcm0 (sound cdev) @ /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:214 > 2nd 0xffffffff8081e860 Giant (Giant) @ /usr/src/sys/kern/kern_synch.c:236 > KDB: stack backtrace: > witness_checkorder() at witness_checkorder+0x4ba > _mtx_lock_flags() at _mtx_lock_flags+0x4a > msleep() at msleep+0x28a > kmem_malloc() at kmem_malloc+0x22f > uma_large_malloc() at uma_large_malloc+0x45 > malloc() at malloc+0x12b > sndbuf_remalloc() at sndbuf_remalloc+0x97 > chn_setblocksize() at chn_setblocksize+0x1d0 > chn_tryspeed() at chn_tryspeed+0x13b > chn_tryformat() at chn_tryformat+0xe7 > chn_setformat() at chn_setformat+0x20 > chn_reset() at chn_reset+0xdb > dsp_open() at dsp_open+0x20a > devfs_open() at devfs_open+0x256 > VOP_OPEN_APV() at VOP_OPEN_APV+0x74 > vn_open_cred() at vn_open_cred+0x38c > kern_open() at kern_open+0xfd > open() at open+0x25 > syscall() at syscall+0x4b2 > Xfast_syscall() at Xfast_syscall+0xa8 > --- syscall (5, FreeBSD ELF64, open), rip = 0x801ad87fc, rsp = 0x7fffffffa748, rbp = 0x1 --- > > %uname -a > FreeBSD ulby.hq.netwing.it 6.0-BETA2 FreeBSD 6.0-BETA2 #0: Fri Aug 12 10:52:32 > CEST 2005 root@ulby.hq.netwing.it:/usr/obj/usr/src/sys/GENERIC amd64 I added the LOR as #129 http://sources.zabbadoz.net/freebsd/lor.html#129 -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT