Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 1997 01:36:18 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        scsi@FreeBSD.ORG
Subject:   Re: Trouble with dump on ncr
Message-ID:  <19971012013618.36452@hydrogen.nike.efn.org>
In-Reply-To: <19971012094515.RT52487@uriah.heep.sax.de>; from J Wunsch on Sun, Oct 12, 1997 at 09:45:15AM %2B0200
References:  <19971011091605.32335@mi.uni-koeln.de> <199710120615.AAA18578@pluto.plutotech.com> <19971012094515.RT52487@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch scribbled this message on Oct 12:
> As Kenneth Merry wrote:
> 
> > 	FWIW, that's what the new CAM SCSI code does.  The da (i.e. sd)
> > driver does a read capacity upon open.  If the read capacity returns with
> > 0x04, 0x02 ("Logical unit not ready, initializing cmd. required"), the error
> > recovery code issues a start unit command to the drive.
> 
> Hmm, why doing it at open time?  Quite a number of people have been
> asking for a disk auto-spindown in the past (for filesystems that are
> seldom used).  I'm using a crock of an auto-spindown in the od driver
> (the device is spun down at close time, and spun up at open time), but
> i think the more generic solution would be to trigger the spindown by
> a period of disc inactivity.  Then, simply try the next command, and
> if the drive is not ready, attempt to start it, and retry.

actually.. I'm about to get the CAM scsi code up and running on a test
box of mine (ahc2842 w/ an IBM WDS-3200      !J S560)... and would VERY
much like to have this hd auto spin down... right now it's open air and
is quite loud...

hmm... would a simple timeout that is rescheduled upon no remaining
commands outstanding for the drive work?  (I haven't looked at the
CAM scsi code yet, so I don't know how this would work exactly)

-- 
  John-Mark Gurney                          Modem/FAX: +1 541 683 6954
  Cu Networking

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971012013618.36452>