FreeBSD 8
Добавлено: 2008-06-25 14:12:40
скачал снапшот релиз 8... есть 1 вопрос, при старте системы выдаёт такое:
кусок dmesg
немного присмотрелся, в ядре есть такие опции :
вопрос в том - это нормальное поведение ? если я правильно понял то это просто инфа для дебага и если я ядро соберу без этих опций, то у меня всё будет по старинке ?
Код: Выделить всё
> uname -a
FreeBSD 8.0-CURRENT-200806 FreeBSD 8.0-CURRENT-200806 #0: Wed Jun 4 01:39:24 UTC 2008 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>
Код: Выделить всё
WARNING: WITNESS option enabled, expect reduced performance.
lock order reversal: (sleepable after non-sleepable)
1st 0xc333101c struct mount mtx (struct mount mtx) @ /usr/src/sys/kern/vfs_subr.c:343
2nd 0xc3331000 vfslock (vfslock) @ /usr/src/sys/kern/vfs_subr.c:370
KDB: stack backtrace:
db_trace_self_wrapper(c0b30b24,c2e0eb64,c07c1f3e,c0b33391,c3331000,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c0b33391,c3331000,c0b39118,c0b39118,c0b396b5,...) at kdb_backtrace+0x29
witness_checkorder(c3331000,1,c0b396b5,172,c0c61774,...) at witness_checkorder+0x6de
__lockmgr_args(c3331000,200100,c333101c,0,0,...) at __lockmgr_args+0x230
vfs_busy(c3331000,200,0,c30a7d20,1,...) at vfs_busy+0x1bc
vfs_mount_alloc(0,c0be3ee0,c0b3945b,c30a7d20,c07fed30,...) at vfs_mount_alloc+0x78
vfs_mountroot(c0c548d0,4,c0b2864e,264,c30a5d0c,...) at vfs_mountroot+0x26c
start_init(0,c2e0ed38,c0b29f97,324,c30a5d0c,...) at start_init+0x65
fork_exit(c074be10,0,c2e0ed38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc2e0ed70, ebp = 0 ---
lock order reversal: (sleepable after non-sleepable)
1st 0xc3226e10 vnode interlock (vnode interlock) @ /usr/src/sys/fs/devfs/devfs_vnops.c:288
2nd 0xc3226df4 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2044
KDB: stack backtrace:
db_trace_self_wrapper(c0b30b24,c2e0ea8c,c07c1f3e,c0b33391,c3226df4,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c0b33391,c3226df4,c0b23fd8,c0b23fd8,c0b396b5,...) at kdb_backtrace+0x29
witness_checkorder(c3226df4,9,c0b396b5,7fc,c3226df4,...) at witness_checkorder+0x6de
__lockmgr_args(c3226df4,80100,c3226e10,0,0,...) at __lockmgr_args+0x777
vop_stdlock(c2e0eb8c,c0b2418e,c0b27365,80100,c3226d9c,...) at vop_stdlock+0x62
VOP_LOCK1_APV(c0be3fc0,c2e0eb8c,c0c23460,c3226d9c,80100,...) at VOP_LOCK1_APV+0xa5
_vn_lock(c3226d9c,80100,c0b396b5,7fc,c0b2418e,...) at _vn_lock+0x5e
vget(c3226d9c,80100,c30a7d20,121,c0b2412b,...) at vget+0x9c
devfs_allocv(c30a3d80,c3331000,c2e0ec20,c30a7d20,c30a7dc4,...) at devfs_allocv+0x11a
devfs_root(c3331000,80000,c0ca9534,c30a7d20,4,...) at devfs_root+0x51
set_rootvnode(c0ca9520,0,c0b3901a,5f4,c07fed30,...) at set_rootvnode+0x2d
vfs_mountroot(c0c548d0,4,c0b2864e,264,c30a5d0c,...) at vfs_mountroot+0x34c
start_init(0,c2e0ed38,c0b29f97,324,c30a5d0c,...) at start_init+0x65
fork_exit(c074be10,0,c2e0ed38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc2e0ed70, ebp = 0 ---
lock order reversal:
1st 0xc3226df4 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2044
2nd 0xc3317854 devfsmount (devfsmount) @ /usr/src/sys/fs/devfs/devfs_vnops.c:292
KDB: stack backtrace:
db_trace_self_wrapper(c0b30b24,c2e0ebb0,c07c1f3e,c0b33391,c3317854,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c0b33391,c3317854,c0b24174,c0b24174,c0b2418e,...) at kdb_backtrace+0x29
witness_checkorder(c3317854,9,c0b2418e,124,122,...) at witness_checkorder+0x6de
_sx_xlock(c3317854,0,c0b2418e,124,c0b2412b,...) at _sx_xlock+0x7d
devfs_allocv(c30a3d80,c3331000,c2e0ec20,c30a7d20,c30a7dc4,...) at devfs_allocv+0x13f
devfs_root(c3331000,80000,c0ca9534,c30a7d20,4,...) at devfs_root+0x51
set_rootvnode(c0ca9520,0,c0b3901a,5f4,c07fed30,...) at set_rootvnode+0x2d
vfs_mountroot(c0c548d0,4,c0b2864e,264,c30a5d0c,...) at vfs_mountroot+0x34c
start_init(0,c2e0ed38,c0b29f97,324,c30a5d0c,...) at start_init+0x65
fork_exit(c074be10,0,c2e0ed38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc2e0ed70, ebp = 0 ---
Trying to mount root from ufs:/dev/ad1s1a
lock order reversal: (sleepable after non-sleepable)
1st 0xc3226b20 bufobj interlock (bufobj interlock) @ /usr/src/sys/kern/vfs_bio.c:2442
2nd 0xc2ccea80 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2456
KDB: stack backtrace:
db_trace_self_wrapper(c0b30b24,c2e0e788,c07c1f3e,c0b33391,c2ccea80,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c0b33391,c2ccea80,c0b37fe3,c0b37fe3,c0b37592,...) at kdb_backtrace+0x29
witness_checkorder(c2ccea80,9,c0b37592,998,0,...) at witness_checkorder+0x6de
__lockmgr_args(c2ccea80,81900,c3226b20,c0b37f3f,50,...) at __lockmgr_args+0x777
getblk(c3226a78,0,0,800,0,...) at getblk+0x153
breadn(c3226a78,0,0,800,0,...) at breadn+0x44
bread(c3226a78,0,0,800,0,...) at bread+0x4c
ffs_blkatoff(c3226a78,0,0,0,c2e0e9a8,...) at ffs_blkatoff+0xd1
ufs_lookup(c2e0e9ec,c3226a78,c2e0eb50,c3226a78,c2e0ea0c,...) at ufs_lookup+0x2e6
VOP_CACHEDLOOKUP_APV(c0c0adc0,c2e0e9ec,c2e0eb50,c2e0eb3c,c30ac800,...) at VOP_CACHEDLOOKUP_APV+0xa5
vfs_cache_lookup(c2e0ea6c,c2e0ea6c,500000c,80000,c3226a78,...) at vfs_cache_lookup+0xd0
VOP_LOOKUP_APV(c0c0adc0,c2e0ea6c,c0b38dc8,1b0,c2e0eb3c,...) at VOP_LOOKUP_APV+0xa5
lookup(c2e0eb24,c0b38dc8,d8,c0,c307322c,...) at lookup+0x57e
namei(c2e0eb24,c2e0eb28,c07c171c,c0b39118,c0ca8df0,...) at namei+0x44b
kern_unlinkat(c30a7d20,ffffff9c,c0b39457,1,c2e0ec5c,...) at kern_unlinkat+0x46
kern_unlink(c30a7d20,c0b39457,1,62f,0,...) at kern_unlink+0x27
vfs_mountroot_try(c0b39611,c0b27367,c0b1fdcb,1,c07fed30,...) at vfs_mountroot_try+0x472
vfs_mountroot(c0c548d0,4,c0b2864e,264,c30a5d0c,...) at vfs_mountroot+0x40e
start_init(0,c2e0ed38,c0b29f97,324,c30a5d0c,...) at start_init+0x65
fork_exit(c074be10,0,c2e0ed38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc2e0ed70, ebp = 0 ---
Код: Выделить всё
# Debugging for use in -current
options KDB # Enable kernel debugger support.
options DDB # Support DDB.
options GDB # Support remote GDB.
options INVARIANTS # Enable calls of extra sanity checking
options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
options WITNESS # Enable checks to detect deadlocks and cycles
options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed