From owner-freebsd-current@FreeBSD.ORG Tue Jan 25 20:19:43 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6AFA16A4CE for ; Tue, 25 Jan 2005 20:19:43 +0000 (GMT) Received: from users.altadena.net (users.altadena.net [207.151.161.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id A201243D1F for ; Tue, 25 Jan 2005 20:19:43 +0000 (GMT) (envelope-from pete@users.altadena.net) Received: from pete by users.altadena.net with local (Exim 4.43) id 1CtXA7-000OOh-FV for current@freebsd.org; Tue, 25 Jan 2005 12:19:43 -0800 Date: Tue, 25 Jan 2005 12:19:43 -0800 From: Pete Carah To: current@freebsd.org Message-ID: <20050125201943.GA92768@users.altadena.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: Pete Carah Subject: Floppy problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 20:19:44 -0000 5.3-REL-p5: ----------- I am having problems using a 360k floppy in a 1.2m drive; this should work. fdcontrol reports different things with or without -Fv: --- % fdcontrol -Fv /dev/fd0 /dev/fd0: 360 KB media type Format: 9,512,0xff,0x23,40,300,2,0x50,1,0,+mfm,+2step Sector size: 512 Sectors/track: 9 Heads/cylinder: 2 Cylinders/disk: 40 Transfer rate: 300 kbps Sector gap: 35 Format gap: 80 Interleave: 1 Side offset: 0 Flags ------------- correctly identifying the media and need for 2step. However, mounting the disk from /dev/fd0 results in hard errors on all but the root directory, indicating that 2step isn't being used. This is true with or without device flag 0x10. and --- % fdcontrol /dev/fd0 1.2M % fdcontrol -v /dev/fd0 /dev/fd0: 1.2M drive (5.25" high-density) ------------ which is wrong (it identifies the drive right but not the media; maybe this is what is supposed to happen but...) Explicitly giving the fmtstr to fdcontrol has no effect on either a current or subsequent mount. Nor does fdcontrol -f 360. The fdc man page gives no hint as to what the minor number for each of the different format subdevices should be. -- Pete