Subject: panic on ss5
To: None <port-sparc@mail.netbsd.org>
From: None <ks@ub.uni-mainz.de>
List: port-sparc
Date: 08/14/2000 16:11:10
hi,

got the following panic on my ss5 running a kernel compiled form
anoncvs current-sources cvs'ed last night around 2:14 MET. (userland
compiled on Aug. 3) The system was doing a "make UPDATE=1 build" w/
sources nfs-mounted from an E450 running Solaris2.6 (called
bambam). On top of this nfs-mount /usr/src is union-mounted, on top of
this /usr/lsrc - somethind like: 

bambam:/BSD             /BSD    nfs     rw,bg,intr      0 0
/BSD/NetBSD/NetBSD-current/src /usr/src union   ro,noauto       0 0
/usr/lsrc               /usr/src        union   rw,noauto       0 0

hm, the union-mount of /usr/src should probably be a null-mount?!

Maybe this is not the most resonable way of doing things, it should
not panic the machine. At least I think so... ;-)

Before I forget:
    - The kernel has softdep compiled in, but the it's not used yet.  
    - /usr, /usr/src, /usr/lsrc and /usr/obj are all on the same partition.
    - The ss5 has 128MB ram

Any ideas anyone? Perhaps a bad SIMM???

    -kurt


panic: amap_wipeout: corrupt amap
Stopped in cc1 at       cpu_Debugger+0x4:       jmpl            [%o7 + 0x8], %g0

db> b
db> t
amap_wipeout(0xf4e69788, 0x32, 0x43af3, 0x75, 0x0, 0xf4efd000) at amap_wipeout+0
x50
amap_unref(0xf4fecdd0, 0x0, 0xf4efdfd8, 0xf3, 0xf4fe6248, 0xf4fe6270) at amap_un
ref+0x18
uvm_unmap_detach(0xf4fecdd0, 0x0, 0x0, 0xf5011d6c, 0x0, 0xf4d2e000) at uvm_unmap
_detach+0x48
uvm_unmap(0xf4fe6248, 0x0, 0xf0000000, 0x331, 0x15, 0x81c06000) at uvm_unmap+0xe
0
uvm_deallocate(0xf4fe6248, 0x0, 0xf0000000, 0x0, 0x4006, 0x81c06000) at uvm_deal
locate+0x3c
exit1(0xf4fe0018, 0xf4fe6248, 0xefffef2c, 0x102a8d3c, 0x1, 0x81c06000) at exit1+
0x11c
sys_exit(0xf4fe0018, 0xf5011f28, 0xf5011f20, 0xf00302c8, 0x1, 0x1f8800) at sys_e
xit+0xc
syscall(0x1, 0xf5011fb0, 0x0, 0x14, 0x1b47cd, 0x102b4b90) at syscall+0x1e8
_syscall(0x0, 0x10289c74, 0x1b47d0, 0x1b5550, 0x204c00, 0x1f8c00) at _syscall+0x
b8
db> sync
syncing disks... 15 14 12 2 done
Frame pointer is at 0xf5011698
Call traceback:
  pc = 0xf0119568  args = (0xf4fecdd0, 0x0, 0xf4efdfd8, 0xf3, 0xf4fe6248, 0xf4fe6270, 0xf5011ca0) fp = 0xf5011ca0
  pc = 0xf011851c  args = (0xf4fecdd0, 0x0, 0x0, 0xf5011d6c, 0x0, 0xf4d2e000, 0xf5011d08) fp = 0xf5011d08
  pc = 0xf0123e5c  args = (0xf4fe6248, 0x0, 0xf0000000, 0x331, 0x15, 0x81c06000, 0xf5011d78) fp = 0xf5011d78
  pc = 0xf0030400  args = (0xf4fe6248, 0x0, 0xf0000000, 0x0, 0x4006, 0x81c06000, 0xf5011de0) fp = 0xf5011de0
  pc = 0xf00302d4  args = (0xf4fe0018, 0xf4fe6248, 0xefffef2c, 0x102a8d3c, 0x1, 0x81c06000, 0xf5011e58) fp = 0xf5011e58
  pc = 0xf0157478  args = (0xf4fe0018, 0xf5011f28, 0xf5011f20, 0xf00302c8, 0x1, 0x1f8800, 0xf5011ec0) fp = 0xf5011ec0
  pc = 0xf00064ec  args = (0x1, 0xf5011fb0, 0x0, 0x14, 0x1b47cd, 0x102b4b90, 0xf5011f50) fp = 0xf5011f50
  pc = 0x10276328  args = (0x0, 0x10289c74, 0x1b47d0, 0x1b5550, 0x204c00, 0x1f8c00, 0xefffefe8) fp = 0xefffefe8