From owner-freebsd-hackers Mon Apr 1 13:11:47 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA29184 for hackers-outgoing; Mon, 1 Apr 1996 13:11:47 -0800 (PST) Received: from lserver.infoworld.com (lserver.infoworld.com [192.216.48.4]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA29129 Mon, 1 Apr 1996 13:11:37 -0800 (PST) Received: from ccgate.infoworld.com by lserver.infoworld.com with smtp (Smail3.1.29.1 #12) id m0u3rEx-000wuBC; Mon, 1 Apr 96 13:34 PST Received: from cc:Mail by ccgate.infoworld.com id AA828393033; Mon, 01 Apr 96 13:53:35 PST Date: Mon, 01 Apr 96 13:53:35 PST From: "Brett Glass" Message-Id: <9603018283.AA828393033@ccgate.infoworld.com> To: Bruce Evans , freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Hacked kernel with option to disable "green" mode Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > wdunwedge() might fail because TIMEOUT is too short. It should be at > least 31000000 (31 seconds). Based on Michael's account of what's in the ATA spec (i.e. that the drive can take 30 seconds to come ready), this is correct. But it shouldn't wait the whole 31 seconds always, as the current code would do. It should check again and again and GIVE UP after 31 seconds (or slightly more). Of course, pausing 30 seconds in the kernel could be catastrophic for some applications, so implementing some of those proprietary commands is still useful. The modification I sent in covers Seagate's. --Brett