Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2010 17:51:14 GMT
From:      Nezmer <me@nezmer.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/145411: [xfs] [panic] [backtrace] Kernel panics shortly after mounting an XFS partition
Message-ID:  <201004051751.o35HpExH026247@www.freebsd.org>
Resent-Message-ID: <201004051800.o35I0Gn6086950@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004051751.o35HpExH026247>