From owner-freebsd-questions@FreeBSD.ORG Tue Apr 5 07:30:10 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84BC416A4CE for ; Tue, 5 Apr 2005 07:30:10 +0000 (GMT) Received: from mail.infinitebubble.com (pia140-70.pioneernet.net [66.114.140.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15E2B43D1D for ; Tue, 5 Apr 2005 07:30:10 +0000 (GMT) (envelope-from jason@infinitebubble.com) Received: from localhost (thor.infinitebubble.com [10.10.1.1]) by mail.infinitebubble.com (Postfix) with ESMTP id CFBDE3577D; Tue, 5 Apr 2005 00:30:08 -0700 (PDT) Received: from mail.infinitebubble.com ([10.10.1.3]) by localhost (thor.infinitebubble.com [10.10.1.1]) (amavisd-new, port 10024) with LMTP id 29558-01; Tue, 5 Apr 2005 00:29:56 -0700 (PDT) Received: from [192.168.1.253] (unknown [192.168.1.253]) by mail.infinitebubble.com (Postfix) with ESMTP id 8154033CD7; Tue, 5 Apr 2005 00:29:53 -0700 (PDT) Message-ID: <42523F13.1020902@infinitebubble.com> Date: Tue, 05 Apr 2005 00:32:35 -0700 From: Jason Taylor User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Kevin G. Eliuk" References: <42505AB3.6090602@infinitebubble.com> <42506B78.6050309@dccnet.com> <4250EA45.6060803@infinitebubble.com> <4251FBC8.8040203@dccnet.com> In-Reply-To: <4251FBC8.8040203@dccnet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at infinitebubble.com cc: freebsd-questions@freebsd.org Subject: Re: Formating a 1680k floppy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 07:30:10 -0000 Kevin G. Eliuk wrote: > Jason Taylor wrote: >> I'm sure. I get the same results trying to create a 1720k. >> >> %fdformat -f 1680 /dev/fd0 >> fdformat: unknown format 1680 KB for drive type 1.44M >> %fdformat -f 1720 /dev/fd0 >> fdformat: unknown format 1720 KB for drive type 1.44M >> %fdformat -s 21,,,,80 /dev/fd0 >> Format 1680K floppy `/dev/fd0'? (y/n): y >> Processing E^C-------------------------------------- >> %fdformat -s 21,,,,82 /dev/fd0 >> Format 1722K floppy `/dev/fd0'? (y/n): y >> Processing E^C-------------------------------------- > > > My mistake. ( I haven't looked at this procedure in a loooong while). > I have just successful in creating a 1722 by: > > # fdcontrol -f 1722 /dev/fd0 > # fdformat fd0 > Format 1722K floppy `/dev/fd0'? (y/n): y > Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done. > > Not sure about a 1680: > > # fdcontrol -v -f 1680 /dev/fd0 > fdcontrol: unknown format 1680 KB for drive type 1.44M > > Hope this helps a bit. > Yes, it helped a lot! Thank you. It set me down the right path at least. Here's what I came up with that finally worked: %fdcontrol -s 21,512,0xFF,0X1C,80,500,2,0x0C,2,0,+mfm /dev/fd0 %fdformat fd0 Format 1680K floppy `/dev/fd0'? (y/n): y Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done. FWIW, I think the following patch for fdcio.h would let the "fdformt -f 1680 /dev/fd0" method work. I have *not* tested this. --- fdcio.h Fri Sep 17 21:57:55 2004 +++ fdcio.h.1680 Tue Apr 5 00:19:09 2005 @@ -182,6 +182,7 @@ */ #define FDF_3_2880 36,2,0xFF,0x1B,80,0,FDC_1MBPS,002,0x4C,1,1,FL_MFM|FL_PERPND #define FDF_3_1722 21,2,0xFF,0x04,82,0,FDC_500KBPS,2,0x0C,2,0,FL_MFM +#define FDF_3_1680 21,2,0xFF,0x1C,80,0,FDC_500KBPS,2,0x0C,2,0,FL_MFM #define FDF_3_1476 18,2,0xFF,0x1B,82,0,FDC_500KBPS,2,0x6C,1,0,FL_MFM #define FDF_3_1440 18,2,0xFF,0x1B,80,0,FDC_500KBPS,2,0x6C,1,0,FL_MFM #define FDF_3_1200 15,2,0xFF,0x1B,80,0,FDC_500KBPS,2,0x54,1,0,FL_MFM