From nobody@FreeBSD.org  Wed Aug  8 01:49:35 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id DBD4B37B403
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Aug 2001 01:49:33 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f788nXR88938;
	Wed, 8 Aug 2001 01:49:33 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108080849.f788nXR88938@freefall.freebsd.org>
Date: Wed, 8 Aug 2001 01:49:33 -0700 (PDT)
From: Jose Megias <jmegias@caja-granada.es>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Mounting /dev/fd0 never completes
X-Send-Pr-Version: www-1.0

>Number:         29538
>Category:       kern
>Synopsis:       Mounting /dev/fd0 never completes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    joerg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 08 01:50:01 PDT 2001
>Closed-Date:    Tue Mar 28 11:53:26 MEST 2006
>Last-Modified:  Tue Mar 28 11:53:26 MEST 2006
>Originator:     Jose Megias
>Release:        4.3
>Organization:
Caja General Ahorros de Granada
>Environment:
FreeBSD tijeras.caja-granada.es 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Thu May 31 0
8:40:48 CEST 2001     root@tijeras2.caja-granada.es:/usr/src/sys/compile/TIJERAS
  i386

>Description:
When mounting floppy with the command mount /dev/fd0 /mnt never completes and it observing the following messages:
Aug  8 10:22:25 tijeras /kernel: fdc0: direction bit not set
Aug  8 10:22:25 tijeras /kernel: fdc0: cmd 3 failed at out byte 1 of 3
Aug  8 10:22:25 tijeras /kernel: fdc0: direction bit not set
Aug  8 10:22:25 tijeras /kernel: fdc0: cmd 13 failed at out byte 1 of 4
Aug  8 10:22:25 tijeras /kernel: fdc0: Re-enable FIFO failed
Aug  8 10:22:25 tijeras /kernel: fdc0: direction bit not set
......

>How-To-Repeat:
Reboot the system and afterwards trying to mounting the floppy with the command mount /dev/fd0 /mnt.
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->joerg 
Responsible-Changed-By: joerg 
Responsible-Changed-When: Mon Aug 13 13:30:58 MEST 2001 
Responsible-Changed-Why:  

I might have a look into this, assuming it's actually a problem of 
the floppy driver. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29538 
State-Changed-From-To: open->feedback 
State-Changed-By: joerg 
State-Changed-When: Tue Dec 25 22:24:50 MET 2001 
State-Changed-Why:  
I have never seen such behaviour except for non-functional 
hardware (controller doesn't respond for some reason). 

Can you provide some more details about your hardware 
(controller type -- please use the exact chip type as seen 
on the mainboard, not the bogus one the FreeBSD driver is 
announcing at boot time, attached drives, does it happen 
with a medium in the drive the same way as without a medium?). 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29538 

From: Mikael Andersson <mikan@nic-se.se>
To: freebsd-gnats-submit@FreeBSD.org
Cc: joerg@FreeBSD.org
Subject: Re: kern/29538: Mounting /dev/fd0 never completes
Date: 25 Jan 2002 14:20:05 +0100

 Hi!
 
 We have the same problem here. 
 
 We have some Compaq Proliant servers running FreeBSD 4.3 and 4.4 and all of
 them have this problem. As fast as we try to access the floppy drive (with
 or without floppy in it). I have tried to disable fifo in the fdc driver
 (Options=0x4) and I still got the same problem.
 
 I haven't got the time yet to look at the motherboard, but I have the
 following hardware:
 Compaq Proliant 1600 (x3)
 Compaq Proliant ML370 (x2)
 
 I can boot from the installation floppy on these and mount mfs root, but I
 can't load fixit floppy. 
 
 Sincerely
 Mikael 
 -- 
 mikan@nic-se.se		
 +46 8 545 857 06
 
 

From: Joerg Wunsch <j@uriah.heep.sax.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc: Jose Megias <jmegias@caja-granada.es>,
	Mikael Andersson <mikan@nic-se.se>
Subject: Re: kern/29538: Mounting /dev/fd0 never completes
Date: Tue, 28 Mar 2006 07:16:07 +0200

 This is a very old bug report, and nobody ever gave me the desired
 feedback (more details).  Unless there's evidence this problem still
 persists with recent versions of FreeBSD, I'll close it by 2006-04-15.
 
 -- 
 cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL
 
 http://www.sax.de/~joerg/                        NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
 
State-Changed-From-To: feedback->closed 
State-Changed-By: joerg 
State-Changed-When: Tue Mar 28 11:53:01 MEST 2006 
State-Changed-Why:  
Originator confirms this to be working now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=29538 
>Unformatted:
