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


Home | Main Index | Thread Index | Old Index