From owner-freebsd-current@FreeBSD.ORG Sun Mar 13 22:59:31 2005 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 B632916A4CE for ; Sun, 13 Mar 2005 22:59:31 +0000 (GMT) Received: from ybbsmtp13.mail.mci.yahoo.co.jp (ybbsmtp13.mail.mci.yahoo.co.jp [210.80.241.187]) by mx1.FreeBSD.org (Postfix) with SMTP id A874A43D41 for ; Sun, 13 Mar 2005 22:59:30 +0000 (GMT) (envelope-from takeharu1219@ybb.ne.jp) Received: from unknown (HELO ?192.168.1.14?) (takeharu1219@219.35.170.20 with plain) by ybbsmtp13.mail.mci.yahoo.co.jp with SMTP; 13 Mar 2005 22:59:29 -0000 X-Apparently-From: Message-ID: <4234C5D0.7090601@ybb.ne.jp> Date: Mon, 14 Mar 2005 07:59:28 +0900 From: Takeharu KATO User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: lock-order problem 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: Sun, 13 Mar 2005 22:59:31 -0000 Hi I met a lock order problem on current(downloaded at 2005/3/13). This is found in AMD64(opetron) SMP machine. I show log messages as follows: -- lock order reversal 1st 0xffffff00614003d8 rtentry (rtentry) @ netinet/if_ether.c:445 2nd 0xffffffff80c41458 bge0 (network driver) @ dev/bge/if_bge.c:3294 KDB: stack backtrace: witness_checkorder() at witness_checkorder+0x5f1 _mtx_lock_flags() at _mtx_lock_flags+0x4a bge_start() at bge_start+0x34 ether_output_frame() at ether_output_frame+0x249 ether_output() at ether_output+0x281 arprequest() at arprequest+0x109 arpresolve() at arpresolve+0x345 ether_output() at ether_output+0x317 ip_output() at ip_output+0xb22 icmp_reflect() at icmp_reflect+0x366 icmp_input() at icmp_input+0x2f4 ip_input() at ip_input+0x10f netisr_processqueue() at netisr_processqueue+0x17 swi_net() at swi_net+0xa8 ithread_loop() at ithread_loop+0xd8 fork_exit() at fork_exit+0xc0 fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffffffb1dacd00, rbp = 0 --- Regards, -- Takeharu KATO