Previous message sent prematurely. On 1/18/08, Scot Hetzel <swhetzel@gmail.com> wrote:3. lock order reversal related to the write syscall lock order reversal: 1st 0xffffff00269f6500 dn->dn_mtx (dn->dn_mtx) @ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dnode.c:874 2nd 0xffffff0026338d38 dr->dt.di.dr_mtx (dr->dt.di.dr_mtx) @ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dnode.c:875 KDB: Stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a witness_check_order() at witness_check_order+0x606 _sx_lock() at _sx_lock+0x52 dnode_new_blkid() at dnode_new_blkid+0x15b dbuf_dirty() at dbuf_dirty+0x7dc dmu_write_uio() at dmu_write_uio+0x167 zfs_freebsd_write() at zfs_freebsd_write+0x9b4 VOP_WRITE_APV() at VOP_WRITE_APV+0x131 vn_write() at vn_write+0x24f dofilewrite() at dofilewrite+0x85 kern_writev() at kern_writev+0x60 write() at write+0x54 syscall() at syscall+0x1ce Xfast_syscall() at Xfast_syscall+0xab --- syscall (4, FreeBSD ELF64, write), rip = 0x8009f623c, rsp = 0x7729d0, rbp = 0x772a18 --- 4. lock order reversal related to the lstat syscall lock order reversal: 1st 0xffffff0001578058 zfsvfs->z_um_lock (zfsvfs->z_um_lock) @ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:2949 2nd 0xffffff001725cd0 tx->tx_sync_lock (tx->tx_sync_lock) @ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/txg.c:414 KDB: Stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a witness_check_order() at witness_check_order+0x606 _sx_lock() at _sx_lock+0x52 txg_wait_open() at txg_wait_open+0x34 dmu_tx_assign() at dmu_tx_assign+0x2a5 zfs_inactive() at zfs_inactive+0x21f zfs_freebsd_inactive() at zfs_freebsd_inactive+0x18 VOP_INACTIVE_APV() at VOP_INACTIVE_APV+0xb5 vinactive() at vinactive+0x90 vput() at vput+0x24d namei() at namei+0x29a kern_lstat() at kern_lstat+0x5e lstat() at lstat+0x2a syscall() at syscall+0x1ce Xfast_syscall() at Xfast_syscall+0xab --- syscall (190, FreeBSD ELF64, lstat), rip = 0x8009e87ec, rsp = 0x72f1d0, rbp = 0x72f2a8 --- The panic didn't occur after lock order reversal 4, instead it occured after the system had displayed lock order reversal 2. hp010# /usr/local/etc/cvsup/update.sh & hp010# tail -f /var/log/cvsup.log : <lock order reversal 1> : <lock order reversal 3> : <lock order reversal 1> <lock order reversal 2> : <lock order reversal 4> : <lock order reversal 1> <lock order reversal 2> Edit CVSROOT-ports/modules,v : : Edit ports/audio/sonata/pkg-plist,v panic: System call lstat returning with 1 locks held cpuid = 0 KDB: enter: panic [ thread pid 996 tid 10011 ] stopped at kdb_enter+0x3d: movq $0,0x4ad188(%rip) db> show lockedvnods Locked vnodes db> Scot _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
| Ingo Molnar | [git pull] x86 arch updates for v2.6.25 |
| Greg Kroah-Hartman | [PATCH 02/46] sysfs: crash debugging |
| Chuck Ebbert | Why do so many machines need "noapic"? |
| Greg KH | Re: [BUG] 2.6.24-git usb reset problems |
git: | |
| Wink Saville | Resolving conflicts |
| Andreas Ericsson | git integration with monodevelop |
| Jon Smirl | ! [rejected] master -> master (non-fast forward) |
| Nicolas Bock | error: cannot lock ref 'refs/remotes/origin/*' |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Christian Weisgerber | Re: libiconv problem |
| Daniel Ouellet | identifying sparse files and get ride of them trick available? |
| Richard Stallman | Real men don't attack straw men |
| Dushan Tcholich | Re: ksoftirqd high cpu load on kernels 2.6.24 to 2.6.27-rc1-mm1 |
| Larry McVoy | Re: tcp bw in 2.6 |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
