From owner-freebsd-mobile Tue Nov 4 01:24:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA27592 for mobile-outgoing; Tue, 4 Nov 1997 01:24:47 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA27577 for ; Tue, 4 Nov 1997 01:24:41 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id KAA21389; Tue, 4 Nov 1997 10:23:35 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John-Mark Gurney cc: FreeBSD Mobile Subject: Re: problems resuming hard disk... In-reply-to: Your message of "Tue, 04 Nov 1997 00:30:22 PST." <19971104003022.26835@hydrogen.nike.efn.org> Date: Tue, 04 Nov 1997 10:23:34 +0100 Message-ID: <21387.878635414@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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."