[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Need help with crash debug
From:       David Miller <dmiller () search ! sparks ! net>
Date:       2000-02-28 15:05:30
[Download RAW message or body]

On Mon, 28 Feb 2000, Joerg Micheel wrote:

> 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.
> 

Wow.  So if smp core dumps can't be debugged post mortem, how do the
developers develop smp kernels?

> 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.

I may resort to this.  If it's an smp related bug, this will just make it
"go away", which would be OK, except there are times when I need the extra
horsepower.
 
> 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.

Thanks for the input:)

--- David



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic