Subject: cpu_reboot
To: None <port-i386@netbsd.org>
From: Mark Randelhoff <markr@cat.co.za>
List: port-i386
Date: 02/14/2000 10:30:21
Hi all,

I am trying to correctly reboot a system from within 
the kernel, after a watchdog fails. 

The watchdog code is implemented with the 
timeout((void*)function name,context,time) 
which recursively calls the watchdog function. When 
the watchdog times out, the timer is not reenabled 
and the cpu_reboot function is called. 

The results are as follows:
Syncing disks ... 1 1 done
Vfs unmountall : no context aborting
Kernel page fault trap, code = 0
Stopped at _tsleep +0x80

I would appreciate it if anyone could offer advice as 
to how I should implement this.

Kind regards
Mark