Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 1998 09:46:04 -0700 (PDT)
From:      tomdean@ix.netcom.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/7176: Cannot access fd0
Message-ID:  <199807051646.JAA21131@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         7176
>Category:       kern
>Synopsis:       Cannot access fd0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul  5 13:40:04 PDT 1998
>Last-Modified:
>Originator:     tom dean
>Organization:
>Release:        FreeBSD 3.0-CURRENT #0: Fri Jun 19 09:15:17 PDT 1998
>Environment:
FreeBSD celebris 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Fri Jun 19 09:15:17 PDT 1998     root@celebris:/usr/src/sys/compile/CELEBRIS-SMP  i386

>Description:
I am getting errors in accessing fd0.  I can boot a FreeBSD floppy.
DOS has no problem with the device.

I never see or hear FreeBSD access the device.

I am running FreeBSD 3.0-CURRENT #0: Fri Jun 19 09:15:17 PDT 1998

The only IDE storage device is the floppy.  There are 3 SCSI disks and
a SCSI CD.  The SCSI controller is a NCR PCI device.

>How-To-Repeat:
mount /dev/fd0a /mnt
>Fix:

>Audit-Trail:
>Unformatted:
>From dmesg:
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
fd0: 1.44MB 3.5in

With a floppy disk I can mount on another system, I get:
# mount /dev/fd0a /mnt
/dev/fd0 on /mnt: Input/output error
and, dmesg has:
fd0: recal failed ST0 70<abnrml,seek_cmplt,equ_chck> cyl 0
fd0: recal failed ST0 70<abnrml,seek_cmplt,equ_chck> cyl 0
fd0: recal failed ST0 70<abnrml,seek_cmplt,equ_chck> cyl 0
fd0: recal failed ST0 70<abnrml,seek_cmplt,equ_chck> cyl 0
fd0c: hard error reading fsbn 16 of 16-31 (No status)
The LED on the drive does not light, and, drive is not accessed, the
heads are not heard to move.

With NO floppy in the drive,
# mount /dev/fd0a /mnt
/dev/fd0a on /mnt: Input/output error
and, dmesg has:
fd0: recal failed ST0 70<abnrml,seek_cmplt,equ_chck> cyl 0
fd0: recal failed ST0 70<abnrml,seek_cmplt,equ_chck> cyl 0
fd0: recal failed ST0 70<abnrml,seek_cmplt,equ_chck> cyl 0
fd0: recal failed ST0 70<abnrml,seek_cmplt,equ_chck> cyl 0
fd0c: hard error reading fsbn 16 of 16-31 (No status)
The LED on the drive does not light, and, drive is not accessed, the
heads are not heard to move.


Is there a problem with the fd driver?  Is there an updated driver?

I have:

sys/i386/conf/<kernel>
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0

sys/i386/isa/fd.c
 *      from:   @(#)fd.c        7.4 (Berkeley) 5/25/91
 *      $Id: fd.c,v 1.114 1998/06/07 19:40:39 dfr Exp $
sys/i386/isa/fdc.h
 *      $Id: fdc.h,v 1.9 1997/09/17 20:16:16 tegge Exp $
sys/i386/isa/fdreg.h
 *      $Id: fdreg.h,v 1.10 1997/02/22 09:36:11 peter Exp $


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807051646.JAA21131>