>1. Nado "debug version of your kernel "
> smotri v storonu opcij: options KDB, options DDB, options GDB.
>2. Nu a potom http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html Спасибо за ответ. Но gdb тоже не срабатывает.
core# cd /usr/src/sys/i386/compile/KERNCONF
core# gdb -k kernel /var/crash/vmcore.3
gdb: unrecognized option `-k'
Use `gdb --help' for a complete list of options.
Решил исключить опцию -k
core# gdb kernel /var/crash/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 "i386-marcel-freebsd"...(no debugging symbols found)...
"/var/crash/vmcore.3" is not a core dump: File format not recognized
(gdb)
и ждет ввода команды. Но что вводить я не знаю.
И почему
/var/crash/vmcore.3" is not a core dump
тоже не понимаю, ведь дамп создан на основе
dumpdev="/dev/amrd0s1b"
dumpdir="/var/crash"
savecore_flags=""