Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 2020 11:20:22 +0200
From:      Christoph Kukulies <kuku@kukulies.org>
To:        Polytropon <freebsd@edvax.de>
Cc:        Tomasz CEDRO <tomek@cedro.info>, Steve O'Hara-Smith <steve@sohara.org>, User Questions <freebsd-questions@freebsd.org>
Subject:   Re: 5.25" Floppy disk drive not recognized 
Message-ID:  <39DD3C11-A711-43EC-B69F-0B18CBBF9BA2@kukulies.org>
In-Reply-To: <20200814224646.0c1432d9.freebsd@edvax.de>
References:  <46FFA8F9-90AA-42DE-8E8B-CA4383CA7AC6@kukulies.org> <20200814101021.c71f6c23768a5bef685739fe@sohara.org> <20200814071030.3f319e5a@scorpio.seibercom.net> <76A64DE1-B61B-405E-A623-C886819E1977@kukulies.org> <20200814151509.0feef428f3692a1d9a2bb39a@sohara.org> <CAM8r67A8896GM4fsTe-yQnkmz-MCKS0=fN7BwnGF4iixqA4=NA@mail.gmail.com> <0F38A0D7-FD25-4076-A14C-3B75BAC76244@kukulies.org> <86D9EF37-531A-4480-8857-9C495E4BBB8C@kukulies.org> <7CF88C86-6E81-498D-A383-B160D77D8134@kukulies.org> <20200814224646.0c1432d9.freebsd@edvax.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--Apple-Mail=_5035597A-6DE0-4CE8-82C3-D66437FC9946
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> Am 14.08.2020 um 22:46 schrieb Polytropon <freebsd@edvax.de>:
>=20
> 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=E2=80=99t fit.
>> The ones in questions here are CP/M 68k format. They are DD-DT.
>=20
> In this case, using fdcontrol to change the drive's settings
> is probably the correct way to go. Use the command
>=20
> 	% fdcontrol -F -v /dev/fd0
>=20
> 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.
>=20

It looks like whatever medium I insert, I=E2=80=99m 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>
#=20

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

>=20
>=20
>> OTOH, dd normally used to work on this kind of devices, didn=E2=80=99t =
it?
>=20
> 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?


--Apple-Mail=_5035597A-6DE0-4CE8-82C3-D66437FC9946
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCCc0w
ggSQMIIDeKADAgECAggYVYMhomAL1zANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJERTEzMDEG
A1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25ldHogU2VydmljZSBHbWJIMSIwIAYDVQQD
DBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOMB4XDTIwMDUxNjE1Mjc1OVoXDTIxMDUxNjE1Mjc1
OVowbzELMAkGA1UEBhMCREUxITAfBgNVBAUTGDQwMDAwMDAwNWVjMDA4ZGQzNzNhZDhlYzEbMBkG
A1UEAwwSQ2hyaXN0b3BoIEt1a3VsaWVzMSAwHgYJKoZIhvcNAQkBFhFrdWt1QGt1a3VsaWVzLm9y
ZzCCASIw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oZIhvcNAQkDMQsGCSqGSIb3DQEH
ATAcBgkqhkiG9w0BCQUxDxcNMjAwODE3MDkyMDIyWjAvBgkqhkiG9w0BCQQxIgQge1/OSowWyx36
JVkCXXA3np0qsk85NtGp8PtAD6XFfxowgYEGCSsGAQQBgjcQBDF0MHIwZjELMAkGA1UEBhMCREUx
MzAxBgNVBAoMKkRHTiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNuZXR6IFNlcnZpY2UgR21iSDEiMCAG
A1UEAwwZZGduc2VydmljZSBDQSAyIFR5cGUgRTpQTgIIGFWDIaJgC9cwgYMGCyqGSIb3DQEJEAIL
MXSgcjBmMQswCQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25l
dHogU2VydmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOAggYVYMh
omAL1zANBgkqhkiG9w0BAQEFAASCAQBiEbkotUhlkfCSswIzS+LRDIVswZKKhqvslfL1dAYo8crA
LPxAiFSEOx8fXNLifrCCYOHWq2WezY0+eqUz5gWrqQGo9WLEmtYzMb2GnkoJg301TZvsVuw2ofA9
Zy4VrMS/0uetulmEEviaEf8MI2Q5VjWmiOCDJFEmslZXNLD4zR1FoCcLMTLiZsggzFoh2mQiREs+
rZjjEErJEP0HeGrMjyNp8NgzgbYDT94S+cob+l1rZwJA+s1XiOg5XsFQxsRMVkbYHC61hhnQFVzx
mDnmGlb9KObp8wk0Ir9RPIBOWG2amHdeg0Xh/cIzcpxh5dBLbL1Q6uuT8WfWkK1Ih6TmAAAAAAAA
--Apple-Mail=_5035597A-6DE0-4CE8-82C3-D66437FC9946--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?39DD3C11-A711-43EC-B69F-0B18CBBF9BA2>