From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 4 11:08:19 2006 Return-Path: X-Original-To: freebsd-acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2982916A40F for ; Mon, 4 Dec 2006 11:08:19 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A10343CC9 for ; Mon, 4 Dec 2006 11:07:30 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB4B811r045265 for ; Mon, 4 Dec 2006 11:08:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB4B80Oa045261 for freebsd-acpi@FreeBSD.org; Mon, 4 Dec 2006 11:08:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Dec 2006 11:08:00 GMT Message-Id: <200612041108.kB4B80Oa045261@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 04 Dec 2006 11:08:19 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o kern/55822 acpi No ACPI power off with SMP kernel o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/64002 acpi acpi problem o i386/67273 acpi [hang] system hangs with acpi and Xfree o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/79080 acpi acpi thermal changes freezes HP nx6110 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther 10 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/67309 acpi zzz reboot computer (ACPI S3) o i386/69750 acpi Boot without ACPI failed on ASUS L5 o kern/73823 acpi [feature request] acpi / power-on by timer support f kern/74030 acpi Unplugging AC causes battery % to stay locked at 98% f kern/90871 acpi ACPI problems with ASUS A8N-VM-CSM o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI o kern/98171 acpi [acpi] ACPI 1304 / 0501 errors on Acer 5024WLMi Laptop o kern/103365 acpi [acpi] acpi poweroff doesn't work with geli device att 8 problems total. From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 7 00:10:34 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDFF216A403 for ; Thu, 7 Dec 2006 00:10:34 +0000 (UTC) (envelope-from lboehne@damogran.de) Received: from cthulhu.zoidberg.org (zoidberg.org [213.133.99.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B572943CA6 for ; Thu, 7 Dec 2006 00:09:42 +0000 (GMT) (envelope-from lboehne@damogran.de) Received: from [192.168.2.100] (dslb-084-063-010-103.pools.arcor-ip.net [::ffff:84.63.10.103]) (AUTH: PLAIN kasperle, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by cthulhu.zoidberg.org with esmtp; Thu, 07 Dec 2006 01:10:29 +0100 id 038027AB.45775BF5.0000503F Message-ID: <45775BC9.5060102@damogran.de> Date: Thu, 07 Dec 2006 01:09:45 +0100 From: Lutz Boehne User-Agent: Thunderbird 1.5.0.8 (X11/20061120) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: screen dead after resume on Thinkpad X30 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: Thu, 07 Dec 2006 00:10:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm tracking RELENG_6 and after one upgrade, my Thinkpad X30 does not properly wake up out of standby anymore. After waking up, the laptop will still respond to key presses and I am able to reboot it by pressing Ctrl-Alt-Del, but nothing will appear on the screen until I see the BIOS POST. I spent some time to narrow down which changes in RELENG_6 seem to be responsible and found out that RELENG_6 from August 16th 2006 12:01am works fine and that RELENG_6 from 08:00pm that day does not. Candidate files are: src/sys/dev/acpica/acpi_video.c src/sys/i386/acpica/acpi_machdep.c src/sys/i386/acpica/acpi_wakecode.S src/sys/i386/acpica/acpi_wakeup.c I locally replaced those files in today's RELENG_6 with versions from before August 16th, built/installed kernel and world and resume works properly again. If anybody would like to investigate further, I'd gladly supply more information, just let me know what you need. Best regards, Lutz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFd1vGDbEkl9DbWrYRAvdEAJ0bA9t/DVlNhcuod07j32DFTccMVQCeL2f4 d0azMcfHbLvzwsObkeio61Q= =dIPf -----END PGP SIGNATURE----- From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 7 05:02:02 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7592416A40F for ; Thu, 7 Dec 2006 05:02:02 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F0BA43CA7 for ; Thu, 7 Dec 2006 05:01:11 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id QAA04662; Thu, 7 Dec 2006 16:01:45 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 7 Dec 2006 16:01:44 +1100 (EST) From: Ian Smith To: Lutz Boehne In-Reply-To: <45775BC9.5060102@damogran.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: screen dead after resume on Thinkpad X30 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: Thu, 07 Dec 2006 05:02:02 -0000 On Thu, 7 Dec 2006, Lutz Boehne wrote: > I'm tracking RELENG_6 and after one upgrade, my Thinkpad X30 does not > properly wake up out of standby anymore. After waking up, the laptop > will still respond to key presses and I am able to reboot it by pressing > Ctrl-Alt-Del, but nothing will appear on the screen until I see the BIOS > POST. > > I spent some time to narrow down which changes in RELENG_6 seem to be > responsible and found out that RELENG_6 from August 16th 2006 12:01am > works fine and that RELENG_6 from 08:00pm that day does not. > > Candidate files are: > src/sys/dev/acpica/acpi_video.c > src/sys/i386/acpica/acpi_machdep.c > src/sys/i386/acpica/acpi_wakecode.S > src/sys/i386/acpica/acpi_wakeup.c > > I locally replaced those files in today's RELENG_6 with versions from > before August 16th, built/installed kernel and world and resume works > properly again. Not sure if it's your {,only} problem, but the default value for hw.acpi.reset_video changed fairly recently, I think from 1 to 0, as I had to set hw.acpi.reset_video=0 in /etc/sysctl.conf on a Thinkpad T23 on 6.1-RELEASE. You'll find recent references to this in the archives. Try hardwiring the value from your working version into sysctl.conf. FWIW, I also needed hw.syscons.sc_no_suspend_vtswitch=1 on the T23. Cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 7 08:32:13 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 167B916A47E for ; Thu, 7 Dec 2006 08:32:13 +0000 (UTC) (envelope-from lboehne@damogran.de) Received: from cthulhu.zoidberg.org (zoidberg.org [213.133.99.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608A143C9D for ; Thu, 7 Dec 2006 08:31:21 +0000 (GMT) (envelope-from lboehne@damogran.de) Received: from [192.168.2.100] (dslb-084-063-015-233.pools.arcor-ip.net [::ffff:84.63.15.233]) (AUTH: PLAIN kasperle, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by cthulhu.zoidberg.org with esmtp; Thu, 07 Dec 2006 09:32:11 +0100 id 0600EA16.4577D18B.000063C9 Message-ID: <4577D15F.2020102@damogran.de> Date: Thu, 07 Dec 2006 09:31:27 +0100 From: Lutz Boehne User-Agent: Thunderbird 1.5.0.8 (X11/20061120) MIME-Version: 1.0 To: Ian Smith References: In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: screen dead after resume on Thinkpad X30 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: Thu, 07 Dec 2006 08:32:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Not sure if it's your {,only} problem, but the default value for > hw.acpi.reset_video changed fairly recently, I think from 1 to 0, as I > had to set hw.acpi.reset_video=0 in /etc/sysctl.conf on a Thinkpad T23 > on 6.1-RELEASE. You'll find recent references to this in the archives. Yes, changing the value of that sysctl to 1 fixes everything. Thanks :) Best regards, Lutz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFd9FdDbEkl9DbWrYRAqU2AJsGx0Vzb+vg9iKDSYsDqa9joR/qTgCdGbAG U1PB3VdJGDBMK3lM1NOVeuw= =24Cb -----END PGP SIGNATURE----- From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 8 03:55:24 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C94F16A47B for ; Fri, 8 Dec 2006 03:55:24 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD01243CA6 for ; Fri, 8 Dec 2006 03:54:28 +0000 (GMT) (envelope-from nate@root.org) Received: (qmail 85846 invoked from network); 8 Dec 2006 03:55:25 -0000 Received: from ppp-71-139-31-204.dsl.snfc21.pacbell.net (HELO ?10.0.5.59?) (nate-mail@71.139.31.204) by root.org with ESMTPA; 8 Dec 2006 03:55:25 -0000 Message-ID: <4578E223.8060302@root.org> Date: Thu, 07 Dec 2006 19:55:15 -0800 From: Nate Lawson User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Ian Smith References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: screen dead after resume on Thinkpad X30 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: Fri, 08 Dec 2006 03:55:24 -0000 Ian Smith wrote: > On Thu, 7 Dec 2006, Lutz Boehne wrote: > > > I'm tracking RELENG_6 and after one upgrade, my Thinkpad X30 does not > > properly wake up out of standby anymore. After waking up, the laptop > > will still respond to key presses and I am able to reboot it by pressing > > Ctrl-Alt-Del, but nothing will appear on the screen until I see the BIOS > > POST. > > > > I spent some time to narrow down which changes in RELENG_6 seem to be > > responsible and found out that RELENG_6 from August 16th 2006 12:01am > > works fine and that RELENG_6 from 08:00pm that day does not. > > > > Candidate files are: > > src/sys/dev/acpica/acpi_video.c > > src/sys/i386/acpica/acpi_machdep.c > > src/sys/i386/acpica/acpi_wakecode.S > > src/sys/i386/acpica/acpi_wakeup.c > > > > I locally replaced those files in today's RELENG_6 with versions from > > before August 16th, built/installed kernel and world and resume works > > properly again. > > Not sure if it's your {,only} problem, but the default value for > hw.acpi.reset_video changed fairly recently, I think from 1 to 0, as I > had to set hw.acpi.reset_video=0 in /etc/sysctl.conf on a Thinkpad T23 > on 6.1-RELEASE. You'll find recent references to this in the archives. > > Try hardwiring the value from your working version into sysctl.conf. > > FWIW, I also needed hw.syscons.sc_no_suspend_vtswitch=1 on the T23. Thanks for answering. The reason why the default is now 0 is that it caused some systems to spontaneously reset if it was 1. I did a quick check and it seemed that 1 causes more trouble overall than 0 so 0 is the default. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 8 05:30:56 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1D4E16A416 for ; Fri, 8 Dec 2006 05:30:56 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0EE243CB3 for ; Fri, 8 Dec 2006 05:29:58 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id QAA15904; Fri, 8 Dec 2006 16:30:34 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 8 Dec 2006 16:30:33 +1100 (EST) From: Ian Smith To: Nate Lawson In-Reply-To: <4578E223.8060302@root.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: screen dead after resume on Thinkpad X30 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: Fri, 08 Dec 2006 05:30:56 -0000 On Thu, 7 Dec 2006, Nate Lawson wrote: > Ian Smith wrote: > > On Thu, 7 Dec 2006, Lutz Boehne wrote: > > > > > I'm tracking RELENG_6 and after one upgrade, my Thinkpad X30 does not > > > properly wake up out of standby anymore. After waking up, the laptop > > > will still respond to key presses and I am able to reboot it by pressing > > > Ctrl-Alt-Del, but nothing will appear on the screen until I see the BIOS > > > POST. > > > > > > I spent some time to narrow down which changes in RELENG_6 seem to be > > > responsible and found out that RELENG_6 from August 16th 2006 12:01am > > > works fine and that RELENG_6 from 08:00pm that day does not. > > > > > > Candidate files are: > > > src/sys/dev/acpica/acpi_video.c > > > src/sys/i386/acpica/acpi_machdep.c > > > src/sys/i386/acpica/acpi_wakecode.S > > > src/sys/i386/acpica/acpi_wakeup.c > > > > > > I locally replaced those files in today's RELENG_6 with versions from > > > before August 16th, built/installed kernel and world and resume works > > > properly again. > > > > Not sure if it's your {,only} problem, but the default value for > > hw.acpi.reset_video changed fairly recently, I think from 1 to 0, as I > > had to set hw.acpi.reset_video=0 in /etc/sysctl.conf on a Thinkpad T23 > > on 6.1-RELEASE. You'll find recent references to this in the archives. > > > > Try hardwiring the value from your working version into sysctl.conf. > > > > FWIW, I also needed hw.syscons.sc_no_suspend_vtswitch=1 on the T23. > > Thanks for answering. The reason why the default is now 0 is that it > caused some systems to spontaneously reset if it was 1. I did a quick > check and it seemed that 1 causes more trouble overall than 0 so 0 is > the default. Fair enough too .. but since this is likely to catch a few more folks unawares, do you think it may be worth a mention in /usr/src/UPDATING? Cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 8 21:59:44 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB34416A40F for ; Fri, 8 Dec 2006 21:59:44 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id F00F943CC9 for ; Fri, 8 Dec 2006 21:57:36 +0000 (GMT) (envelope-from nate@root.org) Received: (qmail 16491 invoked from network); 8 Dec 2006 21:58:33 -0000 Received: from adsl-67-119-74-222.dsl.sntc01.pacbell.net (HELO ?10.0.0.44?) (nate-mail@67.119.74.222) by root.org with ESMTPA; 8 Dec 2006 21:58:33 -0000 Message-ID: <4579DFFF.1090200@root.org> Date: Fri, 08 Dec 2006 13:58:23 -0800 From: Nate Lawson User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Ian Smith References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: screen dead after resume on Thinkpad X30 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: Fri, 08 Dec 2006 21:59:45 -0000 Ian Smith wrote: > On Thu, 7 Dec 2006, Nate Lawson wrote: > > Ian Smith wrote: > > > Not sure if it's your {,only} problem, but the default value for > > > hw.acpi.reset_video changed fairly recently, I think from 1 to 0, as I > > > had to set hw.acpi.reset_video=0 in /etc/sysctl.conf on a Thinkpad T23 > > > on 6.1-RELEASE. You'll find recent references to this in the archives. > > > > > > Try hardwiring the value from your working version into sysctl.conf. > > > > > > FWIW, I also needed hw.syscons.sc_no_suspend_vtswitch=1 on the T23. > > > > Thanks for answering. The reason why the default is now 0 is that it > > caused some systems to spontaneously reset if it was 1. I did a quick > > check and it seemed that 1 causes more trouble overall than 0 so 0 is > > the default. > > Fair enough too .. but since this is likely to catch a few more folks > unawares, do you think it may be worth a mention in /usr/src/UPDATING? I'll try to get it into the release notes for 6.2. -- Nate