From owner-freebsd-questions@freebsd.org Fri Aug 14 18:19: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 DD3343C549A for ; Fri, 14 Aug 2020 18:19:57 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: from mail-qv1-xf43.google.com (mail-qv1-xf43.google.com [IPv6:2607:f8b0:4864:20::f43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BSsDD3PVrz40sX for ; Fri, 14 Aug 2020 18:19:56 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: by mail-qv1-xf43.google.com with SMTP id w2so4689056qvh.12 for ; Fri, 14 Aug 2020 11:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=3SgT9tgIAHXsdzHc6tlMft0CrSFiNFlNgzkXstDoRus=; b=okw8FH+WCNtvgLP8y2LBhKCuwJ1/zz5fWvEyIfxYFFEENC9RErVwWXfuY8oHMUWSMN vl7iJWjNnJcc8X43eopw418GlwAVivFCIrDFeBZqGa/KI0KiIBSUwgGHB1+iiPji4M3/ 8x+PcMYTEQyGYye1vS2jdLA90vMIdRCYTwnzYyOK82pgcJnDn/Dr+T8/91AoRaU0q5NY x+AodGNx09MUXb0leLXxZP1ufml3PXJ8Uxz3WFmmjE2gCJ863tqs3mrq8fcZUOoYFyLd 5xvyC7Yc0RarJgp/pF62AvoT0TYyg/eZBgTPm4omgtzEKTVsEc/m+pFh4VUAM31p8ejp UE0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=3SgT9tgIAHXsdzHc6tlMft0CrSFiNFlNgzkXstDoRus=; b=MW0+MSy2mul4oWoty51GKfmGLk31EU9CXqBB2CTQUeLBjrOqxZT2GIcKihWNbIqLVa L6MCfEu82/eTIqXXPl7wfO+BjE7+jsTsM6379uvebTWZw/LQS9yBRiB7wnZcXTW3Fsxk N5tDHhKoSXgFgQdFcWUyu9g4xDTghAn0wm1ElCcqoBRloj8nta1KN7pSgdtFAy3m10tJ U+X8oSLdvs/qaLwE+m/yKdv95jVGrKEM2NPuSbqwZ87VnRrOYuih1PsLKZUTp6H0+gDN QMcqZeJU6q/DcXC8b4HkZIRAc91sAN6WYRe6IDf6ki/0sUAf/IRRhZV7T5ZC+SmioLUw VeYg== X-Gm-Message-State: AOAM531OzWsBXmsRD+gGquQb5oD9zZK9x+tvuf1zKxspgkq2GGiJ4LOg uHFMWkn+LX3IzEJ4l6YhfQ== X-Google-Smtp-Source: ABdhPJy5fsd0jhFT01BOxuRzH1N8B7PIOpafrpaXknCo7qLX9ILUM1QJoEH4i+DxeICAZz1N52AsJw== X-Received: by 2002:a0c:e8c9:: with SMTP id m9mr3941911qvo.178.1597429195422; Fri, 14 Aug 2020 11:19:55 -0700 (PDT) Received: from [192.168.1.82] (162-239-0-170.lightspeed.sntcca.sbcglobal.net. [162.239.0.170]) by smtp.gmail.com with ESMTPSA id u37sm11351341qtj.47.2020.08.14.11.19.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Aug 2020 11:19:53 -0700 (PDT) Subject: Re: 5.25" Floppy disk drive not recognized From: "Jin Guojun[VFF]" To: Tomasz CEDRO , Don Wilde Cc: FreeBSD Questions Mailing List , Christoph Kukulies , Steve O'Hara-Smith 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> <4db32149-6ddb-e70f-c36a-a2acc8bc0e9c@gmail.com> Message-ID: Date: Fri, 14 Aug 2020 11:19:50 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4BSsDD3PVrz40sX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=okw8FH+W; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jguojun@gmail.com designates 2607:f8b0:4864:20::f43 as permitted sender) smtp.mailfrom=jguojun@gmail.com X-Spamd-Result: default: False [-3.08 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.01)[-0.015]; FREEMAIL_TO(0.00)[cedro.info,gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.05)[-1.053]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.008]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f43:from]; RCVD_TLS_ALL(0.00)[] 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 18:19:57 -0000 On 08/14/20 11:10, Jin Guojun[VFF] wrote: > On 08/14/20 09:34, Tomasz CEDRO wrote: >> On Fri, Aug 14, 2020 at 6:14 PM Don Wilde wrote: >>> On 8/14/20 8:45 AM, Tomasz CEDRO wrote: >>>> Is floppy drive still available? Was it supposed to be removed..? >>> It's still in the GENERIC kernel configuration. Disk Doctors, if you >>> have one local, should be able to tell you whether the diskette itself >>> is readable and formatted. >> Good news, thank you :-) There was a discussion somewhere around 2017 >> to remove it.. I am glad floppies are still here and will stay here >> :-) I am fan of retro computers and this may come handy :-) >> >> https://lists.freebsd.org/pipermail/freebsd-arch/2017-December/018681.html >> >> > We still have it :-) > > # mount_msdosfs -o ro /dev/fd0 /mnt > # ll /mnt > total 2131 > drwxr-xr-x   1 root  wheel    7168 Dec 31  1979 ./ > drwxr-xr-x  24 root  wheel    1024 Aug 14 10:50 ../ > -rwxr-xr-x   1 root  wheel    6883 Dec 30  1993 ADDHELP.OV_* > -rwxr-xr-x   1 root  wheel   28962 Dec 30  1993 DBLSPACE.BI_* > -rwxr-xr-x   1 root  wheel     302 Dec 30  1993 DBLSPACE.SYS* > -rwxr-xr-x   1 root  wheel     744 Dec 30  1993 DOSUMB.CO_* > -rwxr-xr-x   1 root  wheel  175485 Dec 30  1993 IBMAVD.EX_* > -rwxr-xr-x   1 root  wheel   78253 Dec 30  1993 IBMAVSP.EX_* > ... > # umount /mnt > > --- change to a bad floppy disk > > # dd if=/dev/zero of=/dev/fd0 bs=18k > dd: /dev/fd0: Input/output error > 1+0 records in > 0+0 records out > 0 bytes transferred in 3.943048 secs (0 bytes/sec) > ^C > # fdformat -f 1440 /dev/fd0 > Format 1440K floppy `/dev/fd0'? (y/n): y > Processing EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE done. > Errors encountered: > Cyl Head Sect   Error >   0    0    1   no address mark in ID field >   0    1    1   no address mark in ID field >   1    0    1   no address mark in ID field >   1    1    1   no address mark in ID field >   2    0    1   no address mark in ID field >   2    1    1   no address mark in ID field >   3    0    1   no address mark in ID field >   3    1    1   no address mark in ID field >   4    0    1   no address mark in ID field >   4    1    1   no address mark in ID field > (Further errors not printed.) > > # uname -a > FreeBSD f114 11.4-RELEASE FreeBSD 11.4-RELEASE #0: Sun Aug  9 23:48:49 > PDT 2020 >     root@f114:/usr/src/sys/amd64/compile/MinMax  amd64 > reFormating it to lower density make the floppy has some useful. The floppy disk does not last long. Event leave it in a box without use, the media will age. # fdformat -f 720 /dev/fd0 Format 720K floppy `/dev/fd0'? (y/n): y Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVEE done. Errors encountered: Cyl Head Sect   Error  76    1    2   CRC error in data field  78    1    2   CRC error in data field  79    1    2   CRC error in data field # dd if=/dev/zero of=/dev/fd0 bs=18k count=10k dd: /dev/fd0: end of device 41+0 records in 40+0 records out 737280 bytes transferred in 48.023818 secs (15352 bytes/sec)