Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2012 08:52:48 +0200
From:      =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= <kes-kes@yandex.ru>
To:        freebsd-questions@freebsd.org
Subject:   how to find cause of crash?
Message-ID:  <69910929.20120214085248@yandex.ru>

next in thread | raw e-mail | index | archive | help
Здравствуйте, Freebsd-questions.

# last -n20
adm        pts/0    10.10.1.40             Tue Feb 14 08:41   still logged in
boot time                                  Tue Feb 14 08:35
adm        pts/1    10.10.1.40             Tue Feb 14 07:00 - crash  (01:35)
adm        pts/0    10.10.1.40             Tue Feb 14 06:59 - crash  (01:35)
adm        pts/0    10.10.1.40             Tue Feb 14 03:03 - 03:04  (00:01)
# cd /var/crash
# ls -l
total 8
-rw-r--r--  1 root  wheel  2 Dec 16 00:11 bounds
-rw-r--r--  1 root  wheel  5 Dec 19 10:27 minfree

# uname -a
FreeBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r231520M: Mon Feb 13 00:46:05 EET 2012     :/usr/obj/usr/src.svn/head10.2012-02-10/sys/KES_KERN_v10  i386

No any usefull messages in /var/log/messages and /var/log/console
Feb 14 08:27:11 dhcpd: uid lease 10.7.28.68 for client 20:cf:30:de:70:e3 is duplicate on 10.7.28.0/23
Feb 14 08:35:11 syslogd: kernel boot file is /boot/kernel/kernel
Feb 14 08:35:11 kernel: Copyright (c) 1992-2012 The FreeBSD Project.
Feb 14 08:35:11 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Feb 14 08:35:11 kernel: The Regents of the University of California. All rights reserved.
....

/var/log/console
Feb 14 08:27:11 meta-up kernel: Feb 14 08:27:11 meta-up dhcpd: uid lease 10.7.28.68 for client 20:cf:30:de:70:e3 is duplicate on 10.7.28.0/23
Feb 14 08:35:11 meta-up kernel: Setting hostuuid: 03000200-0400-0500-0006-000700080009.

#dmesg
lock order reversal:
 1st 0xe091598c bufwait (bufwait) @ /usr/src.svn/head10.2012-02-10/sys/ufs/ffs/ffs_vnops.c:260
 2nd 0xca00c85c snaplk (snaplk) @ /usr/src.svn/head10.2012-02-10/sys/ufs/ffs/ffs_snapshot.c:2301
KDB: stack backtrace:
db_trace_self_wrapper(c0ba962d,30322e30,302d3231,30312d32,7379732f,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c07dea3b,c0bad19e,c0e2e718,8fd,ef6fb858,...) at kdb_backtrace+0x2a
_witness_debugger(c0bad19e,ca00c85c,c0bd8466,c6d59dc8,c0bd83ee,...) at _witness_debugger+0x25
witness_checkorder(ca00c85c,9,c0bd83ee,8fd,0,...) at witness_checkorder+0x86f
__lockmgr_args(ca00c85c,80900,c757fe48,0,0,...) at __lockmgr_args+0x824
ffs_copyonwrite(c757fdd0,e091592c,0,e091592c,c9f3f220,...) at ffs_copyonwrite+0x2bd
ffs_geom_strategy(c757fe7c,e091592c,c0c9a1f8,c9a99000,c9cd4990,...) at ffs_geom_strategy+0xeb
ufs_strategy(ef6fba18,c0825a78,c9cd4990,e091592c,0,...) at ufs_strategy+0xd3
VOP_STRATEGY_APV(c0cb6140,ef6fba18,c9cd4990,c0cc32a0,c9f3f220,...) at VOP_STRATEGY_APV+0xb5
bufstrategy(c9f3f2cc,e091592c,e5,e091598c,e091592c,...) at bufstrategy+0x61
bufwrite(e091592c,e091592c,1,106,0,...) at bufwrite+0x159
ffs_syncvnode(c9f3f220,1,0,0,c9f3f2cc,...) at ffs_syncvnode+0x385
ffs_fsync(ef6fbb00,c9f213a0,ef6fbb00,ef6fbb00,ef6fbb1c,...) at ffs_fsync+0x27
VOP_FSYNC_APV(c0cb6140,ef6fbb00,500800c,0,c9f3f220,...) at VOP_FSYNC_APV+0xa5
ufs_remove(ef6fbc1c,0,0,0,c9f40110,...) at ufs_remove+0xd2
VOP_REMOVE_APV(c0cb6140,ef6fbc1c,c9f40110,ef6fbb94,c084da98,...) at VOP_REMOVE_APV+0xa5
kern_unlinkat(c9a99000,ffffff9c,80656c0,0,0,...) at kern_unlinkat+0x258
kern_unlink(c9a99000,80656c0,0,ef6fbd1c,c0a57b67,...) at kern_unlink+0x2f
sys_unlink(c9a99000,ef6fbcec,c0bf189a,c0b949ee,202,...) at sys_unlink+0x22
syscall(ef6fbd28) at syscall+0x2a7
Xint0x80_syscall() at Xint0x80_syscall+0x21
--- syscall (10, FreeBSD ELF32, sys_unlink), eip = 0x2819de3f, esp = 0xbfbfe47c, ebp = 0xbfbfea98 ---
lock order reversal:
 1st 0xca00c85c snaplk (snaplk) @ /usr/src.svn/head10.2012-02-10/sys/kern/vfs_vnops.c:307
 2nd 0xc9f40168 ufs (ufs) @ /usr/src.svn/head10.2012-02-10/sys/ufs/ffs/ffs_snapshot.c:1631
KDB: stack backtrace:
db_trace_self_wrapper(c0ba962d,2d32302d,732f3031,752f7379,662f7366,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c07dea3b,c0bad19e,c0e2e708,65f,ef6fb6e4,...) at kdb_backtrace+0x2a
_witness_debugger(c0bad19e,c9f40168,c0b9b6f0,c6d59610,c0bd83ee,...) at _witness_debugger+0x25
witness_checkorder(c9f40168,9,c0bd83ee,65f,0,...) at witness_checkorder+0x86f
__lockmgr_args(c9f40168,80000,0,0,0,...) at __lockmgr_args+0x824
ffs_snapremove(c9f40110,c6d551d0,c,c0e2e708,0,...) at ffs_snapremove+0x11f
ffs_truncate(c9f40110,0,0,c00,0,...) at ffs_truncate+0x587
ufs_inactive(ef6fbab8,c9f40188,c9f40110,c9f40188,ef6fbad0,...) at ufs_inactive+0x1f8
VOP_INACTIVE_APV(c0cb6140,ef6fbab8,c0bb5503,96f,c0cc3200,...) at VOP_INACTIVE_APV+0xa5
vinactive(c0cb6140,ef6fbaec,c0bb5503,8c6,0,...) at vinactive+0x8e
vputx(ef6fbb54,c08533aa,c9f40110,ef6fbb30,c0bb6a10,...) at vputx+0x2f8
vput(c9f40110,ef6fbb30,c0bb6a10,133,0,...) at vput+0x10
vn_close(c9f40110,1,c6da3e80,c9a99000,0,...) at vn_close+0x19a
vn_closefile(c7459540,c9a99000,0,0,c7459540,...) at vn_closefile+0xe4
_fdrop(c7459540,c9a99000,0,ef6fbc18,0,c07eea1a,c0e2e708,c9a990b0,c0e2e708,c0c9bac0,c9a99000,c9c7092c,4ce,ef6fbc28,c07ad715,c9c7092c,8,c0b9e9be,c7459540) at _fdrop+0x43
closef(c7459540,c9a99000,4ce,ef6fbc4c,c9c7092c,...) at closef+0x2b0
kern_close(c9a99000,4,ef6fbd1c,c0a57b67,c9a99000,...) at kern_close+0x139
sys_close(c9a99000,ef6fbcec,c0bf189a,c0bae4cc,282,...) at sys_close+0x1a
syscall(ef6fbd28) at syscall+0x2a7
Xint0x80_syscall() at Xint0x80_syscall+0x21
--- syscall (6, FreeBSD ELF32, sys_close), eip = 0x281b05c3, esp = 0xbfbfea9c, ebp = 0xbfbfede8 ---

how to find cause why it was rebooted?

-- 
С уважением,
 Коньков                          mailto:kes-kes@yandex.ru




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