*BSD News Article 46123


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!news.kei.com!bloom-beacon.mit.edu!usc!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: floppy tape config, take 2
Date: 24 Jun 1995 12:09:48 +0200
Organization: Private FreeBSD site, Dresden.
Lines: 70
Message-ID: <3sgo9c$6jo@uriah.heep.sax.de>
References: <DAEGn4.5Fv@mv.mv.com> <3s3rt5$5v8@bonnie.tcd-dresden.de> <DAJ0MD.InA@mv.mv.com> <3sbm9s$om@bonnie.tcd-dresden.de>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

J Wunsch <joerg_wunsch@uriah.heep.sax.de> wrote:

>>I'm using a Colorado Jumbo 250, so that should be added to the list
>>of those tape drives which need the flag.
>
>It's not supposed to need it, so it's perhaps an oversight on my side.
>I'll try to remember it and look at it again; please get back to me on
>this in private mail say in about 4 weeks of time or so.

Hmm, i've just looked into it.  Provided you're really running 2.0.5,
i'm at a loss.  This is the code:

RCS file: /usr/home/cvs/src/sys/i386/isa/ft.c,v
Working file: ft.c
head: 1.22
branch:
locks: strict
access list:
symbolic names:
...
        RELENG_2_0_5_RELEASE: 1.22
        RELENG_2_0_5: 1.22.0.2
        RELENG_2_0_5_BP: 1.22
        RELENG_2_0_5_ALPHA: 1.21
...
revision 1.21
date: 1995/05/06 19:34:28;  author: joerg;  state: Exp;  lines: +23 -12
Restructured the floppy tape probe.

The ``flags 1'' in the fdc line is now only needed for owners of an
Insight tape (perhaps there aren't any?  Mine is disfunctional).  All
other probes are safe wrt. to the motor-control line of floppy disk
drives.  Document the flag in LINT finally.

And that's the restructured ftattach():

...
  /*
   *  FT_COLORADO - colorado style
   */
...

  /*
   *  FT_MOUNTAIN - mountain style
   */
...

  if(isadev->id_flags & FT_PROBE) {
    /*
     * Insight probe is dangerous, since it requires the motor being
     * enabled and therefore risks attached floppy disk drives to jam.
     * Probe only if explicitly requested by a flag 0x1 from config
     */

    /*
     *  FT_INSIGHT - insight style
     *
     *  Since insight requires turning the drive motor on, we will not
     *  perform this probe if a floppy drive was already found with the
     *  the given unit and controller.
     */
...
  }

Is your tape (erroneusly) announced as an Insight tape?
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)