Subject: Re: Rebooting woes again
To: None <tech-kern@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-kern
Date: 03/15/2000 23:33:19
On Wed Mar 15 23:22:49 2000, Lennart Augustsson wrote:
> 
> *sigh* I'm trying to debug some USB stuff in the kernel and I have to
> reboot every few minutes.  Rebooting seems to be as unreliable as
> it has ever been.  About every other reboot fails because it can't
> sync all the buffers.  Wasn't there some debugging flags you could
> turn on to help track down this problem?

A workaround would be to change /etc/rc.d/mountall.

Replace the

stop_cmd=":"

with:

stop_cmd="echo 'Unmounting all filesystems...'; umount -a"

That helped a lot on my systems.

And also run the shutdown command while you are in the / filesystem.

Bernd