Subject: Re: root on raid0 problems
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Simon Burge <simonb@netbsd.org>
List: current-users
Date: 04/07/2000 06:10:10
Manuel Bouyer wrote:

> Hi again,
> so I have this alpha set up with root on raid0. After a multiuser boot,
> a shutdown will give:
> ds20\:/root\#halt
> Apr  6 18:17:31 ds20 halt: halted by root
> Apr  6 18:17:31 ds20 halt: halted by root
> Apr  6 18:17:31 ds20 syslogd: exiting on signal 15
> Apr  6 18:17:31 ds20 syslogd: exiting on signal 15
> syncing disks... 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 giving up
> halted.
> 
> Any idea ?

Try

	options DEBUG_HALT_BUSY

and you'll get a dump of busy buffers (and drop onto DDB on very recent
-current).  I've seen this a lot where an mfs is used on /tmp.  Someone
(sorry, forgot who) suggested adding

	umount -f /tmp
	echo 'Unmounting all filesystems...'; umount -a

to /etc/rc.shutdown.local (on a pre rc.d box) and making sure you run
shutdown from the root directory - doing things this way has stopped
problems for me.

Simon.