tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



On Thu, Feb 21, 2008 at 11:19:15AM -0600, David Young wrote:
> I happen to agree that suspending devices at shutdown is wrong.  Joerg and
> I had some productive discussions on the topic over on tech-kern@, and I
> have been testing code in the mean time that detaches devices at shutdown,
> instead of suspending them.

Some of them have to be suspended on some cases. E.g. hard disks:
you don't want to spin them down on reboot or shutdown -h (because
this will most likely ends up in a gratuicious spin down/up cycle),
but you do want to spin them down on shutdown -p, because some hardware
(some models of powerboot at last, there was a PR about this) don't
properly stop the drive before removing power otherwise.

Maybe the current hack is good enough for them.

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index