Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 13:28:57 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Wilko Bulte <wb@freebie.xs4all.nl>
Cc:        alpha@freebsd.org
Subject:   Re: Back to PR alpha/30486: broken floppy on DS10
Message-ID:  <20050616202857.GA2141@ns1.xcllnt.net>
In-Reply-To: <20050616201046.GA29464@freebie.xs4all.nl>
References:  <6fca0ff7c7549bdc2e59ad813c82a72b@xcllnt.net> <20050616201046.GA29464@freebie.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Jun 16, 2005 at 10:10:46PM +0200, Wilko Bulte wrote:
> 
> Well, on my DS10 I still see the failure.  Running a 'current' of May 25.
> 
> Obvious difference: mine is a 600MHz, your's a 466MHz.

Well, that's a start. Let's play with this for a bit. Can you
try the attached patch? It helps if you boot verbose and watch
out for fdc(4) related errors.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="fdc.diff"

Index: fdc.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/fdc/fdc.c,v
retrieving revision 1.283.2.7
diff -u -r1.283.2.7 fdc.c
--- fdc.c	1 Mar 2005 08:22:55 -0000	1.283.2.7
+++ fdc.c	16 Jun 2005 20:25:39 -0000
@@ -494,10 +494,10 @@
 
 	/* Try a reset, keep motor on */
 	fdout_wr(fdc, fdc->fdout & ~(FDO_FRST|FDO_FDMAEN));
-	DELAY(100);
+	DELAY(1000);
 	/* enable FDC, but defer interrupts a moment */
 	fdout_wr(fdc, fdc->fdout & ~FDO_FDMAEN);
-	DELAY(100);
+	DELAY(1000);
 	fdout_wr(fdc, fdc->fdout);
 
 	/* XXX after a reset, silently believe the FDC will accept commands */
@@ -1593,7 +1593,7 @@
 	 * Clear the reset and see it come ready.
 	 */
 	fdout_wr(fdc, FDO_FRST);
-	DELAY(100);
+	DELAY(1000);
 	if (fdsts_rd(fdc) != 0x80)
 		return (ENXIO);
 

--Qxx1br4bt0+wmkIi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050616202857.GA2141>