kernel core dump

2005-03-02 Thread Yan Yu
Hi, I have a Q on generating kernel core dump when the system boots up.. my kernel crashes when it tries to mount the root device, /, i.e., before it adding the swap device to the system (so there is no swap device when the system tries to generate core dump).. I am wondering is there a way

Help about debugging FreeBSD kernel core dump file

2005-02-28 Thread River
Hi, Everyone: How can I debug the core dump file created by kernel panic? I try to use gdb -core vmcore.0 (vmcore.0 is 4G file because I have 4G memory) and the gdb said: this is not a vaild core file. Why? Thanks ___ freebsd-hackers@freebsd.org

Re: Help about debugging FreeBSD kernel core dump file

2005-02-28 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html] Single line message. On Tuesday, 1 March 2005 at 11:41:08 +0800, River wrote: Hi, Everyone: How can I debug the core dump file created by kernel panic? I try to use gdb -core vmcore.0 (vmcore.0 is 4G file because I have 4G

Re: Help about debugging FreeBSD kernel core dump file

2005-02-28 Thread Kris Kennaway
On Tue, Mar 01, 2005 at 11:41:08AM +0800, River wrote: Hi, Everyone: How can I debug the core dump file created by kernel panic? I try to use gdb -core vmcore.0 (vmcore.0 is 4G file because I have 4G memory) and the gdb said: this is not a vaild core file. Why? Read the chapter on kernel

Re: Help about debugging FreeBSD kernel core dump file

2005-02-28 Thread Joseph Koshy
How can I debug the core dump file created by kernel panic? I try to use gdb -core vmcore.0 (vmcore.0 is 4G file because I have 4G memory) and the gdb said: this is not a vaild core file. Why? AFAIK you have to use 'gdb -k' (or 'kgdb') to use GDB's kernel debugging mode. -- FreeBSD

Examining kernel core dump: gd_curpcb

1999-08-26 Thread Amit Singh
The kernel (a hacked 3.2-RELEASE) dumps core (courtesy a panic), and upon a subsequent boot, the following happens: # cd /usr/src/sys/compile/FOOKERNEL # gdb -k GNU gdb 4.18 ... (kgdb) symbol-file kernel.debug Reading symbols from kernel.debug...done. (kgdb) exec-file

Re: Examining kernel core dump: gd_curpcb

1999-08-26 Thread Ruslan Ermilov
This has been fixed with the following commit: luoqi 1999/05/24 12:31:19 PDT Modified files:(Branch: RELENG_3) gnu/usr.bin/binutils/gdb/i386 freebsd-nat.c kvm-fbsd.c Log: Back out changes don't belong to the 3.x branch. Revision ChangesPath 1.21.2.2 +3 -1

Examining kernel core dump: gd_curpcb

1999-08-26 Thread Amit Singh
The kernel (a hacked 3.2-RELEASE) dumps core (courtesy a panic), and upon a subsequent boot, the following happens: # cd /usr/src/sys/compile/FOOKERNEL # gdb -k GNU gdb 4.18 ... (kgdb) symbol-file kernel.debug Reading symbols from kernel.debug...done. (kgdb) exec-file

Re: Examining kernel core dump: gd_curpcb

1999-08-26 Thread Ruslan Ermilov
This has been fixed with the following commit: luoqi 1999/05/24 12:31:19 PDT Modified files:(Branch: RELENG_3) gnu/usr.bin/binutils/gdb/i386 freebsd-nat.c kvm-fbsd.c Log: Back out changes don't belong to the 3.x branch. Revision ChangesPath 1.21.2.2 +3 -1