From dbx@atmos.washington.edu  Mon Mar 31 08:35:50 1997
Received: from cargpc5.atmos.washington.edu (cargpc5.atmos.washington.edu [128.95.176.98])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA25652
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Mar 1997 08:35:50 -0800 (PST)
Received: by cargpc5.atmos.washington.edu
	(8.8.5/UW-NDC Revision: 2.30v8.8) id IAA00393; Mon, 31 Mar 1997 08:37:58 -0800 (PST)
Message-Id: <199703311637.IAA00393@cargpc5.atmos.washington.edu>
Date: Mon, 31 Mar 1997 08:37:58 -0800 (PST)
From: dbx@atmos.washington.edu
Reply-To: dbx@atmos.washington.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: Floppy disk copy freezes
X-Send-Pr-Version: 3.2

>Number:         3156
>Category:       kern
>Synopsis:       Copying to floppy device file locks machine
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 31 08:40:01 PST 1997
>Closed-Date:    Sat Aug 23 16:13:58 MEST 1997
>Last-Modified:  Sat Aug 23 16:14:51 MEST 1997
>Originator:     "Doug Burks"
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
Dept of Atmospheric Sciences
                 University of Washington
>Environment:
Standard PC clone --
                   75MHz Pentium
                   16MB memory
                   3-1/2in floppy drive
                   800MB IDE hard disk
                   3com 3c509 network card
                   ATI Mach 64 2MB graphics card
                   Princeton Ultra 17 monitor

>Description:

	When I could straight to the floppy disk, the machine totally
        freezes after about 5-10 seconds.  Only a cold boot restarts the
        machine.

>How-To-Repeat:

	dd if=large_file bs=40k of=/dev/fd0.1440
        cat large_file >/dev/fd0.1440

>Fix:
	
	??

>Release-Note:
>Audit-Trail:

From: j@uriah.heep.sax.de (J Wunsch)
To: dbx@atmos.washington.edu
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/3156: Floppy disk copy freezes
Date: Mon, 31 Mar 1997 19:50:00 +0200

 As dbx@atmos.washington.edu wrote:
 
 > 	When I could straight to the floppy disk, the machine totally
 >         freezes after about 5-10 seconds.  Only a cold boot restarts the
 >         machine.
 > 
 > >How-To-Repeat:
 > 
 > 	dd if=large_file bs=40k of=/dev/fd0.1440
 >         cat large_file >/dev/fd0.1440
 
 Well, that's nothing repeatable for me.  Try giving more points.
 
 Also, you should never, _never_ use the block device for raw file
 data.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)

From: "\"Doug Burks\"" <dbx@atmos.washington.edu>
To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/3156: Floppy disk copy freezes
Date: Mon, 31 Mar 1997 10:27:28 -0800 (PST)

 Joerg,
 
         When I could straight to the floppy disk, the machine totally
         freezes after about 5-10 seconds.  Only a cold boot restarts the
         machine.
 
     [...]
 
     Also, you should never, _never_ use the block device for raw file
     data.
 
 When I use the character device for the floppy copy, everything works
 smoothly.  Maybe my setup is the prime example of why one "should never,
 _never_ use the block device for raw file data."  :(
 
 As for the original problem, it still exists, but this workaround is
 certainly quite easy.  As for more information, I can't add much.  ANY
 time under ANY conditions whenever I try to copy a large file onto a raw
 block floppy device, the computer completely freezes after a few
 seconds.  The only other clue I have is that with the TURBO switch off
 (which cuts the board speed from 75MHz to 25MHz), it freezes almost im-
 mediately.  It sounds like some timing is off somewhere.  If no one else
 is reporting anything like this, maybe my floppy drive is a bit flaky.
 This operation only fails under 2.2.1, as it worked under 2.1.5 and
 2.1.6, though slowed the computer down noticeably.
 
 Since this problem no longer prevents me from doing my work, you can do
 with this report what you will.
 
 Doug Burks
 dbx@atmos.washington.edu
 
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Aug 23 16:13:58 MEST 1997 
State-Changed-Why:  

The actual problem is supposed to have been fixed by Bruce some time 
ago.  The originator didn't care anyway after knowing the workaround 
of using the raw device. 
>Unformatted:
