From owner-freebsd-hardware Tue Apr 2 13:47:15 1996 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA29259 for hardware-outgoing; Tue, 2 Apr 1996 13:47:15 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA29248 Tue, 2 Apr 1996 13:47:11 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA17274; Tue, 2 Apr 1996 14:41:09 -0700 From: Terry Lambert Message-Id: <199604022141.OAA17274@phaeton.artisoft.com> Subject: Re: Hacked kernel with option to disable "green" mode To: Brett_Glass@ccgate.infoworld.com (Brett Glass) Date: Tue, 2 Apr 1996 14:41:09 -0700 (MST) Cc: terry@lambert.org, bde@zeta.org.au, freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org In-Reply-To: <9603028284.AA828478763@ccgate.infoworld.com> from "Brett Glass" at Apr 2, 96 01:53:41 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hardware@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > It should be a standalone command using the wdcontrol() > > interface > > This would prevent any user with a disk like the ST5660A from being able to > install FreeBSD. Inactivity timeouts need to be turned off early, before > the drive can spin down. A kernel config option can do this, but a user > command might be executed too late (and wouldn't be executed during an > install). It could be executed by the user early on. But it probably wouldn't be. We aren't talking about "fixing" the problem, we're talking about providing an option. It just so happens that the option is a kludge fix for some systems. Actually "fixing" the problem requires making the driver aware of drive spin downs and making it deal with it transparently instead of screwing up by passing an error to higher level code. Disabling the spindown is not what I'd call "making the code 'green aware'"... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.