Port-vax archive

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

Re: Reproducable kernel crash



I have to apologize.  I have come to enjoy the cross-building process
so much that I uncommented the DIAGNOSTIC in the GENERIC kernel and rebuilt
an ISO, assuming that the kernel config file was also a dependency.  I guess
that is not the case, or at least did not work for me as expected.

I tried again on SIMH, this time building a new kernel overnight with
the DIAGNOSTIC flag.  I could finally reproduce the panic this morning.

vax# sysctl -w ddb.onpanic=1
ddb.onpanic: 0 -> 1

vax# cd /usr/tests/lib/libc/sys && atf-run t_lwp_create
Content-Type: application/X-atf-tps; version="3"

info: atf.version, Automated Testing Framework 0.20 (atf-0.20)
info: tests.root, /usr/tests/lib/libc/sys
info: time.start, Wed Feb 28 00:52:40 EST 2024
info: uname.sysname, NetBSD
info: uname.nodename, vax
info: uname.release, 10.99.10
info: uname.version, NetBSD 10.99.10 (GENERIC) #0: Tue Feb 27 21:43:23 EST 2024 root@vax:/usr/src/sys/arch/vax/compile/GENERIC
info: uname.machine, vax
info: env, ENV=/root/.shrc
info: env, BLOCKSIZE=1k
info: env, PWD=/usr/tests/lib/libc/sys
info: env, HOME=/root
info: env, PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/games:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin
info: env, HOST=vax
info: env, TERM=unknown
info: env, OLDPWD=/root
info: env, USER=root
info: env, LOGNAME=root
info: env, SHELL=/bin/sh
tps-count: 1
tp-start: 1709099561.306364, t_lwp_create, 6
tc-start: 1709099561.306364, lwp_create_bad_lid_ptr
[ 160.7163829] panic: pmap_destroy used pmap
[ 160.7163829] cpu0: Begin traceback...
[ 160.7163829] panic: pmap_destroy used pmap
[ 160.7163829] Stack traceback : 
[ 160.7163829]   Process is executing in user space.
[ 160.7163829] cpu0: End traceback...
Stopped in pid 360.360 (t_lwp_create) at        netbsd:vpanic+0x179:    pushl   
$0
db> bt
panic: pmap_destroy used pmap
Stack traceback :
0x8b87dd40: vpanic+0x179(0x8034901d,0x8b87ddd8)
0x8b87dd60: printf_nostamp+0x0(0x8034901d)
0x8b87dd8c: pmap_kenter_pa+0x0(0x8753b640)
0x8b87dddc: uvmspace_free+0x73(0x8582a100)
0x8b87de04: uvm_proc_exit+0x53(0x87ea1cb4)
0x8b87de28: exit1+0x15b(0x87b540c0,0,0)
0x8b87ded8: sys_exit+0x31(0x87b540c0,0x8b87df54,0x8b87df4c)
0x8b87df18: syscall+0x126(0x8b87dfb4)
db> 


Home | Main Index | Thread Index | Old Index