Subject: port-next68k/7174: warm reboot fails on next68k
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dbj@netbsd.org>
List: netbsd-bugs
Date: 03/16/1999 22:53:19
>Number:         7174
>Category:       port-next68k
>Synopsis:       warm reboot fails on next68k
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-next68k-maintainer (NetBSD/next68k Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 16 20:05:00 1999
>Last-Modified:
>Originator:     Darrin B. Jewell
>Organization:
	
>Release:        -current, last updated via cvs ~19990316T1929Z
>Environment:
NetBSD 1.3K (GENERIC) #261: Sun Mar 14 05:32:41 EST 1999
    dbj@dbj.ne.mediaone.net:/usr/incoming/cvs.netbsd.org/src/sys/arch/next68k/compile/GENERIC

>Description:
        when rebooting netbsd without powering down, it does not successfully
reboot.  This occurs when doing a "reboot -r" for example.
It also occurs if I use "reboot -h" to get to the rom monitor and then
try to boot netbsd again.  If I do "reboot -h" and then boot and shutdown
nextstep, netbsd will then boot once again.

Something isn't getting initialized cleanly, I suspect.

>How-To-Repeat:
	
# shutdown -r now                      
Shutdown NOW!
shutdown: [pid 135]
#                                                                                
*** FINAL System shutdown message from root@mourning ***                     
System going down IMMEDIATELY                                                  
                                                                               
                                                                               
Mar 16 22:39:33 shutdown: reboot by root: 

System shutdown time has arrived

About to run shutdown hooks...

Done running shutdown hooks.
syncing disks... done
unmounting /usr/distfiles (rocinante:/usr/distfiles)...
unmounting /usr/pkgsrc (rocinante:/usr/incoming/cvs.netbsd.org/pkgsrc)...
unmounting /usr/src (rocinante:/usr/incoming/cvs.netbsd.org/src)...
unmounting /home (rocinante:/home)...
unmounting /swap (rocinante:/usr/export/swap/mourning)...
unmounting / (dbj.ne.mediaone.net:/usr/export/root/mourning)...
uvm_vnp_terminate(0xa9c138): terminating active vnode (refs=2)
uvm_vnp_terminate(0xa6e30c): terminating active vnode (refs=2)
xe0: stop not implemented
rebooting...
[ preserving 255180 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3K (GENERIC) #261: Sun Mar 14 05:32:41 EST 1999
    dbj@dbj.ne.mediaone.net:/usr/incoming/cvs.netbsd.org/src/sys/arch/next68k/compile/GENERIC
NeXT/MC68040 CPU+MMU+FPU, 4k on-chip physical I/D caches
real mem  = 33546240
panic: pmap_enter_ptpage: PT page not entered
Stopped in  at  _Debugger+0x6:  unlk    a6
db> t
_Debugger(30,2704,325000,183300,18eeec) + 6
_panic(e23e3,1000,1,1000000,4367000) + 52
_pmap_enter_ptpage(140d84,1000000) + 506
_pmap_enter(140d84,1000000,4367000,7,1) + ba
_cpu_startup(1c0f0,1105a0,4001000,d0,0) + 14e
_main(4183000,4000000,1,140f48,1000) + 54
db> 

>Fix:
	

>Audit-Trail:
>Unformatted: