Subject: port-sparc/5740: fd/fdc do not like being accessed with no floppy
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 07/11/1998 05:44:42
>Number:         5740
>Category:       port-sparc
>Synopsis:       fd/fdc do not like being accessed with no floppy
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 10 23:20:01 1998
>Last-Modified:
>Originator:     matthew green
>Organization:
people's front against (bozotic) www (softwar foundation)
>Release:        <NetBSD-current source date>june 28, 1998.
>Environment:
	
System: NetBSD splode.eterna.com.au 1.3F NetBSD 1.3F (_splode_) #380: Mon Jun 29 00:08:52 EST 1998 mrg@splode.eterna.com.au:/orb/v/src/sys/arch/sparc/compile/_splode_ sparc


>Description:
	
	when attempting to access the floppy drive when no floppy is present is
	not a happy thing to do.  it leaves an unkillable process until the moment
	you insert a floppy.

>How-To-Repeat:

	i did this, with no floppy present:

		- reboot IPX
		- login
		- run "mount -t msdos /dev/fd0a /floppy" as root
		- watch it hang
		- continue to watch it hang
		- hit ^C
		- watch it continue to hang
		- run dmesg and notice that it is slowly filling with:
			fd0: timeout: state 7
			fdc: spurious interrupt: state 8, istate=3
		- try to kill -9 `mount_msdos' but fail.
		- insert floppy in drive and watch mount_msdos complete.
		- have everything else continue as normal

>Fix:

	unknown.

>Audit-Trail:
>Unformatted: