Subject: Re: Generating a crash dump...
To: John Hawkinson <jhawk@mit.edu>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 05/27/2000 18:10:00
--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii

Ops, the problem is an error on my side sorry. When I changed the state
code some time ago I forgot to update the wddump() one. The state *is* reset
at the beggining of the dump.
The attached patch should fix it (I also just commited it).

--
Manuel Bouyer <bouyer@antioche.eu.org>
--

--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

Index: wd.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/ata/wd.c,v
retrieving revision 1.204
diff -u -r1.204 wd.c
--- wd.c	2000/05/15 08:32:07	1.204
+++ wd.c	2000/05/27 16:07:38
@@ -1186,7 +1186,7 @@
 	if (wddumprecalibrated == 0) {
 		wddumpmulti = wd->sc_multi;
 		wddumprecalibrated = 1;
-		wd->drvp->state = RECAL;
+		wd->drvp->state = RESET;
 	}
   
 	while (nblks > 0) {

--45Z9DzgjV8m4Oswq--