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 08:41:17PM +0100, Wojciech Galazka wrote:
> On 1/12/09, Bernd Ernesti <netbsd%lists.veego.de@localhost> 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.
> >
> > Bernd
> >
> >
> 
> When in ddb use these commands
> trace
> show registers
> also ddb print the case of a trap showing some crucial info from debug
> registers or so like and memory address where the trap occured

Sorry, but I can't follow you here.

That is not a panic. It is a hang and I need some detailed information
how to find the place where it hangs, and not some generic ddb commands.

Bernd



Home | Main Index | Thread Index | Old Index