Re: kernel debugging question

2006-01-10 Thread Tofik Suleymanov
Giorgos Keramidas wrote: On 2006-01-07 17:17, Tofik Suleymanov [EMAIL PROTECTED] wrote: Reading through http://www.netbsd.org i've met this: Forcing code to enter DDB Ensure your kernel config file contains '|options DDB|', the file has '|#include opt_ddb.h|', then use

kernel debugging question

2006-01-07 Thread Tofik Suleymanov
Reading through http://www.netbsd.org i've met this: Forcing code to enter DDB Ensure your kernel config file contains '|options DDB|', the file has '|#include opt_ddb.h|', then use '|Debugger()|'. ... Does this work on FreeBSD also ?

Re: kernel debugging question

2006-01-07 Thread Giorgos Keramidas
On 2006-01-07 17:17, Tofik Suleymanov [EMAIL PROTECTED] wrote: Reading through http://www.netbsd.org i've met this: Forcing code to enter DDB Ensure your kernel config file contains '|options DDB|', the file has '|#include opt_ddb.h|', then use '|Debugger()|'. ... Does this work

Re: Kernel debugging question

2004-04-23 Thread Jorn Argelo
On Friday 23 April 2004 00:42, Greg 'groggy' Lehey wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] Wrapped text still broken. On Thursday, 22 April 2004 at 16:45:11 +0200, Jorn Argelo wrote: On Thursday, 22 April 2004 at 4:18:52 +0200, Gregg 'groggy' Lehey wrote:

FW: Kernel debugging question

2004-04-22 Thread Jorn Argelo
Alright, I've added the below mentioned information (backtrace, register info and the chunk of source code) as an attachment(34KB) It also contains an ps -ax output, and some other kernel messages which might be of use. Thanks Greg, I look forward to your reply. Jorn P.S: I did notice your

Re: Kernel debugging question

2004-04-22 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html] Wrapped text still broken. On Thursday, 22 April 2004 at 16:45:11 +0200, Jorn Argelo wrote: On Thursday, 22 April 2004 at 4:18:52 +0200, Gregg 'groggy' Lehey wrote: On Monday, 19 April 2004 at 14:46:57 +0200, Jorn Argelo

Re: Kernel debugging question

2004-04-21 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html] Quoted text wrapped incorrectly. On Monday, 19 April 2004 at 14:46:57 +0200, Jorn Argelo wrote: On Monday, 19 April 2004 at 12:56:56 +0200, Jorn Argelo wrote: [snip] #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240

Fw: Re: Kernel debugging question

2004-04-20 Thread Joshua Lokken
- Forwarded message from Greg 'groggy' Lehey [EMAIL PROTECTED] - From: Greg 'groggy' Lehey [EMAIL PROTECTED] Date: Mon, 19 Apr 2004 19:36:45 +0930 To: Jorn Argelo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Kernel debugging question User-Agent: Mutt/1.4.1i Organization

Re: Kernel debugging question

2004-04-19 Thread Jorn Argelo
Hey Greg, I forgot to add the following kernel option: makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbol I did enable the rest though. This is the output of the debugging, though it seems somewhat different then the output on the FreeBSD page. Do you think the

Re: Kernel debugging question

2004-04-19 Thread Jorn Argelo
[snip] I did enable the rest though. This is the output of the debugging, What is the output of the debugging? Your message contained only the panic message and the gdb prompt: I used the gdb -k /boot/kernel/kernel.debug /home/jorn/dump/vmcore.0 command, and the output with the previous

Re: Kernel debugging question

2004-04-19 Thread Greg 'groggy' Lehey
On Monday, 19 April 2004 at 12:56:56 +0200, Jorn Argelo wrote: [snip] I did enable the rest though. This is the output of the debugging, What is the output of the debugging? Your message contained only the panic message and the gdb prompt: I used the gdb -k /boot/kernel/kernel.debug

Kernel debugging question

2004-04-18 Thread Jorn Argelo
Hey folks, I've been trying to debug my kernel. I've successfully extracted a kernel dump as described in the development handbook. However, as soon as I come across this step, I don't know how to continue: # cd /usr/obj/usr/src/sys/KERNCONF # gdb -k /boot/kernel/kernel.debug

Re: Kernel debugging question

2004-04-18 Thread Greg 'groggy' Lehey
On Sunday, 18 April 2004 at 20:01:46 +0200, Jorn Argelo wrote: Hey folks, I've been trying to debug my kernel. I've successfully extracted a kernel dump as described in the development handbook. However, as soon as I come across this step, I don't know how to continue: # cd