From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 13 20:59:36 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D3041065680 for ; Mon, 13 Jul 2009 20:59:36 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.freebsd.org (Postfix) with ESMTP id 1329E8FC0A for ; Mon, 13 Jul 2009 20:59:35 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from know-smtpout-1.server.virginmedia.net ([62.254.123.1]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090713205934.RRMZ5579.mtaout03-winn.ispmail.ntl.com@know-smtpout-1.server.virginmedia.net>; Mon, 13 Jul 2009 21:59:34 +0100 Received: from [86.25.233.126] (helo=ideapad.piggybox) by know-smtpout-1.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1MQScY-00036b-Gv; Mon, 13 Jul 2009 21:59:34 +0100 Received: from ideapad.piggybox (localhost [127.0.0.1]) by ideapad.piggybox (8.14.3/8.14.3) with ESMTP id n6DJwc6d001190; Mon, 13 Jul 2009 20:58:38 +0100 (BST) (envelope-from peter@ideapad.piggybox) Received: (from peter@localhost) by ideapad.piggybox (8.14.3/8.14.3/Submit) id n6DJwbVh001189; Mon, 13 Jul 2009 20:58:37 +0100 (BST) (envelope-from peter) Date: Mon, 13 Jul 2009 20:58:36 +0100 From: Peter Harrison To: David Naylor Message-ID: <20090713195836.GA1093@ideapad.piggybox> References: <200906181407.11607.naylor.b.david@gmail.com> <200906231655.23010.naylor.b.david@gmail.com> <20090707203731.GA1629@ideapad.piggybox> <200907131447.24702.naylor.b.david@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200907131447.24702.naylor.b.david@gmail.com> User-Agent: Mutt/1.4.2.3i X-Cloudmark-Analysis: v=1.0 c=1 a=_wJHx4XL4EPAZI7ZfI0A:9 a=wjAHmYJ2yUFPK-7ERvIA:7 a=W5j-acqECIlX4h0M0o5yFcqQzD0A:4 a=NJ7dAtvmrk0A:10 a=JF6HnZI5wJYA:10 a=JIsEiHWXfelEqLHO:21 a=3GcGQXWB-yU4ZnDu:21 Cc: freebsd-acpi@freebsd.org, Peter Harrison Subject: Re: [PATCH] Lenovo S10(e) ACPI X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 20:59:37 -0000 Monday, 13 July 2009 at 14:47:21 +0200, David Naylor said: > On Tuesday 07 July 2009 22:37:31 Peter Harrison wrote: > > Tuesday, 23 June 2009 at 16:55:19 +0200, David Naylor said: > > > On Monday 22 June 2009 21:20:34 Peter Harrison wrote: > > > > > David > > > > > > > > Hi David, > > > > > > > > Thanks for coming back to me - I haven't had a chance to test the new > > > > patch yet, but will get on to it as soon as I can. > > > > > > > > Is just a kernel rebuild enough after patching? Last time a did kernel > > > > + world to pick up the last security advisory too and it was a bit > > > > painful (even slower than my old Celeron M based Dell laptop). > > > > > > If you don't have ACPI compiled into the kernel then only that module > > > needs to be rebuilt, otherwise only the kernel needs to be rebuilt. > > > > OK. I've run the new patch and reinstalled acpi. > > > > My system will now boot without problem, and shows none of the error > > messages relating to acpi in /var/log/messages. Thanks for this. > > > > It now powers off sporadically. Sometimes it will, sometimes it won't. > > I'm assuming you mean a `shutdown -p now` will not cut the power, as apposed > to the netbook randomly cuts power without warning? Yes - I didn't make myself clear here. `shutdown -p now` will sometimes cut the power at the appropriate time, sometimes it will not. > > > But it's certainly a whole lot better than it was, so thanks for all your > > help. > > First some diagnostics, please do the following: > 1) On a console: > # uname -a FreeBSD ideapad.piggybox 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #0: Sat Jun 20 11:03:21 BST 2009 peter@ideapad.piggybox:/usr/obj/usr/src/sys/GENERIC i386 > # sysctl debug.acpi debug.acpi.suspend_bounce: 0 debug.acpi.do_powerstate: 1 debug.acpi.acpi_ca_version: 20070320 debug.acpi.ec.timeout: 100 debug.acpi.ec.polled: 0 debug.acpi.ec.gpe: 1 debug.acpi.ec.delay: 200 debug.acpi.ec.burst: 0 debug.acpi.batt.batt_sleep_ms: 0 debug.acpi.semaphore_debug: 0 debug.acpi.resume_beep: 0 > 2) What version are you using (I've got the S10e)? S10e - BIOS reports model number 40684AG > 3) What version of the BIOS are you running? BIOS version is 14CN51WW > 4) Is there any predictors as to when the system will not shutdown? Not that I've been able to determine. I thought at one point that it had to do with the amount of charge in the battery, or whether it was mains connected. But I can't detect a pattern. > 5) What are the last messages printed on the console (when shutdown fails)? Sometimes normal 'Syncing disks, vnodes remaining...' sometimes the correct message but garbled. Whether the message is garbled or not seems to have no bearing on whether the system powers off or not. > > A few things you can try to fix the problem: > 1) Go into the BIOS settings (and just exit, this resets some stuff) > 2) Try playing with debug.acpi.ec.* (especially with delay [remember a value > of 0 disables any delay]). > 3) Upgrade to -current (or try a newer version of the ACPICA driver for 7) > 4) Flash the BIOS to the latest version (released in May) I'll have a play with the debug.acpi.ec.* settings first and check my BIOS version and report back. Thanks again for the continuing help. Peter. > > I don't have the problem that you describe so I'm hoping it results from a > difference between our systems (a difference that can be bridged). > > > > > I'm still reeling from a packaged based upgrade of Firefox (still took > > > > a while, even using packages). > > > > > > > > Thanks again for your help. > > > > > > I'll be away for the next 3 weeks so can only help you after that. > > > > Hope you enjoyed your time away. > > I did, thanks