Date: Sat, 12 Jul 1997 11:50:05 -0700 (PDT) From: Simon Shapiro <Shimon@i-Connect.Net> To: dg@root.com Cc: filo@yahoo.com, freebsd-SCSI@FreeBSD.ORG Subject: Re: problems with reboot Message-ID: <XFMail.970712115005.Shimon@i-Connect.Net> In-Reply-To: <199707121113.EAA15976@implode.root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi David Greenman; On 12-Jul-97 you wrote: > >There is an issue with FreeBSD shutdown not waiting for the DPt to flush > >caches as it should. > > Should be easy to fix by adding a shutdown routine to the driver that > waits > for the flushes to complete. I have not checked the code in this area, but all that I think is necessary is for the umount(2) syscall to wait and block shutdown until it returns. Under normal operation, it generates the SCSI ``ALLOW MEDIA REMOVAL'', which the DPT blocks until it is done flushing and invalidating. I personally never have this problem on any of our machines, but... BTW, on early UnixWare, the /sbin/reboot was actually a call to another prgram that took somemysterious arguments (foobar 1 2), which given incorrectly, would cause Unix to execute a halt, without any synching and thus produce similar results. Can /sbin/reboot do saomething similar? Simon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.970712115005.Shimon>