From owner-freebsd-mobile@FreeBSD.ORG Fri Sep 22 00:14:37 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11D5816A415 for ; Fri, 22 Sep 2006 00:14:37 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 783EA43D49 for ; Fri, 22 Sep 2006 00:14:36 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 21023 invoked from network); 22 Sep 2006 10:14:35 +1000 Received: from 210-84-59-175.dyn.iinet.net.au (HELO localhost) (210.84.59.175) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 22 Sep 2006 10:14:35 +1000 Date: Fri, 22 Sep 2006 10:14:30 +1000 From: Norberto Meijome To: Andrea Bittau Message-ID: <20060922101430.6d8109e8@localhost> In-Reply-To: <20060921075352.GB3052@shorty.sorbonet.org> References: <20060921000628.GA1832@shorty.sorbonet.org> <20060921104433.754e3893@localhost> <20060921075352.GB3052@shorty.sorbonet.org> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: hack for getting suspend/resume to half work on an IBM Thinkpad x60s [SMP] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 00:14:37 -0000 On Thu, 21 Sep 2006 08:53:52 +0100 Andrea Bittau wrote: > On Thu, Sep 21, 2006 at 10:44:33AM +1000, Norberto Meijome wrote: > > would the apic patch work by itself with stable? I've got a z60m (uni-core > > I think it will. Just add the lapic_resume() function in local_apic.c and > then call it from intr_resume() in intr_machdep.c. Basically you only need > to apply 3 hunks from my diff: > 1) lapic_resume prototype > 2) lapic_resume call > 3) lapic_resume definition > > If the code works for you, I don't see why it shouldn't go in -CURRENT after > some style fixups. ok - i'll give it a try when i get some time. Right now, RELENG_6 is halting on every single resume. RELENG_6_1 works fine as long as I have pmtimer built in (otherwise the whole system crawls after a resume - and I mean literally crawls - 5 seconds for an enter to show the next prompt., 20 minutes to restart (usually takes 40 seconds from a completelly logged out state). cheers, B _________________________ {Beto|Norberto|Numard} Meijome "Against logic there is no armor like ignorance." Laurence J. Peter I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.