Subject: Re: powerhooks and SCSI disks
To: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 12/16/2005 13:13:06
--Signature_Fri__16_Dec_2005_13_13_06_-0500_edRNmM_ChXKHwt4M
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > I'm currently looking for ways to improve power management on
> > SPARCbooks, mainly adding things like some sort of standby mode,
> > turning off unused peripherals and so on. We can for instance turn
> > off power for the internl SCSI disk ( in case a drive wouldn't
> > honour a motor stop command ) So, I have a few questions:
> > - are there any objections against adding a power hook to sd so it
> > would
> >   flush the drive's cache before we're going to remove power?
> > - is there anything to do after turning the drive back on to resume
> >   operation?=20
>=20
> Please look at PR#31981.

I see. Could that be drive- or controller-specific? I used to spin down
drives like that on various sparc(64) boxes without ever getting any
kind of problem, they just spun up again when needed. Controllers in
question were esp and esiop, drives were various Seagate Barracudas ( 4,
9 and 50GB models ) and a Toshiba 2.5" drive behind a SCSI-IDE bridge.

have fun
Michael

--Signature_Fri__16_Dec_2005_13_13_06_-0500_edRNmM_ChXKHwt4M
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ6MDsspnzkX8Yg2nAQId3Qf+PiM2xbGFHZCiZnZZVeKqg0JZHCoILIpI
muE4tEeFv0YL/ycxzWxWxDcLCT3T9JVXkOMD7O+IfdZQabmvKNb7QjFKzLpzK7xJ
VeY5g/7abZmyuuUf4JDA6cYt7gRPAvY8momB9E1LigOs+QVcDFhKFfIjgivv+DYl
WH/i7AAAg8Ofpjd6eiSnMni9xpfQDvmVzRyyehq4eveJnD3GrseH1xiLVVyMN+xj
NrbePfngB5v5X7/eViAWArvSGYr9/INAaJbIq5+lRFcOaiHKre3yBTAf6vDZ3enF
1awt+Pco0kROrTzDzfYnwTsweqYDpEzAyKmicsNo5hhTASVjZc20fQ==
=G8HN
-----END PGP SIGNATURE-----

--Signature_Fri__16_Dec_2005_13_13_06_-0500_edRNmM_ChXKHwt4M--