*BSD News Article 30516


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!doc.ic.ac.uk!uknet!EU.net!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!klier
From: klier@cs.tu-berlin.de (Jan Klier)
Newsgroups: comp.os.386bsd.bugs
Subject: fd0 driver reboots machine
Date: 19 May 1994 07:22:27 GMT
Organization: Technical University of Berlin, Germany
Lines: 23
Message-ID: <2rf43j$rb8@news.cs.tu-berlin.de>
NNTP-Posting-Host: jet.cs.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Summary: fd0 driver accessing unformatted floppy kills the machine

I had this problem this morning when I tried to write a tar archive to
fd0. By mistake I inserted a fresh and unformatted floppy into the drive.
The result was that the fd0 driver bombed me with fatal error messages.

So far not much of a problem. But I was unable to stop the driver from
trying to write. Killing the tar process didn't help, because the 
write call wasn't interruptable. 
But much more serious was, that the machine simply booted after 2 minutes
of unsuccessful retries.

Now, having write errors on a hard disk is unlikely, so this kind of reaction
might be ok, but inserting an unformatted floppy is not that uncommon. So
maybe there should be a solution that the fd0 device aborts the call
after a defined number of retries and reports an error.

						jan


-- 
*********** Freedom is inversely proportional to security ******************
Jan Klier                                                    Berlin, Germany
e-mail: klier@cs.tu-berlin.de                CIS:                100022,1700
        Jan.Klier@ipk.fhg.de                      100022.1700@compuserve.com