From owner-freebsd-current@FreeBSD.ORG Wed Jan 18 07:05:53 2006 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 19C4916A420 for ; Wed, 18 Jan 2006 07:05:53 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C09243D5A for ; Wed, 18 Jan 2006 07:05:51 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id DECF91A3C1B for ; Tue, 17 Jan 2006 23:05:50 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 09F8F54A42; Wed, 18 Jan 2006 02:05:49 -0500 (EST) Date: Wed, 18 Jan 2006 02:05:49 -0500 From: Kris Kennaway To: current@FreeBSD.org Message-ID: <20060118070549.GA617@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: System call munmap returning with the following locks held: Giant 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, 18 Jan 2006 07:05:53 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I ran some code of ups@ that essentially does mmap/munmap of created files, which I ran on a nfs-mounted filesystem. At the same time I was running umount -f on that filesystem in a loop (this was all to try and provoke another umount -f panic I'm seeing). It quickly panicked with this: System call munmap returning with the following locks held: exclusive sleep mutex Giant r = 0 (0xc07ea408) locked @ vm/vm_object.c:449 panic: witness_warn cpuid = 1 KDB: enter: panic [thread pid 3045 tid 100101 ] Stopped at kdb_enter+0x30: leave db> wh Tracing pid 3045 tid 100101 td 0xc9627000 kdb_enter(c071c7f5,1,c0720ca2,f7a46c64,c9627000) at kdb_enter+0x30 panic(c0720ca2,f7a46c8c,1,2,c9627000) at panic+0x13f witness_warn(2,0,c073c410,c07214aa,c9922318) at witness_warn+0x16a syscall(3b,3b,3b,2804ebb6,bfbfe8a8) at syscall+0x56d Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (0, FreeBSD ELF32, nosys), eip = 0x28127e7f, esp = 0xbfbfe7fc, ebp = 0xbfbfe828 --- db> --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDzejMWry0BWjoQKURAhCyAKCg4NyRm25II5cHwmuRp98dLwcm8ACg5dbv 8NC/je+JilMpcsJ/Oocxm8Q= =gNgv -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--