Why is there a limit on retry counts?

All questions about how to use KryoFlux go here.
Post Reply
softwarefailure
Posts: 15
Joined: Thu May 24, 2018 8:42 pm

Why is there a limit on retry counts?

Post by softwarefailure » Thu Jun 14, 2018 5:34 pm

When using the Java GUI, I can send "-t99" for AmigaDOS sector image just fine. However, trying to increase this to anything over "-t100" fails with the error message "Invalid retry count". Why isn't it possible to set the retry count to 999 or so?

Experience has shown that after several hundred retries a track can suddenly be read so to my mind it would make sense to allow a higher value than "-t99" ... or is there any rational explanation why the Java GUI caps the retry count to a maximum of 100?

SomeGuy
Posts: 142
Joined: Wed Feb 18, 2015 8:18 pm

Re: Why is there a limit on retry counts?

Post by SomeGuy » Thu Jun 14, 2018 7:12 pm

The word "rational" and "Java" do not belong in the same sentence. :P

In practice, if a track can not be read in after a few retries then human intervention is generally needed. Blindly retrying forever is likely to rip the disk to shreds.

After just a few retries, a disk should be removed and visually inspected for damage and anything that might be causing additional damage. If dirt is visible or damage is increasing then some cleaning measures should be taken (easier on 5.25" disks, very hard on 3.5" disks). The flux stream plot should also be examined as it can give a clue if the problem is a single point, surface wide, or perhaps an alignment issue. Repeat a few more times, perhaps using stronger cleaning methods (I usually reserve Isopropyl Alcohol as a last resort and only if the disk surface is not falling apart) and perhaps a different floppy drive.

Be sure to hold on to the initial dump, as a flux image can be run trough other utilities later, ocasionally with better decoding results.

That said, I have had some experiences with high-quality 1.2mb disks where problematic inner tracks would become more readable after a huge number of retries. My theory is some clear thin stubborn "residue" on the surface.

brightcaster
Posts: 125
Joined: Fri Nov 08, 2013 10:48 pm

Re: Why is there a limit on retry counts?

Post by brightcaster » Thu Jun 14, 2018 8:21 pm

This coincides with my experiences! When it finaly works after 50 retries it works better and better after that! First with 10 attempts, after that with the usual 5 and at last immediately with the first atempt.

I agree, it looks as if there is some layer of dirt on the surface, which is slowly worn by the read head.

So after experiencing that I give a good cleaning to the floppies if they don't read with the usual 5 retries. Having good results even if there is no visible dirt!

David

User avatar
mr.vince
Posts: 2067
Joined: Tue Oct 05, 2010 5:48 pm

Re: Why is there a limit on retry counts?

Post by mr.vince » Wed Jun 20, 2018 8:09 am

Exactly. Cleaning should be done by a human being, not by scraping the surface with 1000 retries. ;)

Post Reply