<div dir="ltr"><div style>Hello</div>From what I gathered from discussions on this mailing list, this counter is used to detect infinite loops and this is the way to deal with it when you are running really long traces.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 20, 2013 at 7:26 PM, Tiratat Patana-anake <span dir="ltr"><<a href="mailto:tiratatp@cs.uchicago.edu" target="_blank">tiratatp@cs.uchicago.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Solution!!!<br>
<br>
Today I found that the culprit (at least in my case) is that one of<br>
the IO's block count is greater than 6000.<br>
(6000 is the *hardcoded* number of fpcheck)<br>
So I changed to 65537 (disksim_diskctlr.c line 1920) and it was<br>
solved! (at least for now)<br>
<br>
Have you ever ran into this problem?<br>
Any comment on my dirty workaround?<br>
<div class="im HOEnZb">--<br>
Tiratat (Knot) Patana-anake<br>
¶ÔøѪ (¹é͵) ¾Ñ²¹Ðà͹¡<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">On Tue, Nov 19, 2013 at 11:12 PM, Tiratat Patana-anake<br>
<<a href="mailto:tiratatp@cs.uchicago.edu">tiratatp@cs.uchicago.edu</a>> wrote:<br>
> Hi<br>
><br>
> Have anyone ran into this problem,<br>
> assertion failed: in disk_buffer_sector_done()<br>
> (disksim_diskctlr.c:4360): currdisk->fpcheck:<br>
><br>
> Apparently, these is this comment in the header (disksim_disk.h),<br>
>   // This is a forward progress check.  There have been a number of<br>
>   // bugs over the years that cause the controller to get into an<br>
>   // infinite loop, reading the same sector or track over and over.<br>
>   // Every time we do a reposition, this is reset (currently<br>
>   // statically, should be set to the track length) and<br>
>   // disk_buffer_sector_done() decrements it and asserts that it<br>
>   // hasn't gotten to 0.<br>
><br>
> 2 questions,<br>
> 1. any workaround of this bug?<br>
> 2. does anyone know what is this bug?<br>
><br>
> Best regards<br>
> Knot<br>
><br>
> --<br>
> Tiratat (Knot) Patana-anake<br>
> ¶ÔøѪ (¹é͵) ¾Ñ²¹Ðà͹¡<br>
_______________________________________________<br>
Disksim-users mailing list<br>
<a href="mailto:Disksim-users@ece.cmu.edu">Disksim-users@ece.cmu.edu</a><br>
<a href="https://sos.ece.cmu.edu/mailman/listinfo/disksim-users" target="_blank">https://sos.ece.cmu.edu/mailman/listinfo/disksim-users</a><br>
</div></div></blockquote></div><br></div>