Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 1997 10:23:34 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        FreeBSD Mobile <freebsd-mobile@freebsd.org>
Subject:   Re: problems resuming hard disk... 
Message-ID:  <21387.878635414@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 04 Nov 1997 00:30:22 PST." <19971104003022.26835@hydrogen.nike.efn.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <19971104003022.26835@hydrogen.nike.efn.org>, John-Mark Gurney writes
:
>well.. the new resume code works beautifully on my Toshiba T1960CS..
>now I have major problems resuming when I have multi-block enabled
>on the hard disk... if I have it disabled, it comes up immediately,
>otherwise sometimes I have to wait for it to unwedge... other times
>it failes to unwedge, and I loose my machine...

I have a patch in for review with John Dyson, but have not heard from
him yet.

Try this patch:

Index: /sys/i386/isa/wd.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/isa/wd.c,v
retrieving revision 1.141
diff -u -r1.141 wd.c
--- wd.c	1997/10/12 16:22:01	1.141
+++ wd.c	1997/10/28 17:03:43
@@ -1,3 +1,4 @@
+#define DISABLE_PCI_IDE 1
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -453,6 +454,7 @@
 		du->dk_lunit = lunit;
 		du->dk_port = dvp->id_iobase;
 
+		du->dk_altport = du->dk_port + wd_ctlr;
 		/*
 		 * Use the individual device flags or the controller
 		 * flags.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."



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