Port-vax archive

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

Re: Current hangs at boot



On Sat, Nov 13, 2010 at 09:40:47PM +0100, Anders Magnusson wrote:
> You cannot get into the debugger and do backtrace?

Nope (but <ESC>-D never seems to work for me).

> If there is something that blocks DDB, then:
> 
> 1) break to the >>> prompt
> 2) >>> D/P 80000100 1
> 3) >>> C
> 
> then you should enter DDB whatsoever IIRC.

Ah, nice trick - this works:

>>> D/P 80000100 1
>>> C
Stopped in pid 0.2 (system) at  netbsd:uvm_pageidlezero+0x2:    subl2   $, sp
db> bt                                                                       
Process 0.2
         PCB contents:
 KSP = 0x8af96f30     
 ESP = 0x8af95064
 SSP = 0x87f68d20
 USP = 0x0       
 R[00] = 0x00000001       R[06] = 0x87f8f09c
 R[01] = 0x00000008       R[07] = 0x87f68d20
 R[02] = 0x00000000       R[08] = 0x80355810
 R[03] = 0x00000018       R[09] = 0x800670d8
 R[04] = 0x80355800       R[10] = 0x80061fd8
 R[05] = 0x0279463c       R[11] = 0x80061b9c
 AP = 0x8af96f58                            
 FP = 0x8af96f40
 PC = 0x800006f3
 PSL = 0x1f0000 
 Trap frame pointer: 0x8af96fb4
Stack traceback :              
0x8af96f40: sched_curcpu_runnable_p+0x0(0xc7d40144,0x59dd01d8,0x2fb57dd,0xfffe29
ef,0xdd5b94ff,0xef01fb6a,0xb7a0,0x724a7d1,0xf1310312,0x1258d500,0x14c3103,0xf125
b95,0xa8ecad7d,0xf4ad7d38,0x58d040a8,0xd40080c6,0xd501f8c7,0x130260c7,0x2163103,
0x125758d1,0x1e93103,0x5010a7d0,0xd1516ad0,0x3125150,0xdd01ca31,0x81ef9e51,0x590
....
[and it goes on and on for several pages]


Martin


Home | Main Index | Thread Index | Old Index