Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Nov 1998 18:39:07 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Michael Robinson <robinson@public.bta.net.cn>
Cc:        perl@netmug.org, tom@uniserve.com, stable@FreeBSD.ORG
Subject:   Re: has this been fixed? 
Message-ID:  <199811040239.SAA01502@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 04 Nov 1998 10:34:52 %2B0800." <199811040234.KAA24822@public.bta.net.cn> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Tom <tom@uniserve.com> writes:
> >  It is hardware problem.  Fix the hardware so it
> >responds faster, and the warning message will disapear.
> >
> >> Or is there a way to keep that from happening?  What causes that error?
> >> An IDE timeout, right?
> >
> >  You can lengthen the timeout, but this would just hide the problem.
> >Your drive is taking a bit too long to respond.
> 
> Just out of curiousity, how did the threshold for "a bit too long" get 
> determined?  Is this defined in the IDE standard?  Did someone conduct
> a comprehensive survey of popular drives under various error-recovery modes?
> Did the driver writer just pull a number out of the air?

It's just a random number that was hoped to be "long enough".  Some 
drives seem to take weeks to decide that a block is bad, some are really 
quick about it.

The current value is 10 seconds; there have been various discussions
about raising it, and it'll probably get bumped, but increasing the
timeout doesn't actually help the problem (which is almost always a read
operation on a bad block that the drive is unable to recover).

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811040239.SAA01502>