<div dir="ltr"><div>Sounds like something that should be commented in the source code.<br><br></div>IDE_TIMEOUT = 32; // 30 seconds per ATA specification +2 seconds thrown in for safety<br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Sat, Jun 1, 2013 at 3:21 PM, Kevin O'Connor <span dir="ltr"><<a href="mailto:kevin@koconnor.net" target="_blank">kevin@koconnor.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, May 31, 2013 at 03:18:56AM +0000, Gonglei (Arei) wrote:<br>
>    IDE_TIMEOUT is defined 32s. But we encountered its timeout in<br>
>    some cases, and then loading disk failed in VM.  In order to<br>
>    reduce the probability of timeout, we want to enlarge the<br>
>    IDE_TIMEOUT, such as 120s.  We verified this modification worked<br>
>    for us. But we are wondering if this modification may cause other<br>
>    potential issues.  Why set IDE_TIMEOUT to 32s? Thanks!<br>
<br>
The ATA specification specifies the maximum response time for many<br>
commands to be 30 seconds.  The extra 2 seconds were thrown in for<br>
safety.<br>
<br>
-Kevin<br>
<br>
_______________________________________________<br>
SeaBIOS mailing list<br>
<a href="mailto:SeaBIOS@seabios.org">SeaBIOS@seabios.org</a><br>
<a href="http://www.seabios.org/mailman/listinfo/seabios" target="_blank">http://www.seabios.org/mailman/listinfo/seabios</a><br>
</blockquote></div><br></div>