From owner-freebsd-current@FreeBSD.ORG Wed Feb 20 11:29:01 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CED0416A406 for ; Wed, 20 Feb 2008 11:29:01 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 6085913C469 for ; Wed, 20 Feb 2008 11:29:01 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2095075fgg.35 for ; Wed, 20 Feb 2008 03:29:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=jLdSbZZwaBL+edYGKCo4d6j2CpYoq+tdmYCP8pWlKbc=; b=Hs4/HkhfYXG5T/rYb09M6TWMrbylCewOuB1MV3yHJ0dSfM2d/Jnea8OhddO20KCfbEgScAUV3gaeeCbLUW+h4bTeZJa6VJ5kVTITbAMK2De9as/StMLUoReW9DLAKrn8KCQI5DagnH3/y2aHeeBY1UE6ltSgAi2kT+uctfyhLWg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uroRdSMfBNvHAic9ducr+flYWVstWEUj4xjpgiBHckPIkF/N786koCYGDVdv1j/4B8qyeEJvhjEdm35Fu3+Dt5+kt7IRVtVuEQV3tJvnuvwy2WPPm5BROFLKWUmJrcbybz6AivtkYmufp/Bevz8K+agCgEEgY9zRwrcpfV91Z+Q= Received: by 10.78.97.7 with SMTP id u7mr13147161hub.50.1203506939384; Wed, 20 Feb 2008 03:28:59 -0800 (PST) Received: by 10.78.16.10 with HTTP; Wed, 20 Feb 2008 03:28:59 -0800 (PST) Message-ID: Date: Wed, 20 Feb 2008 14:28:59 +0300 From: pluknet To: "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: panic: mutex Giant owned at nfs_syscalls.c:556 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: Wed, 20 Feb 2008 11:29:01 -0000 I got this assertion while attempting to remove file on nfs mounted ffs filesystem. NFS client on 7.0-PRERELEASE and NFS server on 8-CURRENT. FreeBSD 7.0-PRERELEASE #1: Wed Feb 6 18:09:18 MSK 2008 FreeBSD 8.0-CURRENT #9: Fri Feb 15 14:31:07 MSK 2008 Unread portion of the kernel message buffer: panic: mutex Giant owned at /usr/src/sys/modules/nfsserver/../../nfsserver/nfs_syscalls.c:556 KDB: enter: panic exclusive sleep mutex nfsd_mtx r = 0 (0xc41d1660) locked @ /usr/src/sys/modules/nfsserver/../../nfsserver/nfs_syscalls.c:501 exclusive sleep mutex Giant r = 0 (0xc07e6410) locked @ /usr/src/sys/kern/vfs_lookup.c:663 ... #9 0xc053959d in panic (fmt=0xc076181d "mutex %s owned at %s:%d") at /usr/src/sys/kern/kern_shutdown.c:555 #10 0xc052adf7 in _mtx_assert (m=0xc07e6410, what=0, file=0xc41cb7b2 "/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_syscalls.c", line=556) at /usr/src/sys/kern/kern_mutex.c:652 #11 0xc41c9e82 in nfssvc (td=0xc2e68000, uap=0xd600dcfc) at /usr/src/sys/modules/nfsserver/../../nfsserver/nfs_syscalls.c:556 #12 0xc0727903 in syscall (frame=0xd600dd38) at /usr/src/sys/i386/i386/trap.c:1034 #13 0xc0711630 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:203 ---Type to continue, or q to quit--- #14 0x00000033 in ?? () Looks somewhat strange because nfs_syscalls.c:556 is not in nfssvc(), it's in nfssvc_nfsd(). Kernel and world synchronized on 8-CUR though. wbr, pluknet