Subject: 'make includes' crash, was Re: Undefined symbol "SYS_setreuid"
To: None <current-users@NetBSD.ORG>
From: Hauke Fath <hauke@espresso.rhein-neckar.de>
List: current-users
Date: 11/03/1996 18:55:41
> > On Fri, 1 Nov 1996, Hauke Fath wrote:
> 'make includes' from /usr/src always crashes with a unionfs kernel panic
> somewhere in usr.bin, 

This is it:

===> usr.bin/basename
===> usr.bin/bdes
===> usr.bin/biff
===> usr.bin/cal
===> usr.bin/calendar
===> usr.bin/cap_mkdb
===> usr.bin/checknr
===> usr.bin/chflags
vm_fault(d3000, 60002000, 1, 0) -> 1
  type 8, code [mmu,,ssw]: 401074d
trap type 8, code = 401074d, v= 60002dfe
kernel: MMU fault trap
pid = 795, pc = 0x00029c76, ps = 0x00002000, sfc = 0x00000001, dfc =
0x00000001
Registers:
             0        1        2        3        4        5        6
7
dreg: 00000000 00000001 00000008 007a6700 00000019 007bd200 0000f639
007a6900
areg: 60002dfe 00000000 00774680 00774680 009b9ef8 007d7c00 009b9c1c
ffffb3b8

Kernel stack (009b9b68):
009b9b68: 60002dfe  00000000  00000001  00000008  007a6700  00000019
007bd200
0000f639
009b9b88: 007a6900  60002dfe  00000000  00774680  00774680  009b9ef8
007d7c00
009b9c1c
009b9ba8: ffffb3b8  00000000  20000002  9c76b008  0eea074d  661220a9
60002dfe
60002dfe
009b9bc8: 00000003  b7d0b7d0  00029c7c  00029c7a  00029c78  00000000
6612ff0b
000ff3c6
panic: MMU fault
Stopped at      _Debugger+0x6:  unlk    a6
db> t
_Debugger(16c28,89783,9b9b2c,8,9b9b58) + 6
_panic(89783,8,7a6700,19,7bd200) + 34
_trap(8,401074d,60002dfe) + 1c0
_addrerr(?)
_vgone(774680) + a6
_getnewvnode(f,7d7c00,76e800,9b9ef8) + cc
_union_allocvp(9b9ef8,7d7c00,7a6880,7a6900,9b9f0c,7bd200,7a6700,1) + 2b0
_union_lookup(9b9d88) + 3b4
_lookup(9b9ee8) + 22a
_namei(9b9ee8) + 16c
_vn_open(9b9ee8,5,dc0) + 162
_sys_open(7bcc00,9b9f88,9b9f80) + 72
_syscall(5) + 10a
_trap0() + e
db>

As mentioned, this happens after a 'make build' or a 'make includes' and
always somewhere in usr.bin. It does not happen when I manually cd to
each dir and do a 'make includes' there.

A 230MB MO is mounted on /usr/src, /var/obj is union-mounted on top;
arch is mac68k.
Does this ring a bell for anyone? Should I send-pr?

        hauke


-- 
"It's never straight up and down"  (DEVO)