Port-vax archive

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

Re: netbsd on vax 11/730; booting in sim



Anders Magnusson wrote:
Manuel Bouyer wrote:
On Sat, Jan 10, 2009 at 07:22:38PM +0100, Johnny Billquist wrote:
db> tr
Process 2087.1
         PCB contents:
 KSP = 0x8baf4e38
 ESP = 0x8baf3064
 SSP = 0x8592a5e0
 USP = 0x7fffe68c
 R[00] = 0x00000003       R[06] = 0x00000000
 R[01] = 0x0000000c       R[07] = 0x8baf4ea4
 R[02] = 0x8baf4ec8       R[08] = 0x8592a5e0
 R[03] = 0x03c00009       R[09] = 0x84359768
 R[04] = 0x8baf4f08       R[10] = 0x84359768
 R[05] = 0x00000000       R[11] = 0x8baf4f4c
 AP = 0x8baf4e60
 FP = 0x8baf4e4c
 PC = 0x80000743
 PSL = 0x1f0000
 Trap frame pointer: 0x8baf4fb4
Stack traceback :
db>
I don't know if stack traceback is supposed to work on vax. As I know nearly
nothing about vax architecture I'll leave this to more knowlegeable peoples.
I guess the first step would be to find where the kernel is looping

It is supposed to work.  But the machine might be in the idle loop, then there
is no stack to print.

A ps command could be helpful :-)

db> ps
PID PPID PGRP UID S FLAGS LWPS COMMAND WAIT
>2087         12582     6313          0 2  0x4000    1 vax--netbsdelf-l
12582 11374 6313 0 2 0x4000 1 vax--netbsdelf-l wait 11374 19443 6313 0 2 0x4000 1 sh wait 19443 17887 6313 0 2 0x4000 1 nbmake wait 17887 24488 6313 0 2 0x4000 1 sh wait 24488 736 6313 0 2 0x4000 1 nbmake wait 736 22802 6313 0 2 0x4000 1 sh wait 19226 372 372 12 2 0x4100 1 pickup kqueue 22802 11345 6313 0 2 0x4000 1 nbmake wait 11345 23275 6313 0 2 0x4000 1 sh wait 23275 4119 6313 0 2 0x4000 1 nbmake wait
 4119         11325     6313          0 2  0x4000         sh    wait
11325 6313 6313 0 2 0x4000 1 nbmake wait 20726 406 20726 0 2 0x4000 1 tail kqueue 6313 406 6313 0 2 0x4000 1 sh wait
 20053          441    20053       2026 2  0x4100    1           systat
441 370 441 2026 2 0x4000 1 tcsh pause 370 461 461 2026 2 0x100 1 sshd select 461 264 461 0 2 0x4101 1 sshd netio 406 408 406 0 2 0x4000 1 tcsh pause 408 398 408 2026 2 0x4000 1 tcsh pause
 398            393      393       2026 2   0x100    1             sshd
393 264 393 0 2 0x4101 1 sshd netio 349 372 372 12 2 0x4100 1 qmgr kqueue
 390              1      390          0 2  0x4000    1            getty
394 1 394 0 2 0 1 cron nanoslp 379 1 379 0 2 0 1 inetd kqueue 372 1 372 0 2 0x4100 1 master kqueue 264 1 264 0 2 0 1 sshd select
 250              1      250          0 2       0    1            rwhod
 240              1      240          0 2       0    1             ntpd
 147              1      147          0 2       0    1           ypbind
139 1 139 0 2 0 1 rpcbind select 71 1 71 0 2 0 1 syslogd kqueue 1 0 1 0 2 0x4001 1 init wait
 0    -1        0          0 2 0x20002   21           system       *
db>

        Johnny


Home | Main Index | Thread Index | Old Index