panic: tmpfs_alloc_vp: type 0xffffff000143d380 0

John Baldwin jhb at freebsd.org
Wed Nov 5 13:00:54 PST 2008


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 at 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


More information about the freebsd-current mailing list