From owner-freebsd-current@FreeBSD.ORG Wed Nov 5 21:00:53 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EACF810657C2; Wed, 5 Nov 2008 21:00:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7F6278FC1D; Wed, 5 Nov 2008 21:00:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id mA5L0f2a015344; Wed, 5 Nov 2008 16:00:47 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 5 Nov 2008 11:41:27 -0500 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811051141.27965.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Wed, 05 Nov 2008 16:00:47 -0500 (EST) X-Virus-Scanned: ClamAV 0.93.1/8576/Wed Nov 5 13:28:48 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=4.2 tests=AWL,BAYES_00, DATE_IN_PAST_03_06,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: current@freebsd.org Subject: Re: panic: tmpfs_alloc_vp: type 0xffffff000143d380 0 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, 05 Nov 2008 21:00:54 -0000 On Wednesday 05 November 2008 07:34:56 am Pawel Worach wrote: > Hi, > > Got the following panic after I built some ports with > WRKDIRPREFIX=/tmp/work where /tmp is tmpfs. > > FreeBSD one 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r184639M: Tue Nov 4 > 18:39:44 CET 2008 root@one:/usr/obj/usr/src/sys/IBMT61 amd64 > > panic: tmpfs_alloc_vp: type 0xffffff000143d380 0 > > Unread portion of the kernel message buffer: > panic: tmpfs_alloc_vp: type 0xffffff000143d380 0 > cpuid = 0 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > panic() at panic+0x17d > tmpfs_alloc_vp() at tmpfs_alloc_vp+0x255 > tmpfs_lookup() at tmpfs_lookup+0x17a > vfs_cache_lookup() at vfs_cache_lookup+0xda I'm guessing the parent node of a file got free'd (maybe a missing refcount?) and that tn_parent is a stale pointer. Not sure how that would have happened though. Might be worth looking at the node passed to tmpfs_alloc_vp(). -- John Baldwin