tingo
Veteran Member
What are the correct parameters for reading (yes, reading, no writing here) a 360K floppy in a 1.2MB drive (5.25 inch, if anyone wonders)?
I recently got a few boxes of 5.25 inch 48 tpi floppies, they are labeled "Digital", "RX31K" and "2D 48TPI". I thought it would be nice to see if I could read them, so I fired of my trusty floppy "copier" machine, it has 3.5 inch and 5.25 inch floppies and runs FreeBSD:
Here is how dmesg detect the floppy drives:
I use fdcontrol(8) to set the format to 360K:
But when I try to copy the floppies with dd(1) or run disktype on them I get errors:
I can believe that a few floppies are bad, but I tried twelve. Also, I can mount the floppies and list the files on them:
So I suspect something is wrong the the parameters.
Any hints?
I recently got a few boxes of 5.25 inch 48 tpi floppies, they are labeled "Digital", "RX31K" and "2D 48TPI". I thought it would be nice to see if I could read them, so I fired of my trusty floppy "copier" machine, it has 3.5 inch and 5.25 inch floppies and runs FreeBSD:
Code:
tingo@kg-t2$ uname -a
FreeBSD kg-t2.kg4.no 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Sep 26 13:09:55 CEST 2011
root@kg-t2.kg4.no:/usr/obj/usr/src/sys/GENERIC i386
Code:
tingo@kg-t2$ dmesg | grep ^fd[01]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
fd1: <1200-KB 5.25" drive> on fdc0 drive 1
Code:
tingo@kg-t2$ fdcontrol -f 360 /dev/fd1
tingo@kg-t2$ fdcontrol -vF /dev/fd1
/dev/fd1: 360 KB media type
Format: 9,512,0xff,0x23,40,300,2,0x50,1,0,+mfm,+2step
Sector size: 512
Sectors/track: 9
Heads/cylinder: 2
Cylinders/disk: 40
Transfer rate: 300 kbps
Sector gap: 35
Format gap: 80
Interleave: 1
Side offset: 0
Flags <MFM,2STEP>
Code:
tingo@kg-t2$ dd if=/dev/fd1 of=./pcsa_01_12.image bs=1024
dd: /dev/fd1: Input/output error
15+0 records in
15+0 records out
15360 bytes transferred in 7.662616 secs (2005 bytes/sec)
tingo@kg-t2$ disktype /dev/fd1
--- /dev/fd1
Character device, size 360 KiB (368640 bytes)
disktype: Data read failed at position 364544: Input/output error
FAT12 file system (hints score 5 of 5)
Volume size 354 KiB (362496 bytes, 354 clusters of 1 KiB)
disktype: Data read failed at position 32768: Input/output error
Code:
root@kg-t2# mount -t msdosfs -r /dev/fd1 /mnt
root@kg-t2# l /mnt
./ ../ std/
root@kg-t2# l /mnt/*
./ msdos.exe* win.ini* winoldap.grb*
../ win.com* win200.bin* winoldap.mod*
root@kg-t2# umount /mnt
Any hints?