Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to debug a hang while booting the kernel?



On Mon, Jan 12, 2009 at 07:37:02PM +0100, Bernd Ernesti wrote:
> On Mon, Jan 12, 2009 at 01:27:07PM +0000, Patrick Welche wrote:
> > On Mon, Jan 12, 2009 at 12:57:21PM +0100, Bernd Ernesti wrote:
> > > Is there a way to find out where the kernel hangs from ddb?
> > 
> > I suppose the first question is: can you get into ddb at all once it hangs?
> 
> Yes, but bt und ps didn't show something usefull for me.

Is it eg multiprocessor and i386/amd64, in which case is the trace on the
other processor more useful eg
mach cpu 1
bt
?
(The only ps trick I can think of is for gdb rather than ddb :-/)

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index