i386/174711: Floppy drive 5.25" 360Kb bug.

Emil Mamedov emil80386 at yahoo.com
Wed Dec 26 07:40:01 UTC 2012


>Number:         174711
>Category:       i386
>Synopsis:       Floppy drive 5.25" 360Kb bug.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 26 07:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Emil Mamedov
>Release:        8.3
>Organization:
Home
>Environment:
uname -a:
FreeBSD  8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:47:23 UTC 2012
    root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Hello!

I have very old 5.25" 360Kb floppy drive and appropriately diskettes(DD)
and sometimes need to mount them(mount_msdosfs) for reading/writing files.
With FreeBSD 4.11, this drive works properly, but with FreeBSD 8.3-9.0,
(and also 5.x-7.x) 360Kb floppy drive doesn't works properly.
Of course, FreeBSD 9.0 has the knowing fdd bug(isa-dma.c), I've early fixed its
on recomendation in FreeBSD mailing list. 

When 360Kb FDD connects to moterboard(FIC PA-2011 without ACPI support),
and same type set in BIOS SETUP and no media in floppy drive, FreeBSD 8.3-9.0
booting too slowly. In this case system too long positions heads.
When 360Kb FDD has a floppy disk, FreeBSD booting quickly.

I couldn't mount diskettes, and saw messages:
mount_msdosfs /dev/fd0 /mnt/fd0/
mount_msdosfs: /dev/fd0: Device not configured
=====================================================
dd command output:
dd if=/dev/fd0  of=fddimg bs=512
dd: /dev/fd0: Device not configured
======================================================
fdcontrol command output (floppy drive without media):
/dev/fd0: 360 KB media type
	Format:		9,512,0xff,0x23,40,300,2,0x50,1,0,+mfm
	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		<MFM>
======================================================
fdcontrol command output (floppy drive with media(360Kb(DD) floppy):
fdcontrol: open(/dev/fd0): Device not configured
======================================================

I booted MS-DOS system (MS-DOS is installed on old HDD) on the same
hardware and successfully read/wrote files.
5.25" 1.2Mb and 3.5" 1.44Mb floppy drives work properly in all FreeBSD versions.

Mamedov Emil, Baku, Azerbaidzan.
>How-To-Repeat:
This problem repeat allways.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list