Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2000 17:19:31 +1300
From:      Joerg Micheel <joerg@cs.waikato.ac.nz>
To:        David Miller <dmiller@search.sparks.net>
Cc:        freebsd-hackers@freebsd.org, joerg@cs.waikato.ac.nz
Subject:   Re: Need help with crash debug
Message-ID:  <20000228171931.B24598@cs.waikato.ac.nz>
In-Reply-To: <Pine.BSF.4.21.0002261132220.7784-100000@search.sparks.net>; from David Miller on Sun, Feb 27, 2000 at 10:40:47PM -0500
References:  <Pine.BSF.4.21.0002261132220.7784-100000@search.sparks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
David,

I haven't done too much debugging with FreeBSD either. A few small
notes, however.

I don't think the gdb version shipped is ready to handle SMP kernels.
This is a deficiency, not sure someone is working on it, I believe not.

Having said this, it is probably impossible to find the kernel stack
pointer (as there are several of them anyways). Which in turn will make
it impossible to detect where exactly the kernel crashed. Unless you
have seen the machine crashing plus the report on the console, there
is not much you can hope for with this crash dump.

If this error is repeatable, you may have luck. Disable SMP in the
kernel and reboot, let the machine running until it crashes again.
Then, have another try.

FWIW, I do have a book on kernel crash dump analysis, it is for Solaris,
but I expect a great deal to be identical to general kernel debugging,
I haven't touched it in years. My debugging is somewhat different these
days.

Hope this helps.
	Joerg
-- 
Joerg B. Micheel			Email: <joerg@cs.waikato.ac.nz>
Waikato Applied Network Dynamics 	Phone: +64 7 8384794
The University of Waikato, CompScience	Fax:   +64 7 8384155
Private Bag 3105			Pager: +64 868 38222
Hamilton, New Zealand			Plan:  TINE and the DAG's


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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