Subject: port-i386/2080: panic when dd-ing to floppy
To: None <gnats-bugs@NetBSD.ORG>
From: Arne Henrik Juul <arnej@imf.unit.no>
List: netbsd-bugs
Date: 02/15/1996 11:24:46
>Number:         2080
>Category:       port-i386
>Synopsis:       panic when dd-ing to floppy
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 15 05:35:09 1996
>Last-Modified:
>Originator:     Arne H. Juul
>Organization:
	Norwegian University of Technology and Science
>Release:        NetBSD-current 1996-02-14
>Environment:
	
System: NetBSD leon.imf.unit.no 1.1A NetBSD 1.1A (NIKITA) #3: Wed Feb 14 15:34:27 MET 1996 root@leon.imf.unit.no:/usr/src/sys/arch/i386/compile/NIKITA i386


	Note:  This machine has 32MB ram, but because it also has an
Adaptec 1542B I'm running with a patch that disables the ram above 16MB.
I don't think this problem is related but I'm not familiar enough with
PC hardware to say for sure.


>Description:
	I was going to make a NetBSD 1.1 boot diskette, but the machine
	crashes instead.

>How-To-Repeat:
	Get (for example) inst-11.fs from ftp.netbsd.org in /tmp, then do:

# dd if=inst-11.fs of=/dev/rfd0a bs=9k

	I get the same panic every time.  I've included most of the call stack:

panic: disk.unbusy: fd0: dk_busy < 0
stopped in _Debugger+0x4: leave
db> t
_Debugger
_panic
_disk_unbusy+0x26
_fdcintr+0x46b
_Xrecurse6+0x63
---interrupt---
_idle+0xd
bpendtsleep
_physio+0x1f1
_fdwrite+0x1c
_spec_write+0xae
_ufsspec_write+0x24
_vn_write+0xcf
_sys_write+0xa4
_syscall+0x158



>Fix:
	I have no idea.
>Audit-Trail:
>Unformatted: