The error is the code doesn't see an index pulse in 25 milliseconds.
Checking the transistions file you send a link to it shows the drive is
somewhat unhappy. Some bad sectors and ECC corrections but not that bad.
What we do see with mfm_util is this
Mismatch cyl 217,0 head 4,4 index 0
...
Mismatch cyl 218,1 head 0,0 index 0
etc
This indicates the drive recalibrated to cylinder 0 when I told it to
switch from head 3 to head 4. From then on its reading from beginning of
disk again.
Makes it further on the second pass. Likely recalibrated to 0 trying to go
to cyl 288. The recalibration likely stopped the index pulses for long enough
to cause the error.
Mismatch cyl 504,287 head 7,7 index 31
Have a couple options
First is to increase the timeout for missing index pulses.
Not sure which OS version you have. Don't have record of sale to you.
For what I'm currently shipping edit
/opt/mfm/mfm/prucode0.p and change this line to increase timeout. Try adding
another zero.
#define INDEX_TIMEOUT 5000000 // 25 milliseonds
After the code changes type make to rebuild.
If this get analyze to work it will handle the drive recalibrates by
seeking back to the cylinder that it was trying to read.
The other option is to read the drive in pieces without analyze.
Use mfm_util to see highest cylinder you were able to read. It will not be
the cylinder printed by mfm_read.
mfm_util --ana --tran /tmp/wang_microvp_h_15_v3.raw --ext /tmp/t --quiet 1
In
/opt/mfm/mfm/drive_read.c
drive_read_disk
change this line the 0 to the last cylinder you saw data from. If it always
recalibrates you can try a higher cylinder and see if it gets past the
problem area.
for (cyl = 0; cyl < drive_params->num_cyl; cyl++) {
The code doesn't handle the truncated files well. Would need to write some
code to merge the separate reads back together.
After the code changes type make to rebuild.
To verify what cylinders are in the file you will need to specify all
the parameters. Analyze will be confused by it not starting at cylinder 0.
mfm_util --format Intel_iSBC_214_256B --sectors 32,0 --heads 8 --cylinders 1224 --header_crc 0xffff,0x1021,16,0 --data_crc 0xffffffff,0x140a0445,32,6 --sector_length 256 --tran filename --ext /tmp/t
> --
> You received this message because you are subscribed to the Google Groups "MFM Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
mfm-discuss...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/mfm-discuss/51cbf81d-87c1-4f43-8171-8d05f1d02d38n%40googlegroups.com.