5.25" Floppy disk drive not recognized

Christoph Kukulies kuku at kukulies.org
Mon Aug 17 09:20:32 UTC 2020



> Am 14.08.2020 um 22:46 schrieb Polytropon <freebsd at edvax.de>:
> 
> On Fri, 14 Aug 2020 22:38:05 +0200, Christoph Kukulies wrote:
>> neither less or cat works. I cannot totally exclude that the media don’t fit.
>> The ones in questions here are CP/M 68k format. They are DD-DT.
> 
> In this case, using fdcontrol to change the drive's settings
> is probably the correct way to go. Use the command
> 
> 	% fdcontrol -F -v /dev/fd0
> 
> to see what drive and disk can tell about themselves. If that
> is not correct, use fdcontrol's -s option to change the drive's
> view.
> 

It looks like whatever medium I insert, I’m always getting:

# fdcontrol -F -v /dev/fd0
/dev/fd0: 1200 KB media type
	Format:		15,512,0xff,0x1b,80,500,2,0x54,1,0,+mfm,+auto
	Sector size:	512
	Sectors/track:	15
	Heads/cylinder:	2
	Cylinders/disk:	80
	Transfer rate:	500 kbps
	Sector gap:	27
	Format gap:	84
	Interleave:	1
	Side offset:	0
	Flags		<MFM,AUTO>
# 

Inserting a medium which I marked DD-DT (double density double track) at the time I wrote it, gives:

# fdread -d /dev/fd0 -o fd_dump
Reading 80 * 2 * 15 * 512 medium at /dev/fd0

> 
> 
>> OTOH, dd normally used to work on this kind of devices, didn’t it?
> 
> If the (hardware) formatting deviates too much from what the
> drive's settings expect, it will only result in read errors.
> This where something within the chain "OS - controller - drive -
> medium" does not match the expectations. This is where fdcontrol
> can be used to change those expectations. :-)

BTW, looks like Ubuntu Linux adopted the FreeBSD floppy interface, did they?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3363 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200817/8281bdc1/attachment.bin>


More information about the freebsd-questions mailing list