*BSD News Article 21560


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!metro!sequoia!ultima!kralizec.zeta.org.au!kralizec.zeta.org.au!not-for-mail
From: bde@kralizec.zeta.org.au (Bruce Evans)
Newsgroups: comp.os.386bsd.questions
Subject: Re: FreeBSD can't find fd1 3.5" floppy
Date: 28 Sep 1993 09:23:47 +1000
Organization: Kralizec Dialup Unix Sydney: +61-2-837-1183 V.32bis
Lines: 25
Message-ID: <287sm3INNfq6@kralizec.zeta.org.au>
References: <2C9FC15C.23015@news.service.uci.edu>
NNTP-Posting-Host: kralizec.zeta.org.au
Keywords: floppy probe routine startup

In <2C9FC15C.23015@news.service.uci.edu> bob@beamlab () writes:

>My FreeBSD 1.0 gamma system fails to notice
>the 3.5 inch floppy drive, though it works
>fine with the 5.25 inch drive.  

>I originally reported the trouble as a panic
>caused by the floppy driver. In response
>Jordan Hubbard kindly sent me a new fd.c,
>which is improved in the sense that it
>exits gracefully with "device not configured"
>but still won't let me use the drive.

Since the device is not configured, it must be failing the probe.  The
probe just reads a byte from the CMOS.  The byte encodes the 2 floppy
drive types.  Bits 0-3 are for drive 1, bits 4-7 for drive 0 (order?).
Only a few of the 16 possiblilities for each drive are supported:

	0: no drive (device not configured)
	1: 360K (screwed up?)
	2: 1.2M
	4: 1.44M
	other: ? (screwed up?)
-- 
Bruce Evans  bde@kralizec.zeta.org.au