From owner-freebsd-mobile@FreeBSD.ORG Sat Sep 23 16:04:58 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 3989A16A522 for ; Sat, 23 Sep 2006 16:04:58 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id A566A43DC1 for ; Sat, 23 Sep 2006 16:04:34 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1GR9zO-0005ic-00; Sat, 23 Sep 2006 18:04:26 +0200 Date: Sat, 23 Sep 2006 18:04:26 +0200 To: Norberto Meijome Message-ID: <20060923160426.GU4945@poupinou.org> References: <20060921000628.GA1832@shorty.sorbonet.org> <20060921104433.754e3893@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060921104433.754e3893@localhost> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: Andrea Bittau , 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: Sat, 23 Sep 2006 16:04:58 -0000 On Thu, Sep 21, 2006 at 10:44:33AM +1000, Norberto Meijome wrote: > On Thu, 21 Sep 2006 01:06:28 +0100 > Andrea Bittau wrote: > > > 2) apic. FreeBSD reconfigures the io apic upon resume, but not the local > > apic. The patch attached to this mail fixes this. Indeed, it almost does so > > in the "proper" way and not so much of a hack =D. > > Hi Andrea, > would the apic patch work by itself with stable? I've got a z60m (uni-core > though), but resume just wont work while apic is enabled. I'd be happy to test > it if you think it'd help (and there is some chance it'll work). > On uniprocessor systems you should consider atpic anyway if you want more powersaving. According to acpi(4) in BUGS section, there are some bugs still so that you can't use advanced power states into the idle loop and having a reliable lapic timer at the same time. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.