Subject: Instability on recent kernels?
To: None <port-mips@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: port-mips
Date: 06/01/2003 07:56:15
Folks...

I'm experiencing some instability on recent sgimips kernels, and the 
problem seems to be in generic MIPS code.

I'm getting traps with a panic/traceback like the following while 
building the NetBSD source tree (src and objects on NFS).

sq0: receive FIFO overflow
panic: lockmgr: no context
Stopped at      netbsd:cpu_Debugger+0x4:        jr      ra
                 bdslot: nop
db> trace
cpu_Debugger+4 (97fff000,7d,0,0) ra 881780e4 sz 0
panic+128 (8823b81c,7d,0,0) ra 88159764 sz 40
lockmgr+d4 (8823b81c,7d,0,0) ra 881ccc70 sz 80
uvm_fault+b8 (88260a60,c4018000,0,1) ra 881e7634 sz 296
trap+700 (2,c4018000,0,1) ra 881e12e8 sz 72
mips3_exceptionEnd+e4 (2,c4018000,0,1) ra 0 sz 0
User-level: curlwp NULL
db> ps
  PID           PPID     PGRP        UID S   FLAGS LWPS          COMMAND 
    WAIT
  6767         11554     1546          0 2  0x4002    1 mipseb--netbsd-l 
uvn_fp2
  11554        22010     1546          0 2  0x4002    1           nbmake 
    wait
  22010        20605     1546          0 2  0x4002    1               sh 
    wait
  20605         8088     1546          0 2  0x4002    1           nbmake 
    wait
  8088         14837     1546          0 2  0x4002    1               sh 
    wait
  14837        18588     1546          0 2  0x4002    1           nbmake 
    wait
  18588         4589     1546          0 2  0x4002    1               sh 
    wait
  4589         27162     1546          0 2  0x4002    1           nbmake 
    wait
  27162        18876     1546          0 2  0x4002    1               sh 
    wait
  18876         1546     1546          0 2  0x4002    1           nbmake 
    wait
  1546           496     1546          0 2  0x4002    1               sh 
    wait
  496            527      496       2158 2  0x4002    1              ksh 
   pause
  527            462      462       2158 2   0x100    1             sshd 
  select
  462            426      462          0 2   0x101    1             sshd 
   netio
  488              1      488          0 2  0x4002    1            getty 
   ttyin
  505              1      505          0 2       0    1             cron 
nanosle
  461              1      461          0 2       0    1            inetd 
  select
  426              1      426          0 2       0    1             sshd 
  select
  383              1      383          0 2       0    1           rtsold 
  select
  371              1      371          0 2       0    1             ntpd 
   pause
  277              1      277          0 2       0    1        rpc.lockd 
  select
  248              1      248          0 2       0    1        rpc.statd 
  select
  221              0        0          0 2 0x20200    1            nfsio 
nfsrcvl
  222              0        0          0 2 0x20200    1            nfsio 
nfsrcvl
  219              0        0          0 2 0x20200    1            nfsio 
nfsrcvl
  214              0        0          0 2 0x20200    1            nfsio 
   netio
  209              1      209          0 2       0    1              amd 
  select
  183              1      183          0 2       0    1        mount_mfs 
  mfsidl
  139              1      139          0 2       0    1           ypbind 
  select
  172              1      172          0 2       0    1          rpcbind 
  select
  148              1      148          0 2       0    1          syslogd 
  select
  7                0        0          0 2 0x20200    1         aiodoned 
aiodone
  6                0        0          0 2 0x20200    1          ioflush 
  syncer
  5                0        0          0 2 0x20200    1           reaper 
  reaper
  4                0        0          0 2 0x20200    1       pagedaemon 
pgdaemo
  3                0        0          0 2 0x20200    1         scsibus1 
  sccomp
  2                0        0          0 2 0x20200    1         scsibus0 
  sccomp
  1                0        1          0 2  0x4000    1             init 
    wait
  0               -1        0          0 2 0x20200    1          swapper 
schedul
db>

Is anyone else observing this?  It's happened to me 3 times now.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>