Subject: kern/21755: init dies after pmap_change_attrs: unmanaged page?
To: None <>
From: dieter <>
List: netbsd-bugs
Date: 06/01/2003 23:51:11
>Number:         21755
>Category:       kern
>Synopsis:       init dies after pmap_change_attrs: unmanaged page?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 01 21:52:00 UTC 2003
>Originator:     dieter
>Release:        NetBSD 1.6T (src from about 2 days ago)

System: NetBSD okuma 1.6T NetBSD 1.6T (OKUMA) #8: Sat May 31 13:46:57 CEST 2003 root@okuma:/usr/src/sys/arch/i386/compile/OKUMA i386
Architecture: i386
Machine: i386

OKUMA is GENERIC_LAPTOP with unnecessary drivers removed and following added:
options         MSGBUFSIZE=16384
options         MAXFILES=1024
options         NEW_BUFQ_STRATEGY
pseudo-device   ksyms

and for the first time also:
options         USE_TOPDOWN_VM


I don't know if all of the following events had anything to do with
the crash but they all happened in a short timespan:

- Xmms dies with:
Error detected, file "/usr/src/lib/libpthread/pthread_mutex.c", line 312, function "pthread_mutex_unlock": Invalid mutex.

- on  my console I see:
/netbsd: pmap_change_attrs: unmanaged page?

- wondering if this has anything to do with the xmms crash I try
to page /var/log messages but less seems to hang. I switch back to
console where I see a 2nd unmanaged page error. (21:16:35)

- init: fatal signal: Illegal instruction (21:17:01)
(+ another "unmanaged page?" on the console)

- Then what I already expected; a panic
panic: init died (signal 0, exit 4)
Stopped in pid 1.1 (init) at    netbsd:cpu_debugger+0x4:         leave
db> trace /l
cpu_Debugger(d36a0000,d3696f80,d3696f78,1,100) at netbsd:cpu_Debugger+0x4
panic(c02aa320,0,4,c01c5049,d36a0000) at netbsd:panic+0xb8
exit1(d36a0000,0,0,0,d36a0000) at netbsd:exit1+0x3b
sys_exit(d36a0000,d3696f80,d3696f78,c0229f63,4) at netbsd:sys_exit+0x32
syscall_plain(2b,2b,2b,2b,0) at netbsd:syscall_plain+0xab
db> sync
syncing disks... pmap_change_attrs: unmanaged page?
(some message about not being able to make a crash dump, sorry)
14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14


I don't know but if there is a next time, I'd like to know which
commands I should give to ddb to send more useful reports. :)