Стал у меня в последнее время вываливаться сервер в coredump и довольно часто, только выключение кнопкой питания приводит его в чувства. Ни как не могу отследить проблему, на экране ошибка kernel trap 12 with interrupts disabled и current process могут быть разные то syncer , то pagedaemon, то еще чего нибудь. Пытаюсь получить данны из самого дампа, для этого в rc.conf прописал
Код: Выделить всё
dumpdev="AUTO"
dumpdir="/var/crash"
savecore_flags="-v"
но vmcore.N в /var/crash все пустые, пробую
Код: Выделить всё
[root@nas6 /var/crash]# kgdb /boot/kernel/kernel vmcore.3
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Failed to open vmcore: wrong minidump version. expected 1 got 2
(kgdb)
В /var/crash имеются файлы info.N в них что-то записано, например
Код: Выделить всё
[root@nas6 /var/crash]# cat info.3
Dump header from device /dev/da0s1b
Architecture: amd64
Architecture Version: 2
Dump Length: 827527168B (789 MB)
Blocksize: 512
Dumptime: Mon Oct 10 00:55:13 2011
Hostname: nas6
Magic: FreeBSD Kernel Dump
Version String: FreeBSD 7.4-RELEASE-p4 #2: Sun Oct 9 20:56:47 MSD 2011
ivan@nas6:/usr/obj/usr/src/sys/NAS
Panic String: sbflush_internal: cc 0 || mb 0xffffff00080cde00 || mbcnt 4608
Dump Parity: 54328185
Bounds: 3
Dump Status: good
