From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 12 04:25:34 2007 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 2294316A401 for ; Mon, 12 Mar 2007 04:25:34 +0000 (UTC) (envelope-from zflyer@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.182]) by mx1.freebsd.org (Postfix) with ESMTP id B49D713C448 for ; Mon, 12 Mar 2007 04:25:33 +0000 (UTC) (envelope-from zflyer@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so1537243ika for ; Sun, 11 Mar 2007 21:25:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=M6Dww2tdrx7xy1rEZVS7hwmL3g2MIjUfvzK10obiQ9cio2Ip1AvYBpOg0s8qMybQ4nk83dEcuI4B2zN648lSJRxGi/keZQQBbAXxiurK9Vhbdb/Hm88jqWaMmnCknQgz3vSwQmalulqCc1pZwY3P0AAfo8+6lXBtJKA5652ziUE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tuWaIHFxyaYrMqLbjs7oWFkT/breaWqAwHVfn0L4qjgSA6evuFEYrlPW1Qm4SmvhSfJI9BbAhSk2vi6OazAe9xyPY4z1nNmngpAS4g36o9srGsDJz7mQz0bSMvEz4FF7B/Zgv6c7XM383DDkydGjuUx++4QoxPddmy/PvdMmDsY= Received: by 10.70.38.12 with SMTP id l12mr9522583wxl.1173672080833; Sun, 11 Mar 2007 21:01:20 -0700 (PDT) Received: by 10.100.12.12 with HTTP; Sun, 11 Mar 2007 21:01:20 -0700 (PDT) Message-ID: <6293ba970703112101l140170di4b0db98a59cf47ee@mail.gmail.com> Date: Mon, 12 Mar 2007 00:01:20 -0400 From: Steve To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Possible ACPI shutdown/power off issue 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, 12 Mar 2007 04:25:34 -0000 I'm using 6.2-R on a Dell PowerEdge 400SC. I recently enabled "Remote Wake Up" (Wake on LAN) in BIOS. Sending a magic packet to the powered down PC will power it up and it boots normally. However, now if I attempt a shutdown and power off using commands "halt -p" or "shutdown -p now" I get a reboot. Disabling WOL reverts back to the expected behavior. I've searched and found the sysctl knob "hw.acpi.disable_on_poweroff" as a possible solution, but sysctl gives me "unknown oid". I'm guessing this issue is related to ACPI. I'm puzzled why enabling WOL would have this impact. Any ideas on how to fix or troubleshoot this? Thank you. Steve From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 12 05:37:56 2007 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 9102016A400 for ; Mon, 12 Mar 2007 05:37:56 +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 612DF13C448 for ; Mon, 12 Mar 2007 05:37:56 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 17509 invoked from network); 12 Mar 2007 05:37:45 -0000 Received: from ppp-71-139-18-69.dsl.snfc21.pacbell.net (HELO ?10.0.0.235?) (nate-mail@71.139.18.69) by root.org with ESMTPA; 12 Mar 2007 05:37:45 -0000 Message-ID: <45F4E71E.5000707@root.org> Date: Sun, 11 Mar 2007 22:37:34 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.7 (X11/20061027) MIME-Version: 1.0 To: Steve References: <6293ba970703112101l140170di4b0db98a59cf47ee@mail.gmail.com> In-Reply-To: <6293ba970703112101l140170di4b0db98a59cf47ee@mail.gmail.com> 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: Possible ACPI shutdown/power off issue 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, 12 Mar 2007 05:37:56 -0000 Steve wrote: > I'm using 6.2-R on a Dell PowerEdge 400SC. > > I recently enabled "Remote Wake Up" (Wake on LAN) in BIOS. Sending a > magic packet to the powered down PC will power it up and it boots > normally. However, now if I attempt a shutdown and power off using > commands "halt -p" or "shutdown -p now" I get a reboot. Disabling WOL > reverts back to the expected behavior. > > I've searched and found the sysctl knob "hw.acpi.disable_on_poweroff" > as a possible solution, but sysctl gives me "unknown oid". > > I'm guessing this issue is related to ACPI. I'm puzzled why enabling > WOL would have this impact. Any ideas on how to fix or troubleshoot > this? Thank you. sysctl -a shows: hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 The former is probably the one you want. The latter tells it to use the Reset Register to reboot the system. That might help also. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 12 11:08:10 2007 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 2D34E16A400 for ; Mon, 12 Mar 2007 11:08:10 +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 03E6713C44C for ; Mon, 12 Mar 2007 11:08:10 +0000 (UTC) (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 l2CB89wi064981 for ; Mon, 12 Mar 2007 11:08:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2CB88AP064977 for freebsd-acpi@FreeBSD.org; Mon, 12 Mar 2007 11:08:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Mar 2007 11:08:08 GMT Message-Id: <200703121108.l2CB88AP064977@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, 12 Mar 2007 11:08:10 -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 o kern/106924 acpi ACPI resume returns g_vfs_done() errors and kernel pan 11 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 o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys 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 i386/97468 acpi [acpi] ACPI on ASUS A7V hangs on shutdown -p (power of o kern/98171 acpi [acpi] ACPI 1304 / 0501 errors on Acer 5024WLMi Laptop o i386/102343 acpi ACPI error o kern/103365 acpi [acpi] acpi poweroff doesn't work with geli device att o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/108488 acpi ACPI-1304: *** Error: Method execution failed o kern/108581 acpi sysctl: hw.acpi.cpu.cx_lowest: Invalid argument o kern/108695 acpi [ACPI]: Fatal trap 9: general protection fault when in o kern/109207 acpi ACPI Promlem 15 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 12 15:28:03 2007 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 8FCE216A4DC for ; Mon, 12 Mar 2007 15:28:03 +0000 (UTC) (envelope-from zflyer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 175E413C4B0 for ; Mon, 12 Mar 2007 15:28:02 +0000 (UTC) (envelope-from zflyer@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so2169410ugh for ; Mon, 12 Mar 2007 08:28:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KEbvJxS6o8xUjkFQ/78IGvTm+9k5mC+LcsK/xM91Xq2+Fk/AxBeXHNor4KmHBj33kHc3j/tqiMPPhgzq9+IOhVBr6gpvRhaOsE5fl7nWaYS7xJGRNn1GBX4+G/gTV0R7dcp+BJcqUsl0ks4Ma5k/9LSDiCDAeB0tHRQNlEA9Q18= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VoKPjuZ6x0KKTN/t/HcTYyqvs1iHDPCTNQTqySjWbBLMQF5C2PCU3QoaVtebCmkIWNnvOhskWG2jJxyDTSQiEmfd1BjV2eOnBcQZWi6kdy6R2i9l8IqVZpUaue2nLKG45G1C0cLqU5kW6b/U/u0hm2wDqzDIKl6K02qknHNFi0Y= Received: by 10.70.69.11 with SMTP id r11mr10845793wxa.1173713281512; Mon, 12 Mar 2007 08:28:01 -0700 (PDT) Received: by 10.100.12.12 with HTTP; Mon, 12 Mar 2007 08:28:01 -0700 (PDT) Message-ID: <6293ba970703120828v1c010b9cue4cb21516a2c94fe@mail.gmail.com> Date: Mon, 12 Mar 2007 11:28:01 -0400 From: Steve To: freebsd-acpi@freebsd.org In-Reply-To: <45F4E71E.5000707@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6293ba970703112101l140170di4b0db98a59cf47ee@mail.gmail.com> <45F4E71E.5000707@root.org> Subject: Re: Possible ACPI shutdown/power off issue 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, 12 Mar 2007 15:28:03 -0000 On 3/12/07, Nate Lawson wrote: > sysctl -a shows: > hw.acpi.disable_on_reboot: 0 > hw.acpi.handle_reboot: 0 > > The former is probably the one you want. The latter tells it to use the > Reset Register to reboot the system. That might help also. I tried both and I still get a reboot when using "halt -p". From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 12 17:26:12 2007 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 6016616A409 for ; Mon, 12 Mar 2007 17:26:12 +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 316CE13C480 for ; Mon, 12 Mar 2007 17:26:12 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 86232 invoked from network); 12 Mar 2007 17:26:12 -0000 Received: from ppp-71-139-18-69.dsl.snfc21.pacbell.net (HELO ?10.0.0.235?) (nate-mail@71.139.18.69) by root.org with ESMTPA; 12 Mar 2007 17:26:12 -0000 Message-ID: <45F58D29.4050804@root.org> Date: Mon, 12 Mar 2007 10:26:01 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.7 (X11/20061027) MIME-Version: 1.0 To: Steve References: <6293ba970703112101l140170di4b0db98a59cf47ee@mail.gmail.com> <45F4E71E.5000707@root.org> <6293ba970703120828v1c010b9cue4cb21516a2c94fe@mail.gmail.com> In-Reply-To: <6293ba970703120828v1c010b9cue4cb21516a2c94fe@mail.gmail.com> 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: Possible ACPI shutdown/power off issue 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, 12 Mar 2007 17:26:12 -0000 Steve wrote: > On 3/12/07, Nate Lawson wrote: >> sysctl -a shows: >> hw.acpi.disable_on_reboot: 0 >> hw.acpi.handle_reboot: 0 >> >> The former is probably the one you want. The latter tells it to use the >> Reset Register to reboot the system. That might help also. > > I tried both and I still get a reboot when using "halt -p". And how about: debug.acpi.do_powerstate=0 -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 14 10:40:43 2007 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 4FBF716A402 for ; Wed, 14 Mar 2007 10:40:43 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mail.cybernet.by [212.98.164.131]) by mx1.freebsd.org (Postfix) with ESMTP id C2E8013C4B7 for ; Wed, 14 Mar 2007 10:40:42 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.4]) by mx1.cybernet.by (Postfix) with ESMTP id 3DC253C06A8 for ; Wed, 14 Mar 2007 12:08:13 +0200 (EET) Received: by mx1.cybernet.by (Postfix, from userid 58) id 25D223C0697; Wed, 14 Mar 2007 12:08:13 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mx1.cybernet.by X-Spam-Level: X-Spam-Status: No, score=-2.3 required=8.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.1 Received: from deimos.bsd.by (partizan.velesys.com [213.184.230.195]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.cybernet.by (Postfix) with ESMTP id 5AC783C05F2 for ; Wed, 14 Mar 2007 12:08:08 +0200 (EET) Received: by deimos.bsd.by (Postfix, from userid 1001) id 96E9117028; Wed, 14 Mar 2007 12:10:26 +0200 (EET) To: freebsd-acpi@freebsd.org From: m.boyarov@bsd.by (Max N. Boyarov) Date: Wed, 14 Mar 2007 12:10:26 +0200 Message-ID: <86zm6gyw31.fsf@bsd.by> X-Mailer: Gnus v5.11/GNU Emacs 22.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV using ClamSMTP on mx1.cybernet.by Subject: latest Current and 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: Wed, 14 Mar 2007 10:40:43 -0000 Hi, After last update i have this messages in dmesg system power profile changed to 'economy' acpi_acad0: Off Line system power profile changed to 'performance' acpi_acad0: On Line system power profile changed to 'economy' acpi_acad0: Off Line system power profile changed to 'performance' acpi_acad0: On Line system power profile changed to 'economy' acpi_acad0: Off Line system power profile changed to 'performance' I have Lenovo ThinkPad T60 with Intel CoreDuo and see temperatre on tz0.temperature changes from 25C to 125 on tz1.temperature have 51C and dev.acpi_ibm.0.thermal shows 51C. also i dont understand this critical values, this must be equal or not? $ sysctl hw.acpi.thermal.tz0._CRT hw.acpi.thermal.tz0._CRT: 127,0C $ sysctl hw.acpi.thermal.tz1._CRT hw.acpi.thermal.tz1._CRT: 99,0C and when i try change value for hw.acpi.thermal.tz1._CRT $ sysctl hw.acpi.thermal.tz1._CRT hw.acpi.thermal.tz1._CRT: 99,0C $ sudo sysctl hw.acpi.thermal.tz1._CRT=100 i see in dmesg acpi_tz1: user-supplied temp value is absurd, ignored (-263.2C) some info dmesg can be found here: http://ncd0.bsd.by/out/dmesg all above not present in FreeBSD deimos.bsd.by 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Feb 28 10:24:45 EET 2007 root@deimos.bsd.by:/usr/obj/usr/src/sys/deimos i386 $ sysctl -a hw.acpi hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 1 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 1 hw.acpi.thermal.tz0.temperature: 46,0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 127,0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz1.temperature: 45,0C hw.acpi.thermal.tz1.active: -1 hw.acpi.thermal.tz1.passive_cooling: 0 hw.acpi.thermal.tz1.thermal_flags: 0 hw.acpi.thermal.tz1._PSV: 94,5C hw.acpi.thermal.tz1._HOT: -1 hw.acpi.thermal.tz1._CRT: 99,0C hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.battery.life: 99 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 $ sysctl dev.acpi_ibm.0 dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras dev.acpi_ibm.0.%driver: acpi_ibm dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0 dev.acpi_ibm.0.%parent: acpi0 dev.acpi_ibm.0.initialmask: 2060 dev.acpi_ibm.0.availmask: 16777215 dev.acpi_ibm.0.events: 0 dev.acpi_ibm.0.eventmask: 2060 dev.acpi_ibm.0.hotkey: 274 dev.acpi_ibm.0.lcd_brightness: 0 dev.acpi_ibm.0.volume: 2 dev.acpi_ibm.0.mute: 0 dev.acpi_ibm.0.thinklight: 0 dev.acpi_ibm.0.bluetooth: 1 dev.acpi_ibm.0.wlan: 1 dev.acpi_ibm.0.fan_speed: 3905 dev.acpi_ibm.0.fan_level: 7 dev.acpi_ibm.0.fan: 0 dev.acpi_ibm.0.thermal: 46 33 41 144 58 26 -1 26 -- Max N. Boyarov From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 14 18:43:00 2007 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 AF7B316A400 for ; Wed, 14 Mar 2007 18:43:00 +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 9272313C46A for ; Wed, 14 Mar 2007 18:43:00 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 65677 invoked from network); 14 Mar 2007 18:42:58 -0000 Received: from ppp-71-139-18-69.dsl.snfc21.pacbell.net (HELO ?10.0.0.235?) (nate-mail@71.139.18.69) by root.org with ESMTPA; 14 Mar 2007 18:42:58 -0000 Message-ID: <45F8422B.4050701@root.org> Date: Wed, 14 Mar 2007 11:42:51 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.7 (X11/20061027) MIME-Version: 1.0 To: "Max N. Boyarov" References: <86zm6gyw31.fsf@bsd.by> In-Reply-To: <86zm6gyw31.fsf@bsd.by> 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: latest Current and 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: Wed, 14 Mar 2007 18:43:00 -0000 Max N. Boyarov wrote: > Hi, > > After last update i have this messages in dmesg > > system power profile changed to 'economy' > acpi_acad0: Off Line > system power profile changed to 'performance' > acpi_acad0: On Line > system power profile changed to 'economy' > acpi_acad0: Off Line > system power profile changed to 'performance' > acpi_acad0: On Line > system power profile changed to 'economy' > acpi_acad0: Off Line > system power profile changed to 'performance' I assume you were not disconnecting AC power during that time? These would be normal messages if you were doing that. I think the recent EC update is your issue. I recently committed a major reworking of the embedded controller driver. See this message: http://lists.freebsd.org/pipermail/freebsd-current/2007-February/069525.html See this message for a list of things to try. The goal is to diagnose why the EC is timing out. The thermal misdetection is only a symptom. http://lists.freebsd.org/pipermail/freebsd-current/2007-February/069577.html The one I think would be most helpful is turning off burst mode, but I would appreciate your help seeing what combo of polling/total timeout works for you. debug.acpi.ec.burst=0 > I have Lenovo ThinkPad T60 with Intel CoreDuo > and see temperatre on tz0.temperature changes from 25C to 125 > on tz1.temperature have 51C and dev.acpi_ibm.0.thermal > shows 51C. > > also i dont understand this critical values, this must be equal or not? > $ sysctl hw.acpi.thermal.tz0._CRT > hw.acpi.thermal.tz0._CRT: 127,0C > $ sysctl hw.acpi.thermal.tz1._CRT > hw.acpi.thermal.tz1._CRT: 99,0C No, they don't have to be equal. It just means that if tz1 reaches 99C *or* tz0 reaches 127C, shut down the system. tz1 might be the system temp and tz0 might be the CPU temp. > and when i try change value for hw.acpi.thermal.tz1._CRT > $ sysctl hw.acpi.thermal.tz1._CRT > hw.acpi.thermal.tz1._CRT: 99,0C > $ sudo sysctl hw.acpi.thermal.tz1._CRT=100 > i see in dmesg > acpi_tz1: user-supplied temp value is absurd, ignored (-263.2C) The values are in Kelvin if you don't specify a qualifier. You need to use this (note the "C") sysctl hw.acpi.thermal.tz1._CRT=100C -- Nate From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 15 21:36:59 2007 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 21FEF16A404 for ; Thu, 15 Mar 2007 21:36:59 +0000 (UTC) (envelope-from zflyer@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id D7EA813C48C for ; Thu, 15 Mar 2007 21:36:58 +0000 (UTC) (envelope-from zflyer@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so335516ana for ; Thu, 15 Mar 2007 14:36:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B8FJ71vM5BZlGUPs5vVmxfiNie/jR4oazCsYttpfcxpKAhrmFPuq9K0l/JXMgdxbzZT9MaWT4Pz8Tmd4TgR+kMg7FnN6myhqejY8bxJ9uegyoNUVCNJAUHCeABHgD+u3/E7IW1NSxvI/UsXwGY8UkI2wJLtG7hI+7OQAHWuYRfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j/OTawH5v3CYKS4Z0mdhO55umqXcYXFT6j7vjhJRSr1YZHRf9XKcB5uNCLKJMG6iQDn/jvmI1VBpxe9ZLvKvUyAohoBEwnkUnvTrDX0dxS0d86WVt8gGpYMHb5aBUw08ILn8mlFzCtKV2h98FJM4K7HUUbJs9bInbnRkkUIUA3U= Received: by 10.100.37.4 with SMTP id k4mr1017098ank.1173994615718; Thu, 15 Mar 2007 14:36:55 -0700 (PDT) Received: by 10.100.12.12 with HTTP; Thu, 15 Mar 2007 14:36:55 -0700 (PDT) Message-ID: <6293ba970703151436p26a09de6m40284296bbc17630@mail.gmail.com> Date: Thu, 15 Mar 2007 17:36:55 -0400 From: Steve To: freebsd-acpi@freebsd.org In-Reply-To: <45F58D29.4050804@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6293ba970703112101l140170di4b0db98a59cf47ee@mail.gmail.com> <45F4E71E.5000707@root.org> <6293ba970703120828v1c010b9cue4cb21516a2c94fe@mail.gmail.com> <45F58D29.4050804@root.org> Subject: Re: Possible ACPI shutdown/power off issue 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, 15 Mar 2007 21:36:59 -0000 On 3/12/07, Nate Lawson wrote: > And how about: > debug.acpi.do_powerstate=0 No luck, but thanks for your suggestions. From owner-freebsd-acpi@FreeBSD.ORG Fri Mar 16 17:21:41 2007 Return-Path: X-Original-To: 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 5C86F16A402; Fri, 16 Mar 2007 17:21:41 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 10E4F13C448; Fri, 16 Mar 2007 17:21:40 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l2GGuQpt095708; Fri, 16 Mar 2007 12:56:26 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: acpi@FreeBSD.org Date: Fri, 16 Mar 2007 12:56:19 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200703161256.23996.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/2850/Fri Mar 16 07:05:03 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: current@FreeBSD.org Subject: [HEADSUP] ACPI-CA 20070126 import 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, 16 Mar 2007 17:21:41 -0000 I will import ACPI-CA 20070126 from Intel some time next week. Current mega-patch against -CURRENT is here: http://people.freebsd.org/~jkim/acpica-import-20070126.diff.gz (Note: Sorry, I had to gzip(1) it because it was too big.) This patch should fix many ACPI issues in -CURRENT (ACPI-CA 20051021), most notably memory leak. Full change log for ACPI-CA from the last import is here: http://people.freebsd.org/~jkim/acpica_changes_20051021_20070126.txt I believe it is quite stable because I have been using this patch on my primary desktop and laptop for a while and it was tested on amd64, i386, and ia64. However, since the patch is huge, I may have missed something. If you find something wrong, please let me know before it is too late. ;-) Little more info about the patch: ------------------------- Update ACPI-CA to 20070126 for -CURRENT. WARNING: DO NOT USE THIS PATCH FOR PRODUCTION! This patch removes five, adds ten, and touches 239 files. Don't forget '-p' option when you patch(1). Removed files: 5 files sys/contrib/dev/acpica/aeexec.c sys/contrib/dev/acpica/tbconvrt.c sys/contrib/dev/acpica/tbget.c sys/contrib/dev/acpica/tbgetall.c sys/contrib/dev/acpica/tbrsdt.c Added files: 10 files sys/contrib/dev/acpica/tbfadt.c sys/contrib/dev/acpica/tbfind.c sys/contrib/dev/acpica/utresrc.c sys/contrib/dev/acpica/uttrack.c sys/contrib/dev/acpica/common/adfile.c sys/contrib/dev/acpica/common/adwalk.c sys/contrib/dev/acpica/common/dmrestag.c sys/contrib/dev/acpica/common/dmtable.c sys/contrib/dev/acpica/common/dmtbdump.c sys/contrib/dev/acpica/common/dmtbinfo.c Modified files: 239 files sys/amd64/acpica/OsdEnvironment.c sys/amd64/acpica/madt.c sys/amd64/conf/NOTES sys/amd64/include/acpica_machdep.h sys/boot/i386/libi386/biosacpi.c sys/boot/ia64/ski/acpi_stub.c sys/conf/files sys/conf/options sys/contrib/dev/acpica/* sys/contrib/dev/acpica/common/* sys/contrib/dev/acpica/compiler/* sys/dev/acpi_support/acpi_asus.c sys/dev/acpi_support/acpi_fujitsu.c sys/dev/acpi_support/acpi_ibm.c sys/dev/acpica/acpi.c sys/dev/acpica/acpi_acad.c sys/dev/acpica/acpi_button.c sys/dev/acpica/acpi_cmbat.c sys/dev/acpica/acpi_cpu.c sys/dev/acpica/acpi_dock.c sys/dev/acpica/acpi_ec.c sys/dev/acpica/acpi_lid.c sys/dev/acpica/acpi_pci_link.c sys/dev/acpica/acpi_perf.c sys/dev/acpica/acpi_quirk.c sys/dev/acpica/acpi_resource.c sys/dev/acpica/acpi_throttle.c sys/dev/acpica/acpi_timer.c sys/dev/acpica/acpivar.h sys/dev/acpica/Osd/OsdDebug.c sys/dev/acpica/Osd/OsdMemory.c sys/dev/acpica/Osd/OsdSchedule.c sys/dev/acpica/Osd/OsdSynch.c sys/dev/acpica/Osd/OsdTable.c sys/i386/acpica/OsdEnvironment.c sys/i386/acpica/acpi_machdep.c sys/i386/acpica/madt.c sys/i386/conf/NOTES sys/i386/include/acpica_machdep.h sys/ia64/acpica/OsdEnvironment.c sys/ia64/acpica/madt.c sys/ia64/include/acpica_machdep.h sys/modules/Makefile sys/modules/acpi/Makefile sys/modules/acpi/acpi/Makefile sys/tools/acpi_quirks2h.awk usr.sbin/acpi/acpidb/Makefile usr.sbin/acpi/acpidb/acpidb.c usr.sbin/acpi/acpidump/acpi_user.c usr.sbin/acpi/iasl/Makefile ------------------------- Cheers, Jung-uk Kim From owner-freebsd-acpi@FreeBSD.ORG Fri Mar 16 17:29:58 2007 Return-Path: X-Original-To: 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 0E7CF16A406 for ; Fri, 16 Mar 2007 17:29:58 +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 D1FEA13C448 for ; Fri, 16 Mar 2007 17:29:57 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 38559 invoked from network); 16 Mar 2007 17:29:57 -0000 Received: from ppp-71-139-35-160.dsl.snfc21.pacbell.net (HELO ?10.0.5.59?) (nate-mail@71.139.35.160) by root.org with ESMTPA; 16 Mar 2007 17:29:57 -0000 Message-ID: <45FAD457.7050803@root.org> Date: Fri, 16 Mar 2007 10:31:03 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.9 (X11/20070214) MIME-Version: 1.0 To: Jung-uk Kim References: <200703161256.23996.jkim@FreeBSD.org> In-Reply-To: <200703161256.23996.jkim@FreeBSD.org> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: acpi@FreeBSD.org, current@FreeBSD.org Subject: Re: [HEADSUP] ACPI-CA 20070126 import 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, 16 Mar 2007 17:29:58 -0000 Jung-uk Kim wrote: > I will import ACPI-CA 20070126 from Intel some time next week. > Current mega-patch against -CURRENT is here: > > http://people.freebsd.org/~jkim/acpica-import-20070126.diff.gz > > (Note: Sorry, I had to gzip(1) it because it was too big.) > > This patch should fix many ACPI issues in -CURRENT (ACPI-CA 20051021), > most notably memory leak. Full change log for ACPI-CA from the last > import is here: > > http://people.freebsd.org/~jkim/acpica_changes_20051021_20070126.txt > > I believe it is quite stable because I have been using this patch on > my primary desktop and laptop for a while and it was tested on amd64, > i386, and ia64. However, since the patch is huge, I may have missed > something. If you find something wrong, please let me know before it > is too late. ;-) Thank you very much for all your work. You've even improved other things along the way, not just the import. To clarify, this patch has also been run by me for a while and will be committed so if you're at all interested in testing, be sure to do so. If not, just accept the consequences via cvsup. And no whining! >:-) -- Nate From owner-freebsd-acpi@FreeBSD.ORG Fri Mar 16 22:58:19 2007 Return-Path: X-Original-To: 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 202B116A401; Fri, 16 Mar 2007 22:58:19 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from mta-1.ms.rz.rwth-aachen.de (mta-1.ms.rz.RWTH-Aachen.DE [134.130.7.72]) by mx1.freebsd.org (Postfix) with ESMTP id C7FDD13C448; Fri, 16 Mar 2007 22:58:18 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe ([134.130.3.36]) by mta-1.ms.rz.RWTH-Aachen.de (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JF0005DDPQNSY20@mta-1.ms.rz.RWTH-Aachen.de>; Fri, 16 Mar 2007 23:42:23 +0100 (CET) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Fri, 16 Mar 2007 23:42:23 +0100 (MET) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.8/8.13.1/1) with ESMTP id l2GMgNXc027106; Fri, 16 Mar 2007 23:42:23 +0100 Received: from haakonia.hitnet.rwth-aachen.de ([137.226.181.92]) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1HSL7v-00013m-5W; Fri, 16 Mar 2007 23:42:23 +0100 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id AECC23F429; Fri, 16 Mar 2007 23:42:22 +0100 (CET) Date: Fri, 16 Mar 2007 23:42:22 +0100 From: Christian Brueffer In-reply-to: <200703161256.23996.jkim@FreeBSD.org> To: Jung-uk Kim Message-id: <20070316224222.GD1926@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=ZJcv+A0YCCLh2VIg Content-disposition: inline X-Operating-System: FreeBSD 6.2-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <200703161256.23996.jkim@FreeBSD.org> User-Agent: Mutt/1.5.11 Cc: acpi@FreeBSD.org, current@FreeBSD.org Subject: Re: [HEADSUP] ACPI-CA 20070126 import 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, 16 Mar 2007 22:58:19 -0000 --ZJcv+A0YCCLh2VIg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 16, 2007 at 12:56:19PM -0400, Jung-uk Kim wrote: > I will import ACPI-CA 20070126 from Intel some time next week. =20 > Current mega-patch against -CURRENT is here: >=20 > http://people.freebsd.org/~jkim/acpica-import-20070126.diff.gz >=20 > (Note: Sorry, I had to gzip(1) it because it was too big.) >=20 > This patch should fix many ACPI issues in -CURRENT (ACPI-CA 20051021),=20 > most notably memory leak. Full change log for ACPI-CA from the last=20 > import is here: >=20 > http://people.freebsd.org/~jkim/acpica_changes_20051021_20070126.txt >=20 > I believe it is quite stable because I have been using this patch on=20 > my primary desktop and laptop for a while and it was tested on amd64,=20 > i386, and ia64. However, since the patch is huge, I may have missed=20 > something. If you find something wrong, please let me know before it=20 > is too late. ;-) >=20 Thanks a lot for working on this! I get the following on boot on my T41p, which is a lot more verbose than it used to be. Is this the new default or will it be turned off once the code hits the tree? ACPI: RSDP @ 0x0xf6d70/0x0024 (v 2 IBM ) ACPI: XSDT @ 0x0x1ff6a6bd/0x004C (v 1 IBM TP-1R 0x00003210 LTP 0x00= 000000) ACPI: FACP @ 0x0x1ff6a800/0x00F4 (v 3 IBM TP-1R 0x00003210 IBM 0x000= 00001) ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or = length: 0 102C /0 [20070126] ACPI: DSDT @ 0x0x1ff6a9e7/0xC4E5 (v 1 IBM TP-1R 0x00003210 MSFT 0x01= 00000E) ACPI: FACS @ 0x0x1ff78000/0x0040 ACPI: SSDT @ 0x0x1ff6a9b4/0x0033 (v 1 IBM TP-1R 0x00003210 MSFT 0x01= 00000E) ACPI: ECDT @ 0x0x1ff76ecc/0x0052 (v 1 IBM TP-1R 0x00003210 IBM 0x000= 00001) ACPI: TCPA @ 0x0x1ff76f1e/0x0032 (v 1 IBM TP-1R 0x00003210 PTL 0x000= 00001) ACPI: BOOT @ 0x0x1ff76fd8/0x0028 (v 1 IBM TP-1R 0x00003210 LTP 0x00= 000001) Apart from that I haven't seen any regressions so far. - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --ZJcv+A0YCCLh2VIg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFF+x1ObHYXjKDtmC0RAhYbAKCSyr7NocycsOhog/GxaP/eYRCPwgCgtu3Y TOF6j+idI/SLKlksKBlRf+c= =rByJ -----END PGP SIGNATURE----- --ZJcv+A0YCCLh2VIg-- From owner-freebsd-acpi@FreeBSD.ORG Fri Mar 16 23:09:31 2007 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 C33C616A403; Fri, 16 Mar 2007 23:09:31 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7007813C45A; Fri, 16 Mar 2007 23:09:31 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l2GN9Uuk017149; Fri, 16 Mar 2007 19:09:30 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Christian Brueffer Date: Fri, 16 Mar 2007 19:09:23 -0400 User-Agent: KMail/1.6.2 References: <200703161256.23996.jkim@FreeBSD.org> <20070316224222.GD1926@haakonia.hitnet.RWTH-Aachen.DE> In-Reply-To: <20070316224222.GD1926@haakonia.hitnet.RWTH-Aachen.DE> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200703161909.27843.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/2853/Fri Mar 16 15:48:54 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [HEADSUP] ACPI-CA 20070126 import 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, 16 Mar 2007 23:09:31 -0000 On Friday 16 March 2007 06:42 pm, Christian Brueffer wrote: > I get the following on boot on my T41p, which is a lot more verbose > than it used to be. Is this the new default or will it be turned > off once the code hits the tree? ------ >8 --- SNIP!!! --- >8 --- Yes and no. In fact, those are printed out from ACPI-CA itself and there is no option to turn it off. :-( > Apart from that I haven't seen any regressions so far. Great. Thanks for the report, Jung-uk Kim From owner-freebsd-acpi@FreeBSD.ORG Sat Mar 17 00:25:05 2007 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 9A60816A401; Sat, 17 Mar 2007 00:25:05 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5AC13C44C; Sat, 17 Mar 2007 00:25:05 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l2H0P48e019164; Fri, 16 Mar 2007 20:25:04 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Fri, 16 Mar 2007 20:24:59 -0400 User-Agent: KMail/1.6.2 References: <200703161256.23996.jkim@FreeBSD.org> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200703162025.01587.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/2853/Fri Mar 16 15:48:54 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Andrew Pantyukhin , freebsd-acpi@FreeBSD.org Subject: Re: [HEADSUP] ACPI-CA 20070126 import 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: Sat, 17 Mar 2007 00:25:05 -0000 On Friday 16 March 2007 08:12 pm, Andrew Pantyukhin wrote: > Big thanks! > > Here's a dmesg just in case: > http://bsd.cenkes.org/abc/dmesg.newacpi.bz2 Looks good. > My sleep button is now visible :-) Cool. I guess you meant it didn't work before? > No regressions spotted on my Turion64 x2 laptop. Thanks for the report, Jung-uk Kim From owner-freebsd-acpi@FreeBSD.ORG Sat Mar 17 00:39:13 2007 Return-Path: X-Original-To: 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 AF7EA16A401 for ; Sat, 17 Mar 2007 00:39:13 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id 6EBA613C44C for ; Sat, 17 Mar 2007 00:39:13 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by wr-out-0506.google.com with SMTP id 36so747334wra for ; Fri, 16 Mar 2007 17:39:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=m0IDQaeDAssSxusvowKKwjOuzh2bMezKmLs/P/R/MFuoAcMf3mGlUabt1/o0vtN4ycOB+zfJi5lVi49y36agoL/0wp0b+GhQ5Hm9BFCZYYoqsUTSolN4MlVvGrDRWEnX6nkxsStjKkCfT4nyWMK3+pUFZuEYJw5mi7K6CGYmSPY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=RXmSOhJuwB7JISwACg8xa/3oGGI1pRMQcw5vbhaG9rO4/OrHb/Swva/TLpdQbHTwlj1i9DtmzSIzIyFzIbL4eALJ4wKrFIXjovGy0tR1kOG5hRYqrepWFOh6jDGg6I6JNph28uUW+b8OspLXaktrpBmeO1XMorivS0THFpWPDxU= Received: by 10.114.75.1 with SMTP id x1mr954483waa.1174090361383; Fri, 16 Mar 2007 17:12:41 -0700 (PDT) Received: by 10.114.201.2 with HTTP; Fri, 16 Mar 2007 17:12:41 -0700 (PDT) Message-ID: Date: Sat, 17 Mar 2007 03:12:41 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Jung-uk Kim" In-Reply-To: <200703161256.23996.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200703161256.23996.jkim@FreeBSD.org> X-Google-Sender-Auth: 8a638f79639c3dac Cc: acpi@freebsd.org, current@freebsd.org Subject: Re: [HEADSUP] ACPI-CA 20070126 import 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: Sat, 17 Mar 2007 00:39:13 -0000 Big thanks! Here's a dmesg just in case: http://bsd.cenkes.org/abc/dmesg.newacpi.bz2 My sleep button is now visible :-) No regressions spotted on my Turion64 x2 laptop. Thanks! From owner-freebsd-acpi@FreeBSD.ORG Sat Mar 17 01:28:27 2007 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 C779516A402 for ; Sat, 17 Mar 2007 01:28:27 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.232]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE7413C448 for ; Sat, 17 Mar 2007 01:28:27 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by wr-out-0506.google.com with SMTP id 36so755059wra for ; Fri, 16 Mar 2007 18:28:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ijN2i6g5yXC4/Il5lRpNIcKmjEfKlBxLL43GnBPQNqySdHbBjx1mwglXcyssaSSamIq9p+vlM++UEOEcEiMO1oViEggFGWHCWNUxBfA6apaPIQToY73TJidESgWa7rWeDSaYFXiKrBJuQ6WO2xXmIhf9vr/z90UpN7xLz7/OA4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=In2jlGXRaPSs+6he5haI44+HjWq/saOs7GURbh23JpeTcY3teaa2K2aUT7SfW+HY2OnfLuZoJwmhb6T9sqckVGnO0tjxWs15yoHAAOH0tHZAKW6Gu8SK6zk7qLtdbZXEnbMC8A0pb2LBlFxgwUMnWMg/IQVr7UG4mLREzUFx2a8= Received: by 10.114.151.13 with SMTP id y13mr951496wad.1174093154119; Fri, 16 Mar 2007 17:59:14 -0700 (PDT) Received: by 10.114.201.2 with HTTP; Fri, 16 Mar 2007 17:59:14 -0700 (PDT) Message-ID: Date: Sat, 17 Mar 2007 03:59:14 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Jung-uk Kim" In-Reply-To: <200703162025.01587.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200703161256.23996.jkim@FreeBSD.org> <200703162025.01587.jkim@FreeBSD.org> X-Google-Sender-Auth: 6d5962bd9b4481a0 Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: [HEADSUP] ACPI-CA 20070126 import 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: Sat, 17 Mar 2007 01:28:27 -0000 On 3/17/07, Jung-uk Kim wrote: > On Friday 16 March 2007 08:12 pm, Andrew Pantyukhin wrote: > > Big thanks! > > > > Here's a dmesg just in case: > > http://bsd.cenkes.org/abc/dmesg.newacpi.bz2 > > Looks good. > > > My sleep button is now visible :-) > > Cool. I guess you meant it didn't work before? Hmm. Now that I've checked some older logs it did. Just forgot about it altogether :) From owner-freebsd-acpi@FreeBSD.ORG Sat Mar 17 09:26:06 2007 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 B07DA16A400 for ; Sat, 17 Mar 2007 09:26:06 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [212.98.164.131]) by mx1.freebsd.org (Postfix) with ESMTP id 658A313C45E for ; Sat, 17 Mar 2007 09:26:06 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.4]) by mx1.cybernet.by (Postfix) with ESMTP id 1D0DA3C0A73; Sat, 17 Mar 2007 11:23:44 +0200 (EET) Received: by mx1.cybernet.by (Postfix, from userid 58) id 039A03C06B1; Sat, 17 Mar 2007 11:23:44 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mx1.cybernet.by X-Spam-Level: X-Spam-Status: No, score=-2.2 required=8.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.1 Received: from deimos.bsd.by (h33-170-94-80.dialin.4enet.by [80.94.170.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.cybernet.by (Postfix) with ESMTP id DC1D33C06A8; Sat, 17 Mar 2007 11:23:39 +0200 (EET) Received: by deimos.bsd.by (Postfix, from userid 1001) id 0E17617026; Sat, 17 Mar 2007 11:26:00 +0200 (EET) X-Comment-To: Nate Lawson To: Nate Lawson References: <86zm6gyw31.fsf@bsd.by> <45F8422B.4050701@root.org> From: m.boyarov@bsd.by (Max N. Boyarov) Date: Sat, 17 Mar 2007 11:25:59 +0200 In-Reply-To: <45F8422B.4050701@root.org> (Nate Lawson's message of "Wed, 14 Mar 2007 11:42:51 -0700") Message-ID: <86abyc6x20.fsf@bsd.by> X-Mailer: Gnus v5.11/GNU Emacs 22.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV using ClamSMTP on mx1.cybernet.by Cc: freebsd-acpi@freebsd.org Subject: Re: latest Current and 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: Sat, 17 Mar 2007 09:26:06 -0000 >>>>> "NL" == Nate Lawson writes: [cut] NL> I assume you were not disconnecting AC power during that time? These NL> would be normal messages if you were doing that. Yes power is connected. NL> I think the recent EC update is your issue. I recently committed a NL> major reworking of the embedded controller driver. See this message: NL> http://lists.freebsd.org/pipermail/freebsd-current/2007-February/069525.html NL> See this message for a list of things to try. The goal is to diagnose NL> why the EC is timing out. The thermal misdetection is only a symptom. NL> http://lists.freebsd.org/pipermail/freebsd-current/2007-February/069577.html NL> The one I think would be most helpful is turning off burst mode, but I NL> would appreciate your help seeing what combo of polling/total timeout NL> works for you. NL> debug.acpi.ec.burst=0 this is help. Now i try read source to find how to select "combo of polling/total timeout". Simple change this sysctls don't suit. [cut] NL> The values are in Kelvin if you don't specify a qualifier. You need to NL> use this (note the "C") NL> sysctl hw.acpi.thermal.tz1._CRT=100C Thanks, i confused by acpi_thermal(4). =) "All temperatures are printed in Celsius. When setting a value by sysctl(8), do not specify a trailing decimal (i.e., 90 instead of 90.0C)." -- Max N. Boyarov jabber: zotrix@jabber.ru From owner-freebsd-acpi@FreeBSD.ORG Sat Mar 17 10:50:34 2007 Return-Path: X-Original-To: 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 3F7B316A400; Sat, 17 Mar 2007 10:50:34 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [212.98.164.131]) by mx1.freebsd.org (Postfix) with ESMTP id DC99713C45B; Sat, 17 Mar 2007 10:50:33 +0000 (UTC) (envelope-from m.boyarov@bsd.by) Received: from mx1.cybernet.by (mx1.cybernet.by [127.0.0.4]) by mx1.cybernet.by (Postfix) with ESMTP id BB27E3C0ADB; Sat, 17 Mar 2007 12:29:45 +0200 (EET) Received: by mx1.cybernet.by (Postfix, from userid 58) id A5F0C3C0588; Sat, 17 Mar 2007 12:29:45 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on mx1.cybernet.by X-Spam-Level: X-Spam-Status: No, score=-2.3 required=8.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.1 Received: from deimos.bsd.by (h33-170-94-80.dialin.4enet.by [80.94.170.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.cybernet.by (Postfix) with ESMTP id 481783C04D3; Sat, 17 Mar 2007 12:29:40 +0200 (EET) Received: by deimos.bsd.by (Postfix, from userid 1001) id 8A11017059; Sat, 17 Mar 2007 12:32:00 +0200 (EET) X-Comment-To: Jung-uk Kim To: Jung-uk Kim References: <200703161256.23996.jkim@FreeBSD.org> From: m.boyarov@bsd.by (Max N. Boyarov) Date: Sat, 17 Mar 2007 12:32:00 +0200 In-Reply-To: <200703161256.23996.jkim@FreeBSD.org> (Jung-uk Kim's message of "Fri, 16 Mar 2007 12:56:19 -0400") Message-ID: <86abycxisf.fsf@bsd.by> X-Mailer: Gnus v5.11/GNU Emacs 22.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV using ClamSMTP on mx1.cybernet.by Cc: acpi@FreeBSD.org, current@FreeBSD.org Subject: Re: [HEADSUP] ACPI-CA 20070126 import 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: Sat, 17 Mar 2007 10:50:34 -0000 >>>>> "JK" == Jung-uk Kim writes: [cut] JK> I believe it is quite stable because I have been using this patch on JK> my primary desktop and laptop for a while and it was tested on amd64, JK> i386, and ia64. However, since the patch is huge, I may have missed JK> something. If you find something wrong, please let me know before it JK> is too late. ;-) Thanks! I don't see regression on my T60. dmesg http://ncd0.bsd.by/out/dmesg_acpi.txt -- Max N. Boyarov jabber: zotrix@jabber.ru From owner-freebsd-acpi@FreeBSD.ORG Sat Mar 17 11:07:43 2007 Return-Path: X-Original-To: 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 8372116A400 for ; Sat, 17 Mar 2007 11:07:43 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 41F9113C465 for ; Sat, 17 Mar 2007 11:07:43 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5D5D3.dip.t-dialin.net [84.165.213.211]) by redbull.bpaserver.net (Postfix) with ESMTP id 9C40B2E139; Sat, 17 Mar 2007 11:39:31 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id 93E985B4817; Sat, 17 Mar 2007 11:39:28 +0100 (CET) Date: Sat, 17 Mar 2007 11:39:28 +0100 From: Alexander Leidinger To: Nate Lawson Message-ID: <20070317113928.0543fdac@Magellan.Leidinger.net> In-Reply-To: <45FAD457.7050803@root.org> References: <200703161256.23996.jkim@FreeBSD.org> <45FAD457.7050803@root.org> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.9; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-15.364, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: acpi@FreeBSD.org, current@FreeBSD.org, Jung-uk Kim Subject: Re: [HEADSUP] ACPI-CA 20070126 import 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: Sat, 17 Mar 2007 11:07:43 -0000 Quoting Nate Lawson (Fri, 16 Mar 2007 10:31:03 -0700): > Jung-uk Kim wrote: > > I will import ACPI-CA 20070126 from Intel some time next week. > > Current mega-patch against -CURRENT is here: > > > > http://people.freebsd.org/~jkim/acpica-import-20070126.diff.gz > > > > (Note: Sorry, I had to gzip(1) it because it was too big.) > > > > This patch should fix many ACPI issues in -CURRENT (ACPI-CA 20051021), > > most notably memory leak. Full change log for ACPI-CA from the last > > import is here: > > > > http://people.freebsd.org/~jkim/acpica_changes_20051021_20070126.txt > > > > I believe it is quite stable because I have been using this patch on > > my primary desktop and laptop for a while and it was tested on amd64, > > i386, and ia64. However, since the patch is huge, I may have missed > > something. If you find something wrong, please let me know before it > > is too late. ;-) > > Thank you very much for all your work. You've even improved other > things along the way, not just the import. Does someone has a list or a pointer which gives an overview what changed / is improved? Bye, Alexander. -- Incorrect time syncronization http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137