From owner-freebsd-questions Thu Oct 22 01:45:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA11236 for freebsd-questions-outgoing; Thu, 22 Oct 1998 01:45:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from babylon.wsc.monash.edu.au (babylon.wsc.monash.edu.au [130.194.166.91]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA11226 for ; Thu, 22 Oct 1998 01:45:12 -0700 (PDT) (envelope-from graeme@babylon.wsc.monash.edu.au) Received: from localhost (graeme@localhost) by babylon.wsc.monash.edu.au (8.8.8/8.8.8) with SMTP id SAA23741 for ; Thu, 22 Oct 1998 18:44:29 +1000 Date: Thu, 22 Oct 1998 18:44:29 +1000 (EST) From: Graeme Cross Reply-To: Graeme.Cross@sci.monash.edu.au To: questions@FreeBSD.ORG Subject: IDE hard drive spin-down problem In-Reply-To: <362FBDC3.6729CEE5@pc.jaring.my> Message-ID: X-Attribution: gjc X-PGP-Key-ID: 702DB549 X-URL: http://www.wsc.monash.edu.au/~graeme/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a system with two IDE drives, where the second drive spins down after 10 or so minutes of computer idle-time. It is very annoying because the system will lock up while it waits for the second drive to spin back up, which can take a couple of seconds. (There is also the issue of additional wear and tear on the drive as it spins up and down.) These are the drives, as shown by dmesg: wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 1549MB (3173184 sectors), 3148 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 515MB (1056384 sectors), 1048 cyls, 16 heads, 63 S/T, 512 B/S I also see these messages in /var/log/messages: Oct 3 21:17:09 guava /kernel: wd1: interrupt timeout: Oct 3 21:17:09 guava /kernel: wd1: status 50 error 1 Which I assume is the kernel complaining that it couldn't read from the drive, because it was in the process of spinning back up. I am running FreeBSD 2.2.7. I have power management at the BIOS level turned off, and the first drive does not ever spin down. I also have APM support turned off in /etc/rc.conf. Is there a way that I can force the drive to not spin down? I suppose I am looking for a tool like Linux's hdparm? A search of the mailing list archives didn't yield any solutions. Thanks in advance, Graeme -- Graeme Cross -- Water Studies Centre, Monash University Random thought #99 (Collect all 237) The gene pool could use a little chlorine. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message