Any suggestions?
Anton
[EMAIL PROTECTED] antonovich]$ superformat /dev/fd0 sect=21 cyl=83 Measuring drive 0's raw capacity In order to avoid this time consuming measurement in the future, add the following line to /etc/driveprm: drive0: deviation=-1600 CAUTION: The line is drive and controller specific, so it should be removed before installing a new drive 0 or floppy controller.
Verifying cylinder 0, head 0 Error, 6656 bytes remaining Verifying cylinder 0, head 1 lseek: Invalid argument Verifying cylinder 0, head 0 Error, 6656 bytes remaining Verifying cylinder 0, head 1 lseek: Invalid argument
The man suggests doing this if there are input/output errors...
[EMAIL PROTECTED] antonovich]$ floppymeter --hd /dev/fd0 Warning: all data contained on the floppy disk will be lost. Continue? y _____________________________________________ |rotations |average |sliding |missed | |since start|time per |average of |rotations| |of test |rotation |the last | | | |since start|10 | | | |of test |rotations | | |===========|===========|===========|=========| | 1000 | 199674 | 199660 | 0 | |___________|___________|___________|_________|
capacity=199704 half bits (should be 200000 half bits) time_per_rotation=199674 microseconds (should be 200000) data transfer rate=500075 bits per second (should be 500000)
deviation on capacity: -1480 ppm deviation on time_per_rotation: -1630 ppm deviation on data transfer rate: +150 ppm
Insert the following line to your /etc/driveprm file: drive0: deviation=-1480
I then proceeded to create a /etc/driveprm and enter drive0:
deviation=-1480 in it I then got[EMAIL PROTECTED] antonovich]$ superformat /dev/fd0 sect=21 cyl=83 Verifying cylinder 2, head 0 read: Input/output error Verifying cylinder 2, head 1 read: Input/output error Verifying cylinder 2, head 0 read: Input/output error Verifying cylinder 2, head 1 read: Input/output error
It seems that I get this for each time because after this i repeated and got one track further...
[EMAIL PROTECTED] antonovich]$ superformat /dev/fd0 sect=21 cyl=83 Verifying cylinder 3, head 0 read: Input/output error Verifying cylinder 3, head 1 read: Input/output error Verifying cylinder 3, head 0 read: Input/output error Verifying cylinder 3, head 1 read: Input/output error [EMAIL PROTECTED] antonovich]$ superformat /dev/fd0 sect=21 cyl=83 Verifying cylinder 4, head 0 read: Input/output error Verifying cylinder 4, head 1 read: Input/output error Verifying cylinder 4, head 0 read: Input/output error Verifying cylinder 4, head 1 read: Input/output error [EMAIL PROTECTED] antonovich]$ superformat /dev/fd0 sect=21 cyl=83 Verifying cylinder 5, head 0 read: Input/output error Verifying cylinder 5, head 1 read: Input/output error ...
Now I would like some answers! I guess this is what the man pages mean by "
I/O errors during verification
Your drive may be too far out of tolerance, and you may thus
need to supply a margin parameter. Run floppymeter (see section
floppymeter) to find out an appropriate value for this parame-
ter, and add the suggested margin parameter to the command line.
Because I can't work out what a "margin parameter" is otherwise, and floppymeter mentions nothing in the man about margins in the command line.
Suggestions most welcome! tia
Anton
