Subject: Re: reboot problem
To: Wayne Berke <berke@panix.com>
From: Mark Tamola <masarap@u.washington.edu>
List: port-i386
Date: 01/25/1996 18:26:29
hi all,

i had this problem before and it has also been answered before as well.  
here is the letter i got a while back that i found in the archives:

--begin message

>From garyh@wet.sbi.com Thu Jan 25 18:20:20 1996
Date: Thu, 7 Dec 95 17:09:21 GMT
From: Gary Henderson <garyh@wet.sbi.com>
To: masarap@u.washington.edu
Subject: Re: can't automatically reboot in netbsd 1.1...

>
>for some reason, i can't automatically reboot my computer.  it just hangs 
>after printing out "rebooting..." and it just sits there indefinitely, 
>forcing me to hard reset.
>
>i have experienced this ever since running an early summer version of 
>-current, and it has continued into the release version of 1.1.  i asked 
>this question way back when, but never could try any suggestions as i had 
>to take netbsd off the system for other reasons.  i remember reading 
>about it being caused for some people due to not unmounting an mfs, but i 
>don't use any mfs filesystems.
>
>anyone else still experiencing this and have suggestions?
>

Yes. The cpu_reset routine in in the kernel in the file
/usr/src/sys/arch/i386/i386/machdep.c tries 3 different ways to cause the
computer to reboot; the first - toggling the keyboard reset line - causes my
portable 486 machine to hang just like yours.

I commented out the toggling of the keyboard reset line and the other reset
method and went for the unmapping of the entire address space which resets my
machine every time.

Sorry I can't be more detailed but I don't have my computer with me at the
moment.

If you want details, send me some e-mail and I'll send you diffs tomorrow.

Gary.

--end message

like gary, i had to comment out the first routine as well.  try to see 
what you have to do for yours.

-264