Subject: port-i386/127: npx driver's resets may hang some systems
To: None <gnats-admin>
From: Brian de Alwis <bsdealwi@undergrad.math.uwaterloo.ca>
List: netbsd-bugs
Date: 02/12/1994 14:50:07
>Number:         127
>Category:       port-i386
>Synopsis:       npx driver's resets may hang some systems
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 12 14:50:05 1994
>Originator:     Brian de Alwis
>Organization:
"	independent"
>Release:        -current at 2/6
>Environment:
	i386/33 with ***ITT 387-compatible NPX***
System: NetBSD portia 0.9a PORTIA#8 i386


>Description:
	On boot-up with a newly-compiled kernel, the system would
	get as far as calling npxprobe1() in the npx.c driver and
	lock-up.
>How-To-Repeat:
	Compile stock -current kernel and run on a machine that
	suffers from this problem.
>Fix:
*** npx.c	Thu Feb 10 09:32:25 1994
--- /sys/arch/i386/isa/npx.c	Thu Feb 10 09:29:38 1994
***************
*** 219,224 ****
--- 219,225 ----
  	 * it after a warm boot.
  	 */
  	outb(0xf1, 0);		/* full reset on some systems, NOP on others */
+ 	DELAY(1000);
  	outb(0xf0, 0);		/* clear BUSY# latch */
  	/*
  	 * Prepare to trap all ESC (i.e., NPX) instructions and all WAIT
>Audit-Trail:
>Unformatted:



------------------------------------------------------------------------------