From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 14 12:36:41 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00DDF16A41A for ; Sun, 14 Oct 2007 12:36:41 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6650313C458 for ; Sun, 14 Oct 2007 12:36:39 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so1188509mue for ; Sun, 14 Oct 2007 05:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=8hr0Ax0JFUV71Rq5IXwYmlNt/BoEduGZb2lCLAZ2bKg=; b=Fy0zlcc9+Aiw4rGggcZJdSX92GA9CHGpdQuzYMIr6erV3wYj8bKMOhkqeB7C0GiudTM24C8JBWaSh5lQCx31skGBjN/MNZESI9qI7Ow1f4aRIPxW4wEiHKu/wQIIsscNZVz6RolJ55TortPvZaCbCvfuQhWHHtyhSYCi5UBGCdw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qZxA9RY65mZNKHb2gwt9cYVkdhIqa09hd9sfEmTI9MtnmX4PnMClhQ19G/72Wef3axah7oNboogU3TEeZEuu1V8DwWGUr3738QdDnaPlyhWPFahPZgqZlxPNGTXT6M3vNWD3MzIUtAWnQrKT+1GhqlbJAQLhLXYQiOh5YusNwg0= Received: by 10.86.79.19 with SMTP id c19mr4078257fgb.1192365399167; Sun, 14 Oct 2007 05:36:39 -0700 (PDT) Received: by 10.86.2.1 with HTTP; Sun, 14 Oct 2007 05:36:39 -0700 (PDT) Message-ID: <499c70c0710140536x49624f4x58a80713b244974f@mail.gmail.com> Date: Sun, 14 Oct 2007 15:36:39 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "Nate Lawson" In-Reply-To: <47100D46.5020601@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <499c70c0710121333q7ba6ab34sff9ce3832ce81347@mail.gmail.com> <470FDF18.9010109@donut.de> <47100D46.5020601@root.org> Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Rolf Witt Subject: Re: FreeBSD 7.0 interrupt storm with irq0: clk 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: Sun, 14 Oct 2007 12:36:41 -0000 On 10/13/07, Nate Lawson wrote: > Rolf Witt wrote: > > Abdullah Ibn Hamad Al-Marri schrieb: > >> Hello, > >> > >> I'm getting interrupt storm lately. > > > > No, you use Polling and the interrupt-rate is 1000HZ (your HZ-Option). > > Thats ok. > > > > > >> IM# vmstat -i > >> interrupt total rate > >> irq0: clk 278426173 1000 > > > >> options DEVICE_POLLING > >> options HZ=1000 > > > > He's right. The above options say "run my clock at 1000 hz and poll". > > -- > Nate Thank you guys. I removed them. But still same issue with irq0: clk but less now. IM# vmstat -i interrupt total rate irq0: clk 37009569 1000 irq4: fxp0 2886384 77 irq8: rtc 4736510 127 irq14: ata0 79714 2 Total 44712177 1208 -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 14 18:45:58 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3C8F16A498 for ; Sun, 14 Oct 2007 18:45: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 85E7313C45B for ; Sun, 14 Oct 2007 18:45:58 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 24138 invoked from network); 14 Oct 2007 18:45:59 -0000 Received: from ppp-71-139-1-224.dsl.snfc21.pacbell.net (HELO ?10.0.5.18?) (nate-mail@71.139.1.224) by root.org with ESMTPA; 14 Oct 2007 18:45:59 -0000 Message-ID: <471263DC.8070002@root.org> Date: Sun, 14 Oct 2007 11:45:48 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Abdullah Ibn Hamad Al-Marri References: <499c70c0710121333q7ba6ab34sff9ce3832ce81347@mail.gmail.com> <470FDF18.9010109@donut.de> <47100D46.5020601@root.org> <499c70c0710140536x49624f4x58a80713b244974f@mail.gmail.com> In-Reply-To: <499c70c0710140536x49624f4x58a80713b244974f@mail.gmail.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Rolf Witt Subject: Re: FreeBSD 7.0 interrupt storm with irq0: clk 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: Sun, 14 Oct 2007 18:45:58 -0000 Abdullah Ibn Hamad Al-Marri wrote: > On 10/13/07, Nate Lawson wrote: >> Rolf Witt wrote: >>> Abdullah Ibn Hamad Al-Marri schrieb: >>>> Hello, >>>> >>>> I'm getting interrupt storm lately. >>> No, you use Polling and the interrupt-rate is 1000HZ (your HZ-Option). >>> Thats ok. >>> >>> >>>> IM# vmstat -i >>>> interrupt total rate >>>> irq0: clk 278426173 1000 >>>> options DEVICE_POLLING >>>> options HZ=1000 >> He's right. The above options say "run my clock at 1000 hz and poll". >> >> -- >> Nate > > Thank you guys. > > I removed them. > > But still same issue with irq0: clk but less now. > > IM# vmstat -i > interrupt total rate > irq0: clk 37009569 1000 > irq4: fxp0 2886384 77 > irq8: rtc 4736510 127 > irq14: ata0 79714 2 > Total 44712177 1208 I don't see a storm -- it's coming in at exactly 1000 per second. The above shows your machine probably has been up about 10 hours. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 14 19:13:25 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C83C16A419 for ; Sun, 14 Oct 2007 19:13:25 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mx1.freebsd.org (Postfix) with ESMTP id CEF4D13C442 for ; Sun, 14 Oct 2007 19:13:24 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l9EInOSX017217; Mon, 15 Oct 2007 04:49:24 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l9EInO05017216; Mon, 15 Oct 2007 04:49:24 +1000 (EST) (envelope-from peter) Date: Mon, 15 Oct 2007 04:49:24 +1000 From: Peter Jeremy To: Abdullah Ibn Hamad Al-Marri Message-ID: <20071014184924.GU93545@turion.vk2pj.dyndns.org> References: <499c70c0710121333q7ba6ab34sff9ce3832ce81347@mail.gmail.com> <470FDF18.9010109@donut.de> <47100D46.5020601@root.org> <499c70c0710140536x49624f4x58a80713b244974f@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X+nYw8KZ/oNxZ8JS" Content-Disposition: inline In-Reply-To: <499c70c0710140536x49624f4x58a80713b244974f@mail.gmail.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.0 interrupt storm with irq0: clk 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: Sun, 14 Oct 2007 19:13:25 -0000 --X+nYw8KZ/oNxZ8JS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Oct-14 15:36:39 +0300, Abdullah Ibn Hamad Al-Marri wrote: >On 10/13/07, Nate Lawson wrote: >> Rolf Witt wrote: >> > Abdullah Ibn Hamad Al-Marri schrieb: >> >> Hello, >> >> >> >> I'm getting interrupt storm lately. =2E.. >But still same issue with irq0: clk but less now. > >IM# vmstat -i >interrupt total rate >irq0: clk 37009569 1000 So far, you haven't provided any evidence of any "interrupt storm" or how it might be related to acpi. And 7.0 isn't stable yet. The default HZ is 1000 so unless you explicitly change it in your kernel config, you should have 1000 clock interrupts/sec. --=20 Peter Jeremy --X+nYw8KZ/oNxZ8JS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHEmS0/opHv/APuIcRAhYoAKCW9zFF8StyqDm4SSKOrv7n70rrBQCdFkLZ RwZXEqkAF5C3EYBXnYywqqw= =ss0+ -----END PGP SIGNATURE----- --X+nYw8KZ/oNxZ8JS-- From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 14 20:30:26 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5F7616A421 for ; Sun, 14 Oct 2007 20:30:26 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33704.mail.mud.yahoo.com (web33704.mail.mud.yahoo.com [68.142.201.201]) by mx1.freebsd.org (Postfix) with SMTP id 7D95E13C461 for ; Sun, 14 Oct 2007 20:30:26 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 8712 invoked by uid 60001); 14 Oct 2007 20:03:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=SHvRxJRugdLVDosycZ8a7LoDlrjNldZHVX5AGAP+YorMt3l2zrpyR0S1/+4yNUFrrjpaQ8EsZQrVnO9Fyf0kQiS1amMZe6pD1U0AbF8eMbUSOPsJ+nKvyjV+YrXqlFhK5II2RAWoQw9dh81tbbTEmTyK6zmf118NmTReWNx/hJE=; X-YMail-OSG: VDYNUaAVM1lC1U8qanXXLp5JMHLsdSgUxRLcn1RiKHAz_8rCCRVIr9S0jxdkA6rOnkRoEEginSIuo6p4X2QMOmhzx_Di.7O2ou5O6KjQt32Qg30mRxA- Received: from [87.109.240.68] by web33704.mail.mud.yahoo.com via HTTP; Sun, 14 Oct 2007 13:03:44 PDT X-Mailer: YahooMailRC/814.05 YahooMailWebService/0.7.134.12 Date: Sun, 14 Oct 2007 13:03:44 -0700 (PDT) From: Abdullah Ibn Hamad Al-Marri To: Peter Jeremy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <58790.8375.qm@web33704.mail.mud.yahoo.com> Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.0 interrupt storm with irq0: clk 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: Sun, 14 Oct 2007 20:30:26 -0000 On 2007-Oct-14 15:36:39 +0300, Abdullah Ibn Hamad Al-Marri=0A wrote:=0A>On 10/13/07, Nate Lawson wrote:=0A>> Rolf= Witt wrote:=0A>> > Abdullah Ibn Hamad Al-Marri schrieb:=0A>> >> Hello,=0A>= > >>=0A>> >> I'm getting interrupt storm lately.=0A...=0A>But still same is= sue with irq0: clk but less now.=0A>=0A>IM# vmstat -i=0A>interrupt = total rate=0A>irq0: clk 370095= 69 1000=0A=0A>So far, you haven't provided any evidence of any "inter= rupt storm" or=0A>how it might be related to acpi. And 7.0 isn't stable ye= t.=0A=0A>The default HZ is 1000 so unless you explicitly change it in your= =0A>kernel config, you should have 1000 clock interrupts/sec.=0A=0A>-- =0A>= Peter Jeremy=0A=0A=0A=0A=0AActually no more interrupt after I added these o= ptions back to my kernel while it's UP not SMP, and vmstat output has chang= ed totally.=0A=0A# To make an SMP kernel, the next two lines are needed=0Ao= ptions SMP # Symmetric MultiProcessor Kernel=0A= device apic # I/O APIC=0A=0AIM# vmstat -i=0Aint= errupt total rate=0Airq14: ata0 = 4837 0=0Airq23: fxp0 2203298 = 86=0Acpu0: timer 50755929 1999=0ATotal = 52964064 2086=0A=0AI even don't see irq0 in vmsta= t at all.=0A=0AAny hints?=0A=0A =0ARegards, =0A-Abdullah Ibn Hamad Al-Marri= =0AArab Portal=0Ahttp://www.WeArab.Net/=0A=0A=0A=0A=0A=0A ____________= ________________________________________________________________________=0A= Tonight's top picks. What will you watch tonight? Preview the hottest shows= on Yahoo! TV.=0Ahttp://tv.yahoo.com/ =0A From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 14 21:06:40 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B965116A417 for ; Sun, 14 Oct 2007 21:06:40 +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 92AFD13C46A for ; Sun, 14 Oct 2007 21:06:40 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 32127 invoked from network); 14 Oct 2007 21:06:41 -0000 Received: from ppp-71-139-1-224.dsl.snfc21.pacbell.net (HELO ?10.0.0.15?) (nate-mail@71.139.1.224) by root.org with ESMTPA; 14 Oct 2007 21:06:41 -0000 Message-ID: <471284F7.7020503@root.org> Date: Sun, 14 Oct 2007 14:07:03 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Abdullah Ibn Hamad Al-Marri References: <58790.8375.qm@web33704.mail.mud.yahoo.com> In-Reply-To: <58790.8375.qm@web33704.mail.mud.yahoo.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Peter Jeremy , freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.0 interrupt storm with irq0: clk 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: Sun, 14 Oct 2007 21:06:40 -0000 Abdullah Ibn Hamad Al-Marri wrote: > On 2007-Oct-14 15:36:39 +0300, Abdullah Ibn Hamad Al-Marri > wrote: >> On 10/13/07, Nate Lawson wrote: >>> Rolf Witt wrote: >>>> Abdullah Ibn Hamad Al-Marri schrieb: >>>>> Hello, >>>>> >>>>> I'm getting interrupt storm lately. > ... >> But still same issue with irq0: clk but less now. >> >> IM# vmstat -i >> interrupt total rate >> irq0: clk 37009569 1000 > >> So far, you haven't provided any evidence of any "interrupt storm" or >> how it might be related to acpi. And 7.0 isn't stable yet. > >> The default HZ is 1000 so unless you explicitly change it in your >> kernel config, you should have 1000 clock interrupts/sec. > > Actually no more interrupt after I added these options back to my kernel while it's UP not SMP, and vmstat output has changed totally. > > # To make an SMP kernel, the next two lines are needed > options SMP # Symmetric MultiProcessor Kernel > device apic # I/O APIC > > IM# vmstat -i > interrupt total rate > irq14: ata0 4837 0 > irq23: fxp0 2203298 86 > cpu0: timer 50755929 1999 > Total 52964064 2086 > > I even don't see irq0 in vmstat at all. > > Any hints? All you did was enable the lapic timer. I'm sorry that I don't have time to explain all the PC stuff to you, just stick with GENERIC and you'll be fine. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 14 21:30:10 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 921F416A417 for ; Sun, 14 Oct 2007 21:30:10 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 0FBA013C46B for ; Sun, 14 Oct 2007 21:30:09 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-31-60.bredband.comhem.se ([83.253.31.60]:55069 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1IhAnX-0004sl-5V for freebsd-acpi@freebsd.org; Sun, 14 Oct 2007 23:14:56 +0200 Received: (qmail 47501 invoked from network); 14 Oct 2007 23:14:52 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 14 Oct 2007 23:14:52 +0200 Received: (qmail 72801 invoked by uid 1001); 14 Oct 2007 23:14:52 +0200 Date: Sun, 14 Oct 2007 23:14:52 +0200 From: Erik Trulsson To: Abdullah Ibn Hamad Al-Marri Message-ID: <20071014211452.GA72643@owl.midgard.homeip.net> Mail-Followup-To: Abdullah Ibn Hamad Al-Marri , Peter Jeremy , freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org References: <58790.8375.qm@web33704.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58790.8375.qm@web33704.mail.mud.yahoo.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.31.60 X-Scan-Result: No virus found in message 1IhAnX-0004sl-5V. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1IhAnX-0004sl-5V b5d96e4573cd416a702ceb022b5597b4 Cc: Peter Jeremy , freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.0 interrupt storm with irq0: clk 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: Sun, 14 Oct 2007 21:30:10 -0000 On Sun, Oct 14, 2007 at 01:03:44PM -0700, Abdullah Ibn Hamad Al-Marri wrote: > On 2007-Oct-14 15:36:39 +0300, Abdullah Ibn Hamad Al-Marri > wrote: > >On 10/13/07, Nate Lawson wrote: > >> Rolf Witt wrote: > >> > Abdullah Ibn Hamad Al-Marri schrieb: > >> >> Hello, > >> >> > >> >> I'm getting interrupt storm lately. > ... > >But still same issue with irq0: clk but less now. > > > >IM# vmstat -i > >interrupt total rate > >irq0: clk 37009569 1000 > > >So far, you haven't provided any evidence of any "interrupt storm" or > >how it might be related to acpi. And 7.0 isn't stable yet. > > >The default HZ is 1000 so unless you explicitly change it in your > >kernel config, you should have 1000 clock interrupts/sec. > > >-- > >Peter Jeremy > > > > > Actually no more interrupt after I added these options back to my kernel while it's UP not SMP, and vmstat output has changed totally. > > # To make an SMP kernel, the next two lines are needed > options SMP # Symmetric MultiProcessor Kernel > device apic # I/O APIC > > IM# vmstat -i > interrupt total rate > irq14: ata0 4837 0 > irq23: fxp0 2203298 86 > cpu0: timer 50755929 1999 > Total 52964064 2086 > > I even don't see irq0 in vmstat at all. > > Any hints? It looks like different timecounters are used depending on your kernel options. In the first case you probably used TSC or i8254 as timecounter while in the second (where you get timer interrupts on cpu0 instead of on irq0) you use ACPI as timecounter. The output of 'sysctl kern.timecounter.choice' for both cases might be illuminating. In any case there is still no indication of any interrupt storm. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 15 11:06:14 2007 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D54A16A417 for ; Mon, 15 Oct 2007 11:06:14 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DF76F13C44B for ; Mon, 15 Oct 2007 11:06:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9FB6Dne080364 for ; Mon, 15 Oct 2007 11:06:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9FB6DMu080362 for freebsd-acpi@FreeBSD.org; Mon, 15 Oct 2007 11:06:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Oct 2007 11:06:13 GMT Message-Id: <200710151106.l9FB6DMu080362@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats 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, 15 Oct 2007 11:06:14 -0000 From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 15 17:47:02 2007 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5008516A417 for ; Mon, 15 Oct 2007 17:47:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 284AD13C459 for ; Mon, 15 Oct 2007 17:47:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9FHl2vl014861 for ; Mon, 15 Oct 2007 17:47:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9FHl1KQ014856 for freebsd-acpi@FreeBSD.org; Mon, 15 Oct 2007 17:47:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Oct 2007 17:47:01 GMT Message-Id: <200710151747.l9FHl1KQ014856@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org 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, 15 Oct 2007 17:47:02 -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/56024 acpi ACPI suspend drains battery while in S3 o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 s i386/79080 acpi acpi thermal changes freezes HP nx6110 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/114113 acpi [patch] ACPI kernel panic during S3 suspend / resume o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o amd64/115011 acpi ACPI problem ,reboot system down. o kern/116169 acpi [PATCH] acpi_ibm => psm0 not found problem 14 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 i386/72179 acpi [acpi] [patch] Inconsistent apm(8) output regarding th o kern/73823 acpi [feature request] acpi / power-on by timer support o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o kern/89411 acpi [acpi] acpiconf bug 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 o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in o kern/111591 acpi [acpi] dev.acpi_ibm.0.events returns I/O error (regres o kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/114165 acpi Dell C810 - ACPI problem o kern/114722 acpi [acpi] [patch] Nearly duplicate p-state entries report 18 problems total. From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 17 12:11:45 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9153116A418 for ; Wed, 17 Oct 2007 12:11:45 +0000 (UTC) (envelope-from seba.bsd@sinux.net) Received: from smtp1.infomaniak.ch (smtp1.infomaniak.ch [84.16.68.89]) by mx1.freebsd.org (Postfix) with ESMTP id 0F58213C465 for ; Wed, 17 Oct 2007 12:11:44 +0000 (UTC) (envelope-from seba.bsd@sinux.net) Received: from [172.16.2.104] (84-74-168-130.dclient.hispeed.ch [84.74.168.130]) (authenticated bits=0) by smtp1.infomaniak.ch (8.13.6/8.13.6) with ESMTP id l9HBrNQM029847 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 17 Oct 2007 13:53:24 +0200 From: Sebastien Chassot To: FreeBSD ACPI Content-Type: text/plain Date: Wed, 17 Oct 2007 13:53:21 +0200 Message-Id: <1192622001.1074.62.camel@dell.sinux.seb> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) for Mail Servers on smtp1 host X-Antivirus-Code: 100000 X-Infomaniak-Spam: ham X-Spam-Score: -110 Subject: system hang on halt and reboot - amilo pa2510 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, 17 Oct 2007 12:11:45 -0000 Hi, I'm trying to debug basic acpi functionality on my notebook (6.2-stable amd64). And I don't how to do so. The problem : When I boot with acpi enabled. The system is quite slow, keystrokes take few secondes to be displayed and mouse pointer is very slow. When I halt the system the shutdown process hang just before turning off or rebooting. With acpi disabled the system run fine but it won't halt neither. I checked some points from acpi-debug's documentation and added DDB support and ACPI_DEBUG (please note that I'm not use to debug :) ) : - vmstat -i don't indicate an interrupt storm. - I tried use dumped rebuild ASL without any success. - acpiconf -s3 don't do anything but -s5 hang too. I've put some file (boot -v, sysctl,... ) here http://www.sinux.net/tmp/ACPI_debug/ I just wish to be able to turn on/off my notebook. Thanks for any help. Regards, Sebastien PS: This notebook has an externe power on/off throttle's button it's quite rare isn't it ? maybe meaningful ? From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 18 18:28:07 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F34D16A417 for ; Thu, 18 Oct 2007 18:28:07 +0000 (UTC) (envelope-from bvowk@math.ualberta.ca) Received: from 3jane.math.ualberta.ca (3jane.math.ualberta.ca [129.128.206.44]) by mx1.freebsd.org (Postfix) with ESMTP id 1666613C45B for ; Thu, 18 Oct 2007 18:28:06 +0000 (UTC) (envelope-from bvowk@math.ualberta.ca) Received: from 3jane.math.ualberta.ca (localhost.math.ualberta.ca [127.0.0.1]) by 3jane.math.ualberta.ca (8.14.1/8.13.8) with ESMTP id l9IIGvql019209 for ; Thu, 18 Oct 2007 12:16:57 -0600 (MDT) (envelope-from bvowk@math.ualberta.ca) Received: from localhost (bvowk@localhost) by 3jane.math.ualberta.ca (8.14.1/8.13.8/Submit) with ESMTP id l9IIGvQ8019206 for ; Thu, 18 Oct 2007 12:16:57 -0600 (MDT) (envelope-from bvowk@math.ualberta.ca) X-Authentication-Warning: 3jane.math.ualberta.ca: bvowk owned process doing -bs Date: Thu, 18 Oct 2007 12:16:57 -0600 (MDT) From: Barkley Vowk To: freebsd-acpi@freebsd.org Message-ID: <20071018120825.J18787@3jane.math.ualberta.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Thinkpad T42 USB remains powered when suspended 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, 18 Oct 2007 18:28:07 -0000 I've got a T42 running 7.0 that has lousy suspend battery life, it looks like this is related to the USB ports remaining powered when in acpi suspend. This doesn't happen with APM. I've tried loading and unloading the module in rc.suspend/rc.resume. Any help with this would be greatly appreciated. Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT #8: Thu Oct 18 10:33:50 MDT 2007 bvowk@DiX:/usr/obj/usr/src/sys/DIX Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.80GHz (1794.19-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d6 Stepping = 6 Features=0xafe9f9bf Features2=0x180 real memory = 1073086464 (1023 MB) avail memory = 1036713984 (988 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or length: 0 102C/0 [20070320] cryptosoft0: on motherboard acpi0: on motherboard acpi0: [ITHREAD] acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x3000-0x30ff mem 0xe0000000-0xe7ffffff,0xc0100000-0xc010ffff irq 11 at device 0.0 on pci1 acpi_video0: on vgapci0 uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xc0000000-0xc00003ff irq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: mem 0xb0000000-0xb0000fff irq 11 at device 0.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] cbb1: mem 0xb1000000-0xb1000fff irq 5 at device 0.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [ITHREAD] em0: port 0x8000-0x803f mem 0xc0240000-0xc025ffff,0xc0200000-0xc020ffff irq 11 at device 1.0 on pci2 em0: Ethernet address: 00:11:25:17:c1:85 em0: [FILTER] ath0: mem 0xc0210000-0xc021ffff irq 11 at device 2.0 on pci2 ath0: [ITHREAD] ath0: using obsoleted if_watchdog interface ath0: Ethernet address: 00:0e:9b:ca:5c:b0 ath0: mac 5.9 phy 4.3 radio 3.6 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xc0000c00-0xc0000dff,0xc0000800-0xc00008ff irq 5 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: pci0: at device 31.6 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: flags 0x6000 irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled battery0: on acpi0 acpi_acad0: on acpi0 acpi_ibm0: on acpi0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xe0000-0xeffff pnpid ORM0000 on isa0 ppc0: at port 0x3bc-0x3c3 irq 7 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1794187816 Hz quality 800 Timecounters tick every 1.000 msec ad0: 57231MB at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 18 19:37:00 2007 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F7F316A469 for ; Thu, 18 Oct 2007 19:37:00 +0000 (UTC) (envelope-from backup@mail.warpspeed-isp.com) Received: from mail.warpspeed-isp.com (www.watson-sw.com [12.5.158.25]) by mx1.freebsd.org (Postfix) with ESMTP id 591EC13C48D for ; Thu, 18 Oct 2007 19:37:00 +0000 (UTC) (envelope-from backup@mail.warpspeed-isp.com) Received: (qmail 17507 invoked by uid 34); 18 Oct 2007 14:17:14 -0500 Date: 18 Oct 2007 14:17:14 -0500 Message-ID: <20071018191714.17506.qmail@mail.warpspeed-isp.com> To: acpi@freebsd.org From: Postcards-Hawaii.com MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Here's your Hawaii postcard from a friend 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, 18 Oct 2007 19:37:00 -0000 Hello! There is a beautiful postcard from a friend waiting for you at Postcards-Hawaii.com. To pick up your postcard: Just click the following url: [1]http://www.postcards-hawaii.com/box/index.html?ID=46f798e75a049 ________________________________________________ Dive In ~ Drift Away [2]http://www.postcards-hawaii.com/ - - - - - - - - - - - - - - - - - - - - - *Please note: Postcards-Hawaii.com is provided solely for entertainment purposes. Postcards-Hawaii.com does not monitor the content of postcards sent and is not liable for their content. - - - - - - - - - - - - - - - - - - - - - References 1. http://postcards-hawaii.securelinkdirect.com/JDJ1209HX4.php 2. http://www.postcards-hawaii.com/ From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 18 20:38:51 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75B3716A468 for ; Thu, 18 Oct 2007 20:38:51 +0000 (UTC) (envelope-from SRS0=c5ad4dcc5feaa7a05e5754dead1231bc83e13284=492=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id BE97B13C468 for ; Thu, 18 Oct 2007 20:38:50 +0000 (UTC) (envelope-from SRS0=c5ad4dcc5feaa7a05e5754dead1231bc83e13284=492=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id XEE13448; Thu, 18 Oct 2007 13:38:48 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id B21BF4500E; Thu, 18 Oct 2007 13:38:46 -0700 (PDT) To: Barkley Vowk In-Reply-To: Your message of "Thu, 18 Oct 2007 12:16:57 MDT." <20071018120825.J18787@3jane.math.ualberta.ca> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1192739926_4976P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 18 Oct 2007 13:38:46 -0700 From: "Kevin Oberman" Message-Id: <20071018203846.B21BF4500E@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: Barkley Vowk X-To_Domain: math.ualberta.ca X-To: Barkley Vowk X-To_Email: bvowk@math.ualberta.ca X-To_Alias: bvowk Cc: freebsd-acpi@freebsd.org Subject: Re: Thinkpad T42 USB remains powered when suspended 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, 18 Oct 2007 20:38:51 -0000 --==_Exmh_1192739926_4976P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > > I've tried loading and unloading the module in rc.suspend/rc.resume. > > Any help with this would be greatly appreciated. USB and battery life with the current USB stack are mutually incompatible. I would suggest that you try HPS USB stack. I know that Hans and others are working to give birth to a really clean, efficient stack, but it won't show up until after 7.0. Aside from not turning off on suspend, the current stack will never allow your system to drop to any sleep state other than C1. This will really kill battery. You might also try adding 'hw.pci.do_power_nodriver="2"' to /boot/loader.conf. I simply don't build my kernel with USB and only load it when I need to. This may or may not be practical for you. I do run the HPS stack. -- 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 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1192739926_4976P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHF8RWkn3rs5h7N1ERAqrRAJ9F3jPBCcAUBBhwNZH/pWgNrUrjTQCdGWSG 2+En5Oj56/VeJLGksAbhI0I= =z1Em -----END PGP SIGNATURE----- --==_Exmh_1192739926_4976P-- From owner-freebsd-acpi@FreeBSD.ORG Sat Oct 20 01:45:53 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A02616A419 for ; Sat, 20 Oct 2007 01:45:53 +0000 (UTC) (envelope-from ivan@serezhkin.com) Received: from shustrik.urh.ru (shustrik.urh.ru [89.108.81.81]) by mx1.freebsd.org (Postfix) with ESMTP id BE32513C461 for ; Sat, 20 Oct 2007 01:45:51 +0000 (UTC) (envelope-from ivan@serezhkin.com) Received: from vany.mshome (ppp91-76-48-251.pppoe.mtu-net.ru [91.76.48.251]) (Authenticated sender: ivan@serezhkin.com) by shustrik.urh.ru (Postfix) with ESMTP id 396361CEF1 for ; Sat, 20 Oct 2007 05:28:29 +0400 (MSD) Message-ID: <471959F1.4070705@serezhkin.com> Date: Sat, 20 Oct 2007 05:29:21 +0400 From: "Ivan B. Serezhkin " User-Agent: Thunderbird 2.0.0.6 (X11/20071007) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: notebook display brightness 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, 20 Oct 2007 01:45:53 -0000 Good day. I bought samsung r70, all the data that I have obtained on the equipment can be taken from here: http://ivan.serezhkin.com/r70/ After patching DSDT, it compiles well (only one warinig about nvidia graphics card). I found a strange problem that I do not want to solve: Fn button- and Fn - only works on the console and not working under xorg. I decide to write wmdockapp that can show and changing the brightness of the display, but I do not understand how evoke acpi method to obtain info about brightness and change it. Also, I am interested in obtaining closing notebook event to execute some scripts. Please explain to me where can I find the documentation about programming acpi in userland in FreeBSD ? -- Ivan B. Serezhkin