Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2012 11:21:51 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        freebsd-hackers@freebsd.org
Subject:   Re: reason for "magic" crashes.
Message-ID:  <alpine.BSF.2.00.1206251117500.78020@wojtek.tensor.gdynia.pl>
In-Reply-To: <20120624190853.GB15899@dft-labs.eu>
References:  <20120623162415.303430@gmx.com> <alpine.BSF.2.00.1206231947160.40095@wojtek.tensor.gdynia.pl> <alpine.BSF.2.00.1206241856090.73001@wojtek.tensor.gdynia.pl> <20120624180526.GA15899@dft-labs.eu> <alpine.BSF.2.00.1206242049230.73675@wojtek.tensor.gdynia.pl> <20120624190853.GB15899@dft-labs.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
thanks first for all suggestions.

Now the (not really)funny part begins.
After turning on all this checks in kernel the system crashes repeatable 
even before ending fully bootstrap sequence.

Before this i've got tons of warning about lock order reversal.

On seems strange as it is

lock order reversal:
  1st 0xffffff80f5c4ba80 bufwait (bufwait) @ kern/vfs_bio.c:2636
  2nd 0xffffff0005cb0600 dirhash (dirhash) @ ufs/ufs/ufs_dirhash.c:285
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x2e
witness_checkorder() at witness_checkorder+0x80a
_sx_xlock() at _sx_xlock+0x5d
ufsdirhash_acquire() at ufsdirhash_acquire+0x33
ufsdirhash_remove() at ufsdirhash_remove+0x16
ufs_dirremove() at ufs_dirremove+0x181
ufs_remove() at ufs_remove+0x85
VOP_REMOVE_APV() at VOP_REMOVE_APV+0x93
kern_unlinkat() at kern_unlinkat+0x211
amd64_syscall() at amd64_syscall+0x2e0
Xfast_syscall() at Xfast_syscall+0xfc
--- syscall (10, FreeBSD ELF64, unlink), rip = 0xeede070c, rsp = 
0x7fffffffdb08, rbp = 0x7fffffffef58 ---


every now and then when files are deleted.

The rest seems to be a problem with not really good and it sync 3-rd party 
kernel addons.

After fixing that part i would post again.

Still - what may be a cause of this messages?



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