Date: Mon, 01 Apr 96 13:53:35 PST From: "Brett Glass" <Brett_Glass@ccgate.infoworld.com> To: Bruce Evans <bde@zeta.org.au>, freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Hacked kernel with option to disable "green" mode Message-ID: <9603018283.AA828393033@ccgate.infoworld.com>
next in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9603018283.AA828393033>