From owner-freebsd-acpi@FreeBSD.ORG Mon Aug 22 10:54:37 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C46C716A41F for ; Mon, 22 Aug 2005 10:54:37 +0000 (GMT) (envelope-from m.ehinger@ltur.de) Received: from posty.gateway-inter.net (posty.gateway-inter.net [213.144.19.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FBDC43D49 for ; Mon, 22 Aug 2005 10:54:37 +0000 (GMT) (envelope-from m.ehinger@ltur.de) To: freebsd-acpi@freebsd.org Message-ID: From: m.ehinger@ltur.de Date: Mon, 22 Aug 2005 12:53:47 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Subject: battery low script 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, 22 Aug 2005 10:54:37 -0000 Hi, i use the attached script to shutdown my notebook on low battery automatically. I also added the following to /etc/devd.conf notify 10 { match "system" "ACPI"; match "subsystem" "CMBAT"; action "/etc/battery $notify"; }; Please feel free to try without any guarantees. Comments are welcome. thanks Maik From owner-freebsd-acpi@FreeBSD.ORG Mon Aug 22 11:02:08 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A39816A41F for ; Mon, 22 Aug 2005 11:02:08 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F76243D5A for ; Mon, 22 Aug 2005 11:02:08 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7MB280l036762 for ; Mon, 22 Aug 2005 11:02:08 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7MB27lw036756 for freebsd-acpi@freebsd.org; Mon, 22 Aug 2005 11:02:07 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 22 Aug 2005 11:02:07 GMT Message-Id: <200508221102.j7MB27lw036756@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter 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, 22 Aug 2005 11:02:08 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/22] i386/54756 acpi ACPI suspend/resume problem on CF-W2 lapt o [2003/08/17] i386/55661 acpi ACPI suspend/resume problem on ARMADA M70 o [2003/08/20] kern/55822 acpi No ACPI power off with SMP kernel o [2003/08/27] kern/56024 acpi ACPI suspend drains battery while in S3 o [2003/09/03] i386/56372 acpi acpi don't work on TYAN tiger100 M/B o [2004/03/09] i386/64002 acpi acpi problem o [2004/05/27] i386/67273 acpi [hang] system hangs with acpi and Xfree o [2004/10/12] i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Arma o [2005/03/21] i386/79080 acpi acpi thermal changes freezes HP nx6110 o [2005/03/21] i386/79081 acpi ACPI suspend/resume not working on HP nx6 10 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/03/17] kern/64365 acpi ACPI problems o [2004/05/28] kern/67309 acpi zzz reboot computer (ACPI S3) o [2004/07/29] i386/69750 acpi Boot without ACPI failed on ASUS L5 o [2004/11/11] i386/73822 acpi [request] add thermal support to ACPI o [2004/11/11] kern/73823 acpi acpi / power-on by timer support o [2004/11/17] kern/74030 acpi Unplugging AC causes battery % to stay lo o [2004/11/21] kern/74215 acpi [request] add ACPI headers to /usr/includ o [2005/05/09] kern/80815 acpi ACPI(pci_link) problem in 5.4-STABLE: TIM 8 problems total. From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 23 06:19:19 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 136CF16A41F for ; Tue, 23 Aug 2005 06:19:19 +0000 (GMT) (envelope-from m.ehinger@ltur.de) Received: from posty.gateway-inter.net (posty.gateway-inter.net [213.144.19.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E5EC43D48 for ; Tue, 23 Aug 2005 06:19:18 +0000 (GMT) (envelope-from m.ehinger@ltur.de) In-Reply-To: <430A02A4.1030303@root.org> To: Nate Lawson Message-ID: From: m.ehinger@ltur.de Date: Tue, 23 Aug 2005 08:18:40 +0200 MIME-Version: 1.0 Content-type: multipart/mixed; Boundary="0__=4EBBFAF5DFB103868f9e8a93df938690918c4EBBFAF5DFB10386" Content-Disposition: inline Cc: freebsd-acpi@freebsd.org Subject: Re: battery low script 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: Tue, 23 Aug 2005 06:19:19 -0000 --0__=4EBBFAF5DFB103868f9e8a93df938690918c4EBBFAF5DFB10386 Content-type: text/plain; charset=US-ASCII Sorry my mistake, i forgot it completely, thanks (See attached file: battery) maik Nate Lawson 22.08.2005 18:51 An m.ehinger@ltur.de Kopie Thema Re: battery low script m.ehinger@ltur.de wrote: > Hi, > > i use the attached script to shutdown my notebook on low battery automatically. > > I also added the following to /etc/devd.conf > > notify 10 { > match "system" "ACPI"; > match "subsystem" "CMBAT"; > action "/etc/battery $notify"; > }; > > > Please feel free to try without any guarantees. > > Comments are welcome. > > thanks > > Maik the attachment was missing. Try sending it inline, not as an attachment. -- Nate --0__=4EBBFAF5DFB103868f9e8a93df938690918c4EBBFAF5DFB10386 Content-type: application/octet-stream; name="battery" Content-Disposition: attachment; filename="battery" Content-transfer-encoding: base64 IyEvYmluL3NoCiMKIyBDb3B5cmlnaHQgKEMpIDIwMDUgTWFpayBFaGluZ2VyIDxtLmVoaW5nZXJA bHR1ci5kZT4KIyBBbGwgcmlnaHRzIHJlc2VydmVkLgojIAojIFJlZGlzdHJpYnV0aW9uIGFuZCB1 c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dAojIG1vZGlmaWNh dGlvbiwgYXJlIHBlcm1pdHRlZCBwcm92aWRlZCB0aGF0IHRoZSBmb2xsb3dpbmcgY29uZGl0aW9u cwojIGFyZSBtZXQ6CiMgMS4gUmVkaXN0cmlidXRpb25zIG9mIHNvdXJjZSBjb2RlIG11c3QgcmV0 YWluIHRoZSBhYm92ZSBjb3B5cmlnaHQKIyAgICBub3RpY2UsIHRoaXMgbGlzdCBvZiBjb25kaXRp b25zIGFuZCB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIuCiMgMi4gUmVkaXN0cmlidXRpb25zIGlu IGJpbmFyeSBmb3JtIG11c3QgcmVwcm9kdWNlIHRoZSBhYm92ZSBjb3B5cmlnaHQKIyAgICBub3Rp Y2UsIHRoaXMgbGlzdCBvZiBjb25kaXRpb25zIGFuZCB0aGUgZm9sbG93aW5nIGRpc2NsYWltZXIg aW4gdGhlCiMgICAgZG9jdW1lbnRhdGlvbiBhbmQvb3Igb3RoZXIgbWF0ZXJpYWxzIHByb3ZpZGVk IHdpdGggdGhlIGRpc3RyaWJ1dGlvbi4KIyAKIyBU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EBBFAF5DFB10386-- From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 23 09:22:43 2005 Return-Path: X-Original-To: freebsd-acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8CE516A41F for ; Tue, 23 Aug 2005 09:22:43 +0000 (GMT) (envelope-from thedragon@yandex.ru) Received: from mfront8.yandex.ru (mfront8.yandex.ru [213.180.200.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 876B743D46 for ; Tue, 23 Aug 2005 09:22:43 +0000 (GMT) (envelope-from thedragon@yandex.ru) Received: from YAMAIL (mfront8.yandex.ru) by mail.yandex.ru id ; Tue, 23 Aug 2005 13:22:35 +0400 Date: Tue, 23 Aug 2005 13:22:34 +0400 (MSD) From: =?KOI8-R?B?IuTNydTSycoi?= Sender: thedragon@yandex.ru Message-Id: <430AEADA.000009.05559@mfront8.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: thedragon@yandex.ru To: freebsd-acpi@FreeBSD.org X-Source-Ip: 82.140.75.61 X-Originating-Ip: 10.10.69.65 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Subject: ACPI problems on Toshiba M45-S331 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thedragon@yandex.ru List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2005 09:22:44 -0000 I installed FreeBSD 5.4-RELEASE on my laptom Toshiba Satellite M45-S331 and have several problems with acpi and other hardware: 1. When i turn acpi on (boot with ACPI or load acpi from boot prompt) the touchpad does not work. But when i boot without acpi it works fine. 2. I cant monitor battary - it is always say: acpi_cmbat0: critically low charge! 3. The device does not turn power off after shutdown 4. My network card, modem and WI-FI doesnot work at all. When i try to use ndis with windows drivers - kernel panic... There are my dmesg after boot -v with acpi dmesg.no_acpihttp://www.wiwa.spb.ru/dmesg.acpi And without acpi: http://www.wiwa.spb.ru/dmesg.no_acpi Output from sysctl hw.acpi: http://www.wiwa.spb.ru/sysctl.hw.acpi My ASL: http://www.wiwa.spb.ru/root-toshibaM45S331.asl From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 23 10:18:38 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7B7416A41F for ; Tue, 23 Aug 2005 10:18:38 +0000 (GMT) (envelope-from markus@freebsd.org) Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CAD943D45 for ; Tue, 23 Aug 2005 10:18:37 +0000 (GMT) (envelope-from markus@freebsd.org) Received: from fwd21.aul.t-online.de by mailout08.sul.t-online.com with smtp id 1E7VrX-0005Nu-03; Tue, 23 Aug 2005 12:18:35 +0200 Received: from ramses.kicks-ass.net (ZwxkccZcZeSDCUsbjgQNlqEtyFKDFgUa0E4dJjFKCSvppOxihR3gwu@[80.143.192.191]) by fwd21.sul.t-online.de with esmtp id 1E7VrK-1aEaFU0; Tue, 23 Aug 2005 12:18:22 +0200 Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by ramses.kicks-ass.net (Postfix) with ESMTP id 823DEB83C; Tue, 23 Aug 2005 12:24:38 +0200 (CEST) From: Markus Brueffer To: freebsd-acpi@freebsd.org Date: Tue, 23 Aug 2005 12:16:57 +0200 User-Agent: KMail/1.8.1 References: <200508181415.j7IEFEXY016065@ns.init-main.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2716341.qHiyHWK13C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200508231217.06941.markus@freebsd.org> X-ID: ZwxkccZcZeSDCUsbjgQNlqEtyFKDFgUa0E4dJjFKCSvppOxihR3gwu@t-dialin.net X-TOI-MSGID: a0d5babe-9771-4974-b682-aed47923dd8f Cc: Takanori Watanabe Subject: Re: Radeontool 1.5 for FreeBSD 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: Tue, 23 Aug 2005 10:18:38 -0000 --nextPart2716341.qHiyHWK13C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 18 August 2005 17:24, Eric Kjeldergaard wrote: > On 8/18/05, Takanori Watanabe wrote: > > Hi, I ported Radeontool-1.5 for FreeBSD. > > > > (http://fdd.com/software/radeon/) > > If you have laptops with radeon > > and entering S3 will sleep with backlight keeping on, > > worth trying. > > > > The patch is at > > http://www.init-main.com/radeontool.patch > > Works perfectly here. Now all I have to do is get it bound to Fn+F3. If you use a ThinkPad you can use acpi_ibm(4) in conjunction with devd to=20 map Fn+F3 (RELENG_6 or above needed, though). > Any chance you want to make this into a port? http://people.freebsd.org/~markus/stuff/radeontool-1.5.tar.bz2 It contains a modified version of the patch that additionally fixes=20 commandline parsing of --debug (segfault if specified without additional=20 args) and --skip (didn't work at all) and has some reworded error messages. Thanks Takanori-san! Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart2716341.qHiyHWK13C Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDCvei1I0Qcnj4qNQRAviTAJ40rFBB69uTpHtdI82rtSvPYg09XgCfRdvQ EOXCxFOG3i8nTFYK6j3Wv10= =yRXW -----END PGP SIGNATURE----- --nextPart2716341.qHiyHWK13C-- From owner-freebsd-acpi@FreeBSD.ORG Wed Aug 24 17:43:57 2005 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9041016A41F; Wed, 24 Aug 2005 17:43:57 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24F7543D49; Wed, 24 Aug 2005 17:43:57 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Wed, 24 Aug 2005 10:43:54 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id D69945D07; Wed, 24 Aug 2005 10:43:54 -0700 (PDT) To: Hajimu UMEMOTO In-reply-to: Your message of "Wed, 24 Aug 2005 20:45:13 +0900." Date: Wed, 24 Aug 2005 10:43:54 -0700 From: "Kevin Oberman" Message-Id: <20050824174354.D69945D07@ptavv.es.net> Cc: Bruno Ducrot , acpi@freebsd.org, njl@freebsd.org Subject: Re: cvs commit: src/usr.sbin/powerd powerd.c 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, 24 Aug 2005 17:43:57 -0000 > Date: Wed, 24 Aug 2005 20:45:13 +0900 > From: Hajimu UMEMOTO > Sender: owner-cvs-all@freebsd.org > > Hi, > > >>>>> On Wed, 24 Aug 2005 20:14:42 +0900 > >>>>> Hajimu UMEMOTO said: > > ume> It feels too lazy for my laptop. One freq level for decreasing and > ume> two freq level for incresing is comfortable to me. > > Oops, I meant two and four. > Because, my main laptop has double CPU levels than my second laptop. > So, it takes double iteration for transition from highest to lowest or > from lowest to highest. Don't know what Nate and Bruno might think, but adding an argument to set the speed bump up would be trivial to code. If there is consensus that this is a good idea, it becomes a question of how to design the user interface. Absolute steps of percent of range come to mind. I don't think anyone wants to slow down faster than on step at a time. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 25 08:12:26 2005 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F5B016A41F; Thu, 25 Aug 2005 08:12:26 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0FDD43D49; Thu, 25 Aug 2005 08:12:22 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:CUBSFIoGZSi1NLCSiUGtjuHJkgGmeDb2MTwy6paZBvmalTxZaIGzuC/L85s4K0nb@kasuga.mahoroba.org [IPv6:3ffe:501:185b:8010:20b:97ff:fe2e:b521]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.3/8.13.3) with ESMTP/inet6 id j7P8Bc3c096657 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Aug 2005 17:11:42 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Thu, 25 Aug 2005 17:11:35 +0900 Message-ID: From: Hajimu UMEMOTO To: Giorgos Keramidas In-Reply-To: <20050824210954.GA1046@gothmog.gr> References: <20050824163054.GA646@orion.daedalusnetworks.priv> <20050824210954.GA1046@gothmog.gr> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/22.0.50 (i386-unknown-freebsd6.0) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.0-BETA3 X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0 (ameno.mahoroba.org [IPv6:3ffe:501:185b:8010::1]); Thu, 25 Aug 2005 17:11:43 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-5.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on ameno.mahoroba.org Cc: acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: Recent CURRENT/i386 + acpi_thermal panic 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, 25 Aug 2005 08:12:26 -0000 Hi, >>>>> On Thu, 25 Aug 2005 00:09:54 +0300 >>>>> Giorgos Keramidas said: keramida> On 2005-08-25 04:05, Hajimu UMEMOTO wrote: > >>>>> On Wed, 24 Aug 2005 19:30:54 +0300 > >>>>> Giorgos Keramidas said: > > keramida> Recent CURRENT/i386 panics randomly at boot time at (manual copy of the > keramida> console output, so there may be some errors in the numbers copied): > > keramida> msleep(c1a761d4,0,54,c0986ce0,0) at msleep+0x6e > keramida> acpi_tz_cooling_thread(c1a76100,d5248d38,c1a76100,c09770bc,0 at acpi_tz_cooling_thread+0x58 > > Umm, the fifth argument to msleep() is zero. It means sc->tz_zone.tsp > is zero. But, it is tested not to zero before invoking > acpi_tz_cooling_thread(). Perhaps, it is cleared some where later. keramida> The panic message, which I failed to copy was "sleeping without a mutex". Okay, the message is out when timo is zero. keramida> Thanks for the quick reply. I'll give a try to your patch tomorrow keramida> morning, when I have access to that machine again. You are welcome. Perhaps, I found the cause. sc->tz_zone is initialized before each retrieval of new value from BIOS. It makes the period where sc->tz_zone.tsp is zero. Please try following patch, instead: Index: sys/dev/acpica/acpi_thermal.c diff -u -p sys/dev/acpica/acpi_thermal.c.orig sys/dev/acpica/acpi_thermal.c --- sys/dev/acpica/acpi_thermal.c.orig Mon Aug 22 15:25:16 2005 +++ sys/dev/acpica/acpi_thermal.c Thu Aug 25 16:46:15 2005 @@ -347,7 +347,14 @@ acpi_tz_establish(struct acpi_tz_softc * AcpiOsFree(sc->tz_zone.al[i].Pointer); if (sc->tz_zone.psl.Pointer != NULL) AcpiOsFree(sc->tz_zone.psl.Pointer); - bzero(&sc->tz_zone, sizeof(sc->tz_zone)); + + /* + * XXX: We initialize only ACPI_BUFFER to avoid race condition + * with passive cooling thread which refers psv, tc1, tc2 and tsp. + */ + bzero(sc->tz_zone.ac, sizeof(sc->tz_zone.ac)); + bzero(sc->tz_zone.al, sizeof(sc->tz_zone.al)); + bzero(&sc->tz_zone.psl, sizeof(sc->tz_zone.psl)); /* Evaluate thermal zone parameters. */ for (i = 0; i < TZ_NUMLEVELS; i++) { Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 25 09:22:03 2005 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A87BD16A41F; Thu, 25 Aug 2005 09:22:03 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED41B43D45; Thu, 25 Aug 2005 09:22:02 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by aiolos.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j7P9M1sI017391; Thu, 25 Aug 2005 12:22:01 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j7P9M01n000604; Thu, 25 Aug 2005 12:22:00 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j7P9M00F000598; Thu, 25 Aug 2005 12:22:00 +0300 (EEST) (envelope-from keramida@freebsd.org) X-Authentication-Warning: orion.daedalusnetworks.priv: keramida set sender to keramida@freebsd.org using -f Date: Thu, 25 Aug 2005 12:22:00 +0300 From: Giorgos Keramidas To: Hajimu UMEMOTO Message-ID: <20050825092200.GA576@orion.daedalusnetworks.priv> References: <20050824163054.GA646@orion.daedalusnetworks.priv> <20050824210954.GA1046@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: Recent CURRENT/i386 + acpi_thermal panic 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, 25 Aug 2005 09:22:03 -0000 On 2005-08-25 17:11, Hajimu UMEMOTO wrote: > keramida> The panic message, which I failed to copy was "sleeping without a mutex". > > Okay, the message is out when timo is zero. > > keramida> Thanks for the quick reply. I'll give a try to your patch tomorrow > keramida> morning, when I have access to that machine again. > > You are welcome. > Perhaps, I found the cause. sc->tz_zone is initialized before each > retrieval of new value from BIOS. It makes the period where > sc->tz_zone.tsp is zero. > Please try following patch, instead: This patch seems to work fine here. I've gone through at least 10 reboots (which was almost impossible with the system I use now before the patch, without triggerring at least 4-5 panics). Thank you :) > Index: sys/dev/acpica/acpi_thermal.c > diff -u -p sys/dev/acpica/acpi_thermal.c.orig sys/dev/acpica/acpi_thermal.c > --- sys/dev/acpica/acpi_thermal.c.orig Mon Aug 22 15:25:16 2005 > +++ sys/dev/acpica/acpi_thermal.c Thu Aug 25 16:46:15 2005 > @@ -347,7 +347,14 @@ acpi_tz_establish(struct acpi_tz_softc * > AcpiOsFree(sc->tz_zone.al[i].Pointer); > if (sc->tz_zone.psl.Pointer != NULL) > AcpiOsFree(sc->tz_zone.psl.Pointer); > - bzero(&sc->tz_zone, sizeof(sc->tz_zone)); > + > + /* > + * XXX: We initialize only ACPI_BUFFER to avoid race condition > + * with passive cooling thread which refers psv, tc1, tc2 and tsp. > + */ > + bzero(sc->tz_zone.ac, sizeof(sc->tz_zone.ac)); > + bzero(sc->tz_zone.al, sizeof(sc->tz_zone.al)); > + bzero(&sc->tz_zone.psl, sizeof(sc->tz_zone.psl)); > > /* Evaluate thermal zone parameters. */ > for (i = 0; i < TZ_NUMLEVELS; i++) { From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 25 10:54:33 2005 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B88EA16A41F; Thu, 25 Aug 2005 10:54:33 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11A6A43D45; Thu, 25 Aug 2005 10:54:30 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:Jx031DMX44zTbDqUQK3oND2W4WzWNMmDyGhQPJbwvnNTjnYh1RwABHWdpzcFfaDH@kasuga.mahoroba.org [IPv6:3ffe:501:185b:8010:20b:97ff:fe2e:b521]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.3/8.13.3) with ESMTP/inet6 id j7PAsKIx052695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Aug 2005 19:54:20 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Thu, 25 Aug 2005 19:54:17 +0900 Message-ID: From: Hajimu UMEMOTO To: Giorgos Keramidas In-Reply-To: <20050825092200.GA576@orion.daedalusnetworks.priv> References: <20050824163054.GA646@orion.daedalusnetworks.priv> <20050824210954.GA1046@gothmog.gr> <20050825092200.GA576@orion.daedalusnetworks.priv> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/22.0.50 (i386-unknown-freebsd6.0) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.0-BETA3 X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0 (ameno.mahoroba.org [IPv6:3ffe:501:185b:8010::1]); Thu, 25 Aug 2005 19:54:21 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-5.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on ameno.mahoroba.org Cc: acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: Recent CURRENT/i386 + acpi_thermal panic 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, 25 Aug 2005 10:54:33 -0000 Hi, >>>>> On Thu, 25 Aug 2005 12:22:00 +0300 >>>>> Giorgos Keramidas said: > Perhaps, I found the cause. sc->tz_zone is initialized before each > retrieval of new value from BIOS. It makes the period where > sc->tz_zone.tsp is zero. > Please try following patch, instead: keramida> This patch seems to work fine here. I've gone through at least 10 keramida> reboots (which was almost impossible with the system I use now before keramida> the patch, without triggerring at least 4-5 panics). keramida> Thank you :) Thank you for testing. I've just committed it. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 25 13:00:51 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D806016A41F for ; Thu, 25 Aug 2005 13:00:51 +0000 (GMT) (envelope-from michael@grimus.org.uk) Received: from mk-smarthost-9.mail.uk.tiscali.com (mk-smarthost-9.mail.uk.tiscali.com [212.74.114.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83E4143D45 for ; Thu, 25 Aug 2005 13:00:51 +0000 (GMT) (envelope-from michael@grimus.org.uk) Received: from dsl-80-43-70-213.access.as9105.com ([80.43.70.213]:56913 helo=[10.0.0.5]) by mk-smarthost-9.mail.uk.tiscali.com with esmtp (Exim 4.30) id 1E8HJo-000Dos-9q for freebsd-acpi@freebsd.org; Thu, 25 Aug 2005 13:58:56 +0100 Message-ID: <430DCF32.7070007@grimus.org.uk> Date: Thu, 25 Aug 2005 15:01:22 +0100 From: Michael User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Fujitsu-Siemens Amilo Pro 2010 / CPU fan always runs 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, 25 Aug 2005 13:00:52 -0000 Hi, The subject line says it all, Fujitsu-Siemens Amilo Pro 2010 and the cpu fan never switches off. Its a new laptop and of course it works under Windows so the hardware is fine. Of course I have read the man pages and old newsgroup posts but still ended up here. ;-( Here is the output from (sysctl -a hw.acpi.thermal), so the fan should be off I assume. hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 26.8C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 78.8C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 99.8C hw.acpi.thermal.tz0._ACx: 58.8C 46.8C -1 -1 -1 -1 -1 -1 -1 -1 I don't have any idea what to try next, this acpi stuff seems so complex any help would be greatly appreciated. Many thanks, Michael From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 25 16:05:02 2005 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 401A816A41F; Thu, 25 Aug 2005 16:05:02 +0000 (GMT) (envelope-from bruno@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id C230443D58; Thu, 25 Aug 2005 16:05:01 +0000 (GMT) (envelope-from bruno@poupinou.org) Received: from bruno by poup.poupinou.org with local (Exim) id 1E8KDm-0005GH-00; Thu, 25 Aug 2005 18:04:54 +0200 Date: Thu, 25 Aug 2005 18:04:54 +0200 To: Kevin Oberman Message-ID: <20050825160454.GG7749@poupinou.org> References: <20050824174354.D69945D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050824174354.D69945D07@ptavv.es.net> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: acpi@freebsd.org, njl@freebsd.org, Hajimu UMEMOTO Subject: Re: cvs commit: src/usr.sbin/powerd powerd.c 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, 25 Aug 2005 16:05:02 -0000 On Wed, Aug 24, 2005 at 10:43:54AM -0700, Kevin Oberman wrote: > > Date: Wed, 24 Aug 2005 20:45:13 +0900 > > From: Hajimu UMEMOTO > > Sender: owner-cvs-all@freebsd.org > > > > Hi, > > > > >>>>> On Wed, 24 Aug 2005 20:14:42 +0900 > > >>>>> Hajimu UMEMOTO said: > > > > ume> It feels too lazy for my laptop. One freq level for decreasing and > > ume> two freq level for incresing is comfortable to me. > > > > Oops, I meant two and four. > > Because, my main laptop has double CPU levels than my second laptop. > > So, it takes double iteration for transition from highest to lowest or > > from lowest to highest. > > Don't know what Nate and Bruno might think, but adding an argument to > set the speed bump up would be trivial to code. If there is consensus > that this is a good idea, it becomes a question of how to design the > user interface. Absolute steps of percent of range come to mind. > > I don't think anyone wants to slow down faster than on step at a time. The problem is that umemoto-san do have a lot of frequencies available. It's a kind of "don't use all of them" somehow. In that case, it's more "use half of them". Anyway, I think the only frequencies really usefull for power saving purpose are the ones given by the est driver. Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.