From owner-freebsd-questions@freebsd.org Fri Aug 14 20:00:57 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 10DC33C76F2 for ; Fri, 14 Aug 2020 20:00:57 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BSvSm2t0Dz468B for ; Fri, 14 Aug 2020 20:00:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.5.225.79]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1MaIrN-1kA9pL2Z41-00WGye; Fri, 14 Aug 2020 22:00:54 +0200 Date: Fri, 14 Aug 2020 22:00:54 +0200 From: Polytropon To: User Questions Cc: Lowell Gilbert , Christoph Kukulies Subject: Re: 5.25" Floppy disk drive not recognized Message-Id: <20200814220054.9d10cb7e.freebsd@edvax.de> In-Reply-To: <44imdl80ws.fsf@be-well.ilk.org> References: <46FFA8F9-90AA-42DE-8E8B-CA4383CA7AC6@kukulies.org> <20200814101021.c71f6c23768a5bef685739fe@sohara.org> <20200814071030.3f319e5a@scorpio.seibercom.net> <76A64DE1-B61B-405E-A623-C886819E1977@kukulies.org> <44imdl80ws.fsf@be-well.ilk.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted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y8OjBKKujYdpVDfqL9UAxRL4xVQTBKkFXCQkZ3vw4/x6tzmQwD++E5 ssDorK5Cj5sES0uqp1IwDZlf9EZdDviPPGM8kjouoa7mgXzOWo1R9vxVN2ObAhJn8oZGle3 X-Rspamd-Queue-Id: 4BSvSm2t0Dz468B X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.83 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[178.5.225.79:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.04)[0.039]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.78)[0.780]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.61)[0.613]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.134:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.134:from]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2020 20:00:57 -0000 On Fri, 14 Aug 2020 15:47:47 -0400, Lowell Gilbert wrote: > When floppy drives were common, they were > (typically) strictly ISA devices and so sometimes required configuration > at the driver level. See fdc(4), although generally I remember being > able to do all of the magic through fdcontrol(8). The use of fdcontrol is very important if the disk in question is not what the drive thinks it should be. :-) > Because your media are old, they are likely to be troublesome, and > fdread(1) may save you time in getting the maximum amount of data off > the floppies. There are also forensic tools like ddrescue (or dd_rescue?) that can adjust retries and read block size (default from 512 bytes down to 1 byte per try) if it needs to be. > Be careful with the disks that have your precious data by > experimenting with ones you're willing to sacrifice, and don't read or > write the important ones any more than necessary. Also make sure the drive is clean, the head is undamaged. > > Also # cat /dev/fd0 >dump > > cat: /dev/fd0: Device not configured > > > > Why? >=20 > Did that ever work? More or less (in this case, less, which is more, couldn't resist): % less -f /dev/fd0 =EB<<90>MSWIN4.1^@^B^A^A^@^B=E0^@@^K=F0 ^@^R^@^B^@^@^@^@^@^@^@^@^@^@^@)=C1=A8<83> $ FAT12 =FA3 [...] And so on. You can use cat with something like this: % cat /dev/fd0 | xxd 0000000: eb3c 904d 5357 494e 342e 3100 0201 0100 .<.MSWIN4.1..... 0000010: 02e0 0040 0bf0 0900 1200 0200 0000 0000 ...@............ 0000020: 0000 0000 0000 29c1 a883 2420 2020 2020 ......)...$ =20 0000030: 2020 2020 2020 4641 5431 3220 2020 fa33 FAT12 .3 0000040: c98e d1bc fc7b 1607 bd78 00c5 7600 1e56 .....{...x..v..V [...] In the past, I've even used tar directly with floppies, with aliases called "flop " and "unflop"... :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...