From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 5 18:00:16 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81444106564A for ; Mon, 5 Apr 2010 18:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 34C908FC27 for ; Mon, 5 Apr 2010 18:00:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o35I0GCM086951 for ; Mon, 5 Apr 2010 18:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o35I0Gn6086950; Mon, 5 Apr 2010 18:00:16 GMT (envelope-from gnats) Resent-Date: Mon, 5 Apr 2010 18:00:16 GMT Resent-Message-Id: <201004051800.o35I0Gn6086950@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nezmer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 979D0106567E for ; Mon, 5 Apr 2010 17:51:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4CDDA8FC1E for ; Mon, 5 Apr 2010 17:51:14 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o35HpEnE026248 for ; Mon, 5 Apr 2010 17:51:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o35HpExH026247; Mon, 5 Apr 2010 17:51:14 GMT (envelope-from nobody) Message-Id: <201004051751.o35HpExH026247@www.freebsd.org> Date: Mon, 5 Apr 2010 17:51:14 GMT From: Nezmer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/145411: [xfs] [panic] [backtrace] Kernel panics shortly after mounting an XFS partition X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2010 18:00:16 -0000 >Number: 145411 >Category: kern >Synopsis: [xfs] [panic] [backtrace] Kernel panics shortly after mounting an XFS partition >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 05 18:00:15 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Nezmer >Release: 8-STABLE >Organization: none >Environment: FreeBSD NezmerBSD 8.0-STABLE FreeBSD 8.0-STABLE #2: Fri Apr 2 18:53:34 EEST 2010 GENERIC amd64 >Description: Whenever I mount an XFS partition and within a minute or two of usage, the kernel panics. Backtrace attached. Relevant source files are available here: http://nezmer.info/public/xfs_report.tar.gz >How-To-Repeat: Mount an XFS partition, view some files. >Fix: none Patch attached with submission follows: #0 doadump () at pcpu.h:223 #1 0xffffffff805876c6 in boot (howto=260) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/kern/kern_shutdown.c:416 #2 0xffffffff80587af9 in panic (fmt=0xffffffff80942f24 "%s") at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/kern/kern_shutdown.c:579 #3 0xffffffff8086ad70 in trap_fatal (frame=0xffffff807974e480, eva=18446742973209911296) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/amd64/amd64/trap.c:857 #4 0xffffffff8086b134 in trap_pfault (frame=0xffffff807974e480, usermode=0) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/amd64/amd64/trap.c:773 #5 0xffffffff8086b954 in trap (frame=0xffffff807974e480) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/amd64/amd64/trap.c:499 #6 0xffffffff80851a83 in calltrap () at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/amd64/amd64/exception.S:224 #7 0xffffffff811f61a6 in xfs_inode_lock_init (ip=0xffffff0023fe0000, vp=Variable "vp" is not available. ) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/modules/xfs/../../gnu/fs/xfs/xfs_iget.c:557 #8 0xffffffff811d2641 in xfs_iget (mp=0xffffff002320a800, tp=0x0, ino=292224127, flags=Variable "flags" is not available. ) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/modules/xfs/../../gnu/fs/xfs/FreeBSD/xfs_freebsd_iget.c:211 #9 0xffffffff811ec68e in xfs_dir_lookup_int (dir_bdp=0xffffff0023fe1040, lock_mode=8, dentry=Variable "dentry" is not available. ) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/modules/xfs/../../gnu/fs/xfs/xfs_utils.c:97 #10 0xffffffff811f0696 in xfs_lookup (dir_bdp=0xffffff0023fe1040, dentry=0xffffff807974e998, vpp=0xffffff807974e708, flags=Variable "flags" is not available. ) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/modules/xfs/../../gnu/fs/xfs/xfs_vnodeops.c:1828 #11 0xffffffff811fecc6 in _xfs_cachedlookup (ap=Variable "ap" is not available. ) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/modules/xfs/../../gnu/fs/xfs/FreeBSD/xfs_vnops.c:1266 #12 0xffffffff80600fb0 in vfs_cache_lookup (ap=Variable "ap" is not available. ) at vnode_if.h:80 #13 0xffffffff808bdda0 in VOP_LOOKUP_APV (vop=0xffffffff81209d20, a=0xffffff807974e810) at vnode_if.c:123 #14 0xffffffff806080e4 in lookup (ndp=0xffffff807974e940) at vnode_if.h:54 #15 0xffffffff8060919c in namei (ndp=0xffffff807974e940) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/kern/vfs_lookup.c:264 #16 0xffffffff806173bf in kern_statat_vnhook (td=0xffffff0004edc740, flag=Variable "flag" is not available. ) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/kern/vfs_syscalls.c:2355 #17 0xffffffff80617585 in kern_statat (td=Variable "td" is not available. ) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/kern/vfs_syscalls.c:2336 #18 0xffffffff8061764a in lstat (td=Variable "td" is not available. ) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/kern/vfs_syscalls.c:2399 #19 0xffffffff8086b344 in syscall (frame=0xffffff807974ec80) at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/amd64/amd64/trap.c:1025 #20 0xffffffff80851d61 in Xfast_syscall () at /usr/home/sahl64/srcpkgs-git/fbsd/src/8_stable-build/sys/amd64/amd64/exception.S:373 #21 0x000000080106f5ac in ?? () Previous frame inner to this frame (corrupt stack?) >Release-Note: >Audit-Trail: >Unformatted: