From owner-freebsd-mobile@FreeBSD.ORG Thu Nov 6 13:49:34 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54E7D16A4CE for ; Thu, 6 Nov 2003 13:49:34 -0800 (PST) Received: from postal1.es.net (proxy.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 634EC44008 for ; Thu, 6 Nov 2003 13:49:33 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id MUA74016; Thu, 06 Nov 2003 13:49:32 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id E90685D07; Thu, 6 Nov 2003 13:49:31 -0800 (PST) To: Nate Clark In-Reply-To: Message from Nate Clark Date: Thu, 06 Nov 2003 13:49:31 -0800 From: "Kevin Oberman" Message-Id: <20031106214931.E90685D07@ptavv.es.net> cc: freebsd-mobile@freebsd.org Subject: Re: Laptop hard drive spindown timeout X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 21:49:34 -0000 > Date: Thu, 6 Nov 2003 13:40:53 -0800 (PST) > From: Nate Clark > Sender: owner-freebsd-mobile@freebsd.org > > I'm surprised at how well 5.1-RELEASE is working on my IBM > Thinkpad 600X, with the exception of one annoying problem. When I'm > running from batteries, the hard drive spins down every second or so. Of > course this is usually followed by some disk activity requiring it to spin > up again. So my drive is in a constant state of spin down/spin up. All > I can think of is how much this is shortening the life of my drive. This > doesn't happen when on the AC adaptor. Needless to say, I never run on > batteries, which kinda defeats the purpose of having a laptop. > I'm not using APM or ACPI, although my troubleshooting with these enabled > has had no effect so far. Any ideas about how to fix this? I don't mind > doing a little kernel or device driver hacking if need be. Actually, I'd > enjoy it, just don't know where to begin. Take a look at your BIOS configuration. The disk spin-down timer is configurable by power profile, but I am uncertain which profile is used when neither ACPI nor APM is in use. Use the ps2 DOS utility to examine and adjust the parameters. The ThinkPad Configuration utility will not normally make changes that are preserved so they work on BSD. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634