From owner-freebsd-current@FreeBSD.ORG Fri Jul 22 13:48:06 2005 Return-Path: X-Original-To: freebsd-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 EB37716A4FF for ; Fri, 22 Jul 2005 13:48:05 +0000 (GMT) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (silver.iplus.pl [80.48.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C60243D64 for ; Fri, 22 Jul 2005 13:47:49 +0000 (GMT) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.12.10/8.12.9) with ESMTP id j6ME15GW085877 for ; Fri, 22 Jul 2005 14:01:06 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.12.10/8.12.9/Submit) id j6ME159f085876 for freebsd-current@FreeBSD.org; Fri, 22 Jul 2005 14:01:05 GMT (envelope-from dunstan) Date: Fri, 22 Jul 2005 14:01:05 +0000 From: "Wojciech A. Koszek" To: freebsd-current@FreeBSD.org Message-ID: <20050722140104.GB85763@freebsd.czest.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: [Panic] mutex Giant not owned at sys/security/mac/mac_inet.c:217 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: Fri, 22 Jul 2005 13:48:06 -0000 Hello, While playing with rpcbind/mountd/nfsd I got: #0 doadump () at pcpu.h:165 #1 0xc04b0acb in boot (howto=0x104) at /usr/src/sys/kern/kern_shutdown.c:397 #2 0xc04b0dcb in panic (fmt=0xc05fa8c8 "mutex %s not owned at %s:%d") at /usr/src/sys/kern/kern_shutdown.c:553 #3 0xc04a90b8 in _mtx_assert (m=0xc0660aa0, what=0x0, file=0xc060d0ad "/usr/src/sys/security/mac/mac_inet.c", line=0xd9) at /usr/src/sys/kern/kern_mutex.c:738 #4 0xc055274b in mac_create_mbuf_from_inpcb (inp=0xc2ee2e58, m=0xc2e39b00) at /usr/src/sys/security/mac/mac_inet.c:217 #5 0xc053bc1c in udp_output (inp=0xc2ee2e58, m=0xc2e39b00, addr=0x0, control=0x0, td=0xc2baf600) at /usr/src/sys/netinet/udp_usrreq.c:765 #6 0xc053c4c2 in udp_send (so=0x0, flags=0x0, m=0xc2e39b00, addr=0x0, control=0x0, td=0xc2baf600) at /usr/src/sys/netinet/udp_usrreq.c:1051 #7 0xc2ae8bc1 in ?? () nfsserver support was present as KLD. This problem doesn't seem to be easily repeatable. Curretly, I'm not able to reproduce it. $FreeBSD: src/sys/netinet/udp_usrreq.c,v 1.175 2005/06/01 11:24:00 rwatson Exp $ $FreeBSD: src/sys/security/mac/mac_inet.c,v 1.1 2004/02/26 03:51:04 rwatson Exp $ -- * Wojciech A. Koszek && dunstan@FreeBSD.czest.pl