From owner-freebsd-acpi@FreeBSD.ORG Sun Apr 10 21:04:39 2005 Return-Path: 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 7BB8C16A4D8 for ; Sun, 10 Apr 2005 21:04:39 +0000 (GMT) Received: from ylpvm12.prodigy.net (ylpvm12-ext.prodigy.net [207.115.57.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3875043D48 for ; Sun, 10 Apr 2005 21:04:38 +0000 (GMT) (envelope-from nate@root.org) Received: from pimout6-ext.prodigy.net (pimout6-ext.prodigy.net [207.115.63.78])j3AL4bcm003893 for ; Sun, 10 Apr 2005 17:04:37 -0400 X-ORBL: [64.171.186.189] Received: from [10.0.5.51] (adsl-64-171-186-189.dsl.snfc21.pacbell.net [64.171.186.189])j3AL4Y5j042350; Sun, 10 Apr 2005 17:04:34 -0400 Message-ID: <4259945C.4020904@root.org> Date: Sun, 10 Apr 2005 14:02:20 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Oberman References: <20050408215912.E65115D07@ptavv.es.net> In-Reply-To: <20050408215912.E65115D07@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org Subject: Re: Further testing of power management X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2005 21:04:39 -0000 Kevin Oberman wrote: > Nate, > > I finally had time to do some careful testing of power management on > -current. All testing was done on my IBM T30 with a 1.8 GHz P4-M > Processor. CPU load was generated by the use of md5 on a long gatch of > zeros. (As you suggested.) > > First, on power dissipation, while the use of TCC and adjusting actual > CPU frequency causes very predictable compute performance. They do not > produce the expected matching power dissipation. > > Here is a chart of the CPU temperature against the value of > dev.cpu.0.freq. The third column list the actual clock frequency that > the CPU is using. The T30 supports only 2 frequencies, 1.8 GHz and 1.2 > GHz. > > dev.cpu.0.freq Temperature CPU Clock > 1800 >_PSV 1800 > 1575 >_PSV 1800 > 1350 85 1800 > 1200 73 1200 > 1125 82 1800 > 1050 69 1200 > 900 77 1800 > 750 64 1200 > 675 72 1800 > 600 62 1200 > 450 66 1800 > 300 56 1200 > 225 61 1800 > 150 54 1200 > > As you can see, lowering the CPU cock speed is much more effective in > reducing CPU heat (and battery drain) than doing it with TCC. I can get > much better performance with lower battery consumption at 1200 MHz than > at 900 MHz. Clearly, if both clock and TCC can provide identical > performance, you want the slower clock. This is backwards from how it is > now running as both 900 MHZ and 450 MHz can be achieved at either 1800 > MHZ or 1200MHz clocking, but are clocked at 1800 MHz. Thanks for your testing. I agree that settings like the 900 mhz value don't make sense to use when the 1050 value has lower heat. Do you have known values for power consumption (sysctl dev.cpu.0.freq_levels, look for the second number after the /)? Unknown values are marked -1. Is the power consumption for 900 higher than 1050? If so, we could add a test that compares power consumption and discards levels that have lower frequencies but higher power consumption than their neighbors. If you check today's CVS email, you'll see that I committed support to powerd to add up all power usage when in verbose mode. This lets you test a fixed workload with different algorithms like this: sysctl dev.cpu.0.freq=[your highest] powerd -v > powerd_output & time -o load_output ./load_generator killall powerd I've found with my testing that the current algorithm saves much more power and has no worse performance loss than any other algorithm I tried. I tried various forms of linear and exponential growth/decay as well as adding the "stickiness" patch. Two workloads I tried were a random IO with pauses and a random CPU burner with pauses. On a P4-M laptop I was able to borrow, I ran the test at 1700 and 600 Mhz (fixed) to get a baseline. The 600 Mhz test ran 37% slower (wall time) than the full speed test. The current adaptive algorithm ran only 2.3% slower than full speed and saved a whopping 75% on power (energy consumed, really). The best performing algorithm (lazy linear step-up/step-down similar to your patch) gave performance only 0.7% slower than full speed but used 2.6X more power than the current adaptive algorithm. I did find that interrupt latency was not significantly affected by the slower clock frequencies so I've dropped the default running level to 65%. This should keep us from jumping to full speed prematurely. I welcome further testing with different workloads. Be sure to benchmark your performance with time(1) as well as power consumed (via powerd -v) and compare to full speed and slow speed. You can get the power consumed for constant speeds by using powerd's fixed mode (powerd -v -a max -b max) -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Apr 11 10:37:29 2005 Return-Path: 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 7EB1116A4CE for ; Mon, 11 Apr 2005 10:37:29 +0000 (GMT) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3DAF43D2F for ; Mon, 11 Apr 2005 10:37:28 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1DKwHj-00089V-00; Mon, 11 Apr 2005 12:36:51 +0200 Date: Mon, 11 Apr 2005 12:36:51 +0200 To: Nate Lawson Message-ID: <20050411103651.GO2298@poupinou.org> References: <20050408215912.E65115D07@ptavv.es.net> <4259945C.4020904@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4259945C.4020904@root.org> User-Agent: Mutt/1.5.6+20040907i From: Bruno Ducrot cc: acpi@freebsd.org Subject: Re: Further testing of power management X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 10:37:29 -0000 On Sun, Apr 10, 2005 at 02:02:20PM -0700, Nate Lawson wrote: > Kevin Oberman wrote: > >Nate, > > > >I finally had time to do some careful testing of power management on > >-current. All testing was done on my IBM T30 with a 1.8 GHz P4-M > >Processor. CPU load was generated by the use of md5 on a long gatch of > >zeros. (As you suggested.) > > > >First, on power dissipation, while the use of TCC and adjusting actual > >CPU frequency causes very predictable compute performance. They do not > >produce the expected matching power dissipation. > > > >Here is a chart of the CPU temperature against the value of > >dev.cpu.0.freq. The third column list the actual clock frequency that > >the CPU is using. The T30 supports only 2 frequencies, 1.8 GHz and 1.2 > >GHz. > > > >dev.cpu.0.freq Temperature CPU Clock > >1800 >_PSV 1800 > >1575 >_PSV 1800 > >1350 85 1800 > >1200 73 1200 > >1125 82 1800 > >1050 69 1200 > >900 77 1800 > >750 64 1200 > >675 72 1800 > >600 62 1200 > >450 66 1800 > >300 56 1200 > >225 61 1800 > >150 54 1200 > > > >As you can see, lowering the CPU cock speed is much more effective in > >reducing CPU heat (and battery drain) than doing it with TCC. I can get > >much better performance with lower battery consumption at 1200 MHz than > >at 900 MHz. Clearly, if both clock and TCC can provide identical > >performance, you want the slower clock. This is backwards from how it is > >now running as both 900 MHZ and 450 MHz can be achieved at either 1800 > >MHZ or 1200MHz clocking, but are clocked at 1800 MHz. > > Thanks for your testing. I agree that settings like the 900 mhz value > don't make sense to use when the 1050 value has lower heat. Do you have > known values for power consumption (sysctl dev.cpu.0.freq_levels, look > for the second number after the /)? Unknown values are marked -1. Is > the power consumption for 900 higher than 1050? If so, we could add a > test that compares power consumption and discards levels that have lower > frequencies but higher power consumption than their neighbors. What strange is that we got 900 = 1800 * .50, but I would expect 900 = 1200 * .75 since 0.75 is valid. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-acpi@FreeBSD.ORG Mon Apr 11 11:02:11 2005 Return-Path: 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 2971116A4CE for ; Mon, 11 Apr 2005 11:02:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBE3B43D54 for ; Mon, 11 Apr 2005 11:02:10 +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 j3BB2AFG088169 for ; Mon, 11 Apr 2005 11:02:10 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3BB2AR1088163 for freebsd-acpi@freebsd.org; Mon, 11 Apr 2005 11:02:10 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 11 Apr 2005 11:02:10 GMT Message-Id: <200504111102.j3BB2AR1088163@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 Subject: Current problem reports assigned to you X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 11:02:11 -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 f [2003/09/10] kern/56659 acpi ACPI trouble on IBM ThinkPad X31 f [2003/12/17] i386/60317 acpi FreeBSD 5.2rc1 doesn't boot with ACPI ena f [2004/03/02] kern/63666 acpi [acpi] Network card 3c575B do not work af 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 11 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2004/01/22] i386/61703 acpi ACPI + Sound + Boot = Reboot o [2004/03/17] kern/64365 acpi ACPI problems f [2004/05/25] i386/67189 acpi ACPI S3 reboot computer on Dell Latitude o [2004/05/28] kern/67309 acpi zzz reboot computer (ACPI S3) f [2004/06/23] i386/68219 acpi ACPI + snd_maestro3 problem o [2004/07/29] i386/69750 acpi Boot without ACPI failed on ASUS L5 o [2004/11/11] i386/73822 acpi acpi / thermal support o [2004/11/21] kern/74215 acpi [request] add ACPI headers to /usr/includ 8 problems total. From owner-freebsd-acpi@FreeBSD.ORG Tue Apr 12 03:07:32 2005 Return-Path: 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 CE93A16A4CE for ; Tue, 12 Apr 2005 03:07:32 +0000 (GMT) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6B9B43D2F for ; Tue, 12 Apr 2005 03:07:31 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.22] (andersonbox2.centtech.com [192.168.42.22]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j3C37UwP058109; Mon, 11 Apr 2005 22:07:30 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <425B3B4C.4080306@centtech.com> Date: Mon, 11 Apr 2005 22:06:52 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050325 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <42552573.6040902@centtech.com> <42556AA3.5040403@root.org> In-Reply-To: <42556AA3.5040403@root.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: Suspend powers off machine X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 03:07:33 -0000 Nate Lawson wrote: > Eric Anderson wrote: > >> I'm going to have some time on my hands next week, and I'd like to >> hunt down an issue with my laptop. When attempting to go into S3, >> instead of going into S3, it powers off (uncleanly). Can anyone tell >> me where this might be happening in the code, so I can start the >> printf debugging process? > > > It's nearly 100% certain it happens in AcpiEnterSleepState at the write > to PM1A. This is in sys/contrib/dev/acpica/hwsleep.c You're right - it happens here: Status = AcpiHwRegisterWrite (ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1A_CONTROL, PM1AControl); In that subroutine.. > In thinking about it, my best theory is that the southbridge interprets > this write as an S4/S5 transition. Perhaps the ASL gives the wrong > value to write? Perhaps the chipset is not being prepared for S3 > correctly. In any case, better chipset specs would probably help > diagnose this. Not sure what to look for in the ASL for the valid/invalid values. What chipset info do you need? > Other possibilities are that the setting of SLP_EN should be done at the > same time as the write with the SLP_TYP value (i.e. write > SLP_TYPE_S3|SLP_EN instead of splitting the write into two phases). It > also may be that the previous steps like disabling BM ctrl are not > appropriate for some chipsets. > > If you can get more info, I can refine this theory. I'm going to keep doing some printf's in the hwregs.c file to see if I can track down anything closer. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-acpi@FreeBSD.ORG Tue Apr 12 19:06:59 2005 Return-Path: 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 E5F4416A4CE for ; Tue, 12 Apr 2005 19:06:59 +0000 (GMT) Received: from ylpvm15.prodigy.net (ylpvm15-ext.prodigy.net [207.115.57.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84B3843D1D for ; Tue, 12 Apr 2005 19:06:59 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222])j3CJ30ba010028; Tue, 12 Apr 2005 15:03:01 -0400 Message-ID: <425C1BCA.4040201@root.org> Date: Tue, 12 Apr 2005 12:04:42 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <42552573.6040902@centtech.com> <42556AA3.5040403@root.org> <425B3B4C.4080306@centtech.com> In-Reply-To: <425B3B4C.4080306@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: Suspend powers off machine X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 19:07:00 -0000 Eric Anderson wrote: > Nate Lawson wrote: > >> Eric Anderson wrote: >> >>> I'm going to have some time on my hands next week, and I'd like to >>> hunt down an issue with my laptop. When attempting to go into S3, >>> instead of going into S3, it powers off (uncleanly). Can anyone tell >>> me where this might be happening in the code, so I can start the >>> printf debugging process? >> >> It's nearly 100% certain it happens in AcpiEnterSleepState at the >> write to PM1A. This is in sys/contrib/dev/acpica/hwsleep.c > > You're right - it happens here: > Status = AcpiHwRegisterWrite (ACPI_MTX_DO_NOT_LOCK, > ACPI_REGISTER_PM1A_CONTROL, PM1AControl); > In that subroutine.. If you have access to a bus analyzer, the next step would be to monitor the SLP_S3#, SLP_S4#, and SLP_S5# pins on the ICH. >> In thinking about it, my best theory is that the southbridge >> interprets this write as an S4/S5 transition. Perhaps the ASL gives >> the wrong value to write? Perhaps the chipset is not being prepared >> for S3 correctly. In any case, better chipset specs would probably >> help diagnose this. > > Not sure what to look for in the ASL for the valid/invalid values. What > chipset info do you need? Check the two 8 bit values returned by \_S3 against the ones for \_S4 and \_S5. Are they different? Check that the value being written for S3 is actually what the ASL reports. Then compare against the appropriate S3 definitions in the ICH-4M or whatever spec. >> Other possibilities are that the setting of SLP_EN should be done at >> the same time as the write with the SLP_TYP value (i.e. write >> SLP_TYPE_S3|SLP_EN instead of splitting the write into two phases). >> It also may be that the previous steps like disabling BM ctrl are not >> appropriate for some chipsets. >> >> If you can get more info, I can refine this theory. > > I'm going to keep doing some printf's in the hwregs.c file to see if I > can track down anything closer. I'm not sure how productive this will be. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Tue Apr 12 19:57:45 2005 Return-Path: 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 700BB16A4CE for ; Tue, 12 Apr 2005 19:57:45 +0000 (GMT) Received: from fe07.axelero.hu (fe07.axelero.hu [195.228.240.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62E9843D48 for ; Tue, 12 Apr 2005 19:57:44 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from fe07 (localhost-02 [127.0.2.1]) by fe07.axelero.hu (8.12.11/8.12.11) with SMTP id j3CJvhF2082452 for ; Tue, 12 Apr 2005 21:57:43 +0200 (CEST) Received: from fe07.axelero.hu ([127.0.2.1]) by fe07 ([195.228.240.95]) with SMTP (gateway) id A0421067433; Tue, 12 Apr 2005 21:57:43 +0200 Received: from [192.168.1.3] (197.205-182-adsl-pool.axelero.hu [81.182.205.197]) by fe07.axelero.hu (8.12.11/8.12.11) with ESMTP id j3CJvgSC082403 for ; Tue, 12 Apr 2005 21:57:43 +0200 (CEST) Message-ID: <425C2840.2070006@Zahemszky.HU> Date: Tue, 12 Apr 2005 21:57:52 +0200 From: =?ISO-8859-2?Q?Zahemszky_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050330) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: ACPI + MP - is it possible? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 19:57:45 -0000 Hi! I've got a Dell WS210, 2-processor (P-III/550) system. It's great, but in SMP mode, I cannot use ACPI. If I load ACPI from loader.conf, the boot hangs. (With a stock FreeSBIE CD - with FBSD 5.3 -, which has only UP configuration, I can _poweroff_ the machine.) I'm using: FreeBSD Picasso.Zahemszky.HU 5.4-STABLE FreeBSD 5.4-STABLE #5: Mon Apr 11 10:48:46 CEST 2005 root@Picasso.Zahemszky.HU:/usr/obj/usr/src/sys/PICASSO i386 (cvsup from yesterday) Bye, Gabor < Gabor at Zahemszky dot HU > -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j" From owner-freebsd-acpi@FreeBSD.ORG Wed Apr 13 12:30:57 2005 Return-Path: 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 6333B16A4CE for ; Wed, 13 Apr 2005 12:30:57 +0000 (GMT) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1876643D46 for ; Wed, 13 Apr 2005 12:30:57 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1DLh0g-00038C-00; Wed, 13 Apr 2005 14:30:22 +0200 Date: Wed, 13 Apr 2005 14:30:22 +0200 To: Nate Lawson , Jon Noack Message-ID: <20050413123022.GR2298@poupinou.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i From: Bruno Ducrot cc: freebsd-acpi@freebsd.org Subject: [cpufreq] speedstep support via GSI driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 12:30:57 -0000 Hi Nate, Jon, The smist driver (speedstep support for older kind of Intel's speedstep) is (maybe?) ready for inclusion. I CC to -acpi in order to get more feedback about this. It was tested on current with success by Jon (but should work with stable as well). The driver is available at http://www.poupinou.org/cpufreq/bsd/smist.tar.gz or http://www.poupinou.org/cpufreq/bsd/smist/smist.c Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-acpi@FreeBSD.ORG Wed Apr 13 21:49:11 2005 Return-Path: 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 C287016A4CE for ; Wed, 13 Apr 2005 21:49:11 +0000 (GMT) Received: from smtp818.mail.sc5.yahoo.com (smtp818.mail.sc5.yahoo.com [66.163.170.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 296CD43D5C for ; Wed, 13 Apr 2005 21:49:11 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.205.64 with login) by smtp818.mail.sc5.yahoo.com with SMTP; 13 Apr 2005 21:43:52 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 212806141; Wed, 13 Apr 2005 16:43:51 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 46798-07; Wed, 13 Apr 2005 16:43:47 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 0CE726138; Wed, 13 Apr 2005 16:43:47 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.3/8.13.3) with ESMTP id j3DLhklr016938; Wed, 13 Apr 2005 16:43:46 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <425D9291.80100@alumni.rice.edu> Date: Wed, 13 Apr 2005 16:43:45 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050406) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruno Ducrot References: <20050413123022.GR2298@poupinou.org> In-Reply-To: <20050413123022.GR2298@poupinou.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at noacks.org cc: freebsd-acpi@freebsd.org Subject: Re: [cpufreq] speedstep support via GSI driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 21:49:11 -0000 On 04/13/05 07:30, Bruno Ducrot wrote: > The smist driver (speedstep support for older kind of Intel's speedstep) > is (maybe?) ready for inclusion. I CC to -acpi in order to get more > feedback about this. > It was tested on current with success by Jon (but should work with > stable as well). > > The driver is available at > http://www.poupinou.org/cpufreq/bsd/smist.tar.gz > or > http://www.poupinou.org/cpufreq/bsd/smist/smist.c I tested the smist driver on my Compaq Presario 1800T (440BX chipset w/ 900/700MHz Pentium 3). I used it as a kernel module with powerd on -CURRENT. It worked for all settings (including adaptive mode). Thank you Bruno! Regards, Jon From owner-freebsd-acpi@FreeBSD.ORG Wed Apr 13 22:28:51 2005 Return-Path: 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 5504A16A4CE for ; Wed, 13 Apr 2005 22:28:51 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0388F43D46 for ; Wed, 13 Apr 2005 22:28:51 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j3DMSmLS007437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 13 Apr 2005 15:28:49 -0700 Message-ID: <425D9C8C.3010300@root.org> Date: Wed, 13 Apr 2005 15:26:20 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruno Ducrot References: <20050413123022.GR2298@poupinou.org> In-Reply-To: <20050413123022.GR2298@poupinou.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org cc: Jon Noack Subject: Re: [cpufreq] speedstep support via GSI driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 22:28:51 -0000 Bruno Ducrot wrote: > Hi Nate, Jon, > > The smist driver (speedstep support for older kind of Intel's speedstep) > is (maybe?) ready for inclusion. I CC to -acpi in order to get more > feedback about this. > It was tested on current with success by Jon (but should work with > stable as well). > > The driver is available at > http://www.poupinou.org/cpufreq/bsd/smist.tar.gz > or > http://www.poupinou.org/cpufreq/bsd/smist/smist.c Thanks for your work in this. I'll do a little cleanup and then send it back to you for testing. If it works after that, I can commit it. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Thu Apr 14 10:31:58 2005 Return-Path: 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 8A10716A4CE; Thu, 14 Apr 2005 10:31:58 +0000 (GMT) Received: from postman.ripe.net (postman.ripe.net [193.0.0.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A33443D4C; Thu, 14 Apr 2005 10:31:58 +0000 (GMT) (envelope-from marks@ripe.net) Received: by postman.ripe.net (Postfix, from userid 8) id 6BE9025F19; Thu, 14 Apr 2005 12:31:57 +0200 (CEST) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by postman.ripe.net (Postfix) with ESMTP id 7FBAE2491C; Thu, 14 Apr 2005 12:31:56 +0200 (CEST) Received: from laptop.santcroos.net (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.10/8.11.6) with SMTP id j3EAVtet004337; Thu, 14 Apr 2005 12:31:56 +0200 Received: (nullmailer pid 11377 invoked by uid 1001); Thu, 14 Apr 2005 10:31:55 -0000 Date: Thu, 14 Apr 2005 12:31:54 +0200 From: Mark Santcroos To: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Message-ID: <20050414103154.GA11341@laptop.santcroos.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-RIPE-Spam-Level: X-RIPE-Spam-Tests: ALL_TRUSTED,BAYES_00,SUBJ_HAS_UNIQ_ID X-RIPE-Spam-Status: N 0.063423 / -4.6 X-RIPE-Signature: 0eda13457ee6274db72a74871e22c3e2 Subject: Please test: ACPI-CA import 20050408 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 10:31:58 -0000 Dear all, Please give this a go on a fresh -current and let me know the results. It has plenty of changes which are listed in the included CHANGES.txt. http://www.santcroos.net/mark/freebsd/files/acpi_import_20050408.diff.gz Thanks Mark -- RIPE NCC - Delft University of Technology - The FreeBSD Project marks@ripe.net - m.a.santcroos@ewi.tudelft.nl - marks@freebsd.org From owner-freebsd-acpi@FreeBSD.ORG Thu Apr 14 10:42:00 2005 Return-Path: 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 23EEF16A4CE; Thu, 14 Apr 2005 10:42:00 +0000 (GMT) Received: from smtp.thilelli.net (smtp.thilelli.net [213.41.129.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id B18D343D53; Thu, 14 Apr 2005 10:41:59 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id EA8207303B; Thu, 14 Apr 2005 12:41:58 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71356-04; Thu, 14 Apr 2005 12:41:54 +0200 (CEST) Received: from webmail.thilelli.net (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 9F04C7300B; Thu, 14 Apr 2005 12:41:54 +0200 (CEST) Received: from 192.168.1.18 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Thu, 14 Apr 2005 12:41:54 +0200 (CEST) Message-ID: <49704.192.168.1.18.1113475314.squirrel@webmail.thilelli.net> Date: Thu, 14 Apr 2005 12:41:54 +0200 (CEST) From: "Julien Gabel" To: bug-followup@FreeBSD.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal References: In-Reply-To: X-Virus-Scanned: amavisd-new at thilelli.net cc: freebsd-acpi@FreeBSD.org cc: freebsd-usb@freebsd.org Subject: Re: usb/74989: (regression) Lost USB support between 5.2.1-RELEASE and 5.3-RELEASE on K7T266 Pro2. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jpeg@thilelli.net List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 10:42:00 -0000 Hello, I made some progress here. After playing with BIOS settings, i am now able to: - Boot with ACPI enable (shutdown -p works as expected now); - Use USB devices. In order to do that, i had to totally disable "APIC Function" in the BIOS. With "APIC Function" enabled, neither version 1.4 nor 1.1 of the "MPS Table Version" settings solved my problem. So, although i meed to disable "APIC Function", all seems to works correctly together: ACPI support and USB support. As a side note, i did not encountered anymore the interrupt storm on the uhci USB host controller driver. Maybe can someone explain me what may be wrong with "APIC Function", and if there is some drawbacks to disable it (or what is the purpose of this setting)? -- -jpeg. From owner-freebsd-acpi@FreeBSD.ORG Thu Apr 14 13:48:14 2005 Return-Path: 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 C59F316A4CE for ; Thu, 14 Apr 2005 13:48:14 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 091AF43D58 for ; Thu, 14 Apr 2005 13:48:14 +0000 (GMT) (envelope-from philipp@von-roth.com) Received: from dsl-084-059-041-158.arcor-ip.net[84.59.41.158] (helo=[192.168.1.3]) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML29c-1DM4hX3QiT-0005eH; Thu, 14 Apr 2005 15:48:11 +0200 Message-ID: <425E74A3.8020003@von-roth.com> Date: Thu, 14 Apr 2005 15:48:19 +0200 From: Philipp von Roth User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) 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: 8bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:618339d8209481e4f18b4c7710e1b2b0 Subject: nx6110 and ACPI X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 13:48:14 -0000 Hi! I have bought a nx6110, too. But do i have to do to enable ACPI? I´m a newbie on Linux.My operating System is Suse 9.2. Can you help me or do you have a good "howto"? Greetings from Berlin, Philipp From owner-freebsd-acpi@FreeBSD.ORG Thu Apr 14 13:50:11 2005 Return-Path: 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 2227816A4CE; Thu, 14 Apr 2005 13:50:11 +0000 (GMT) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 665C343D31; Thu, 14 Apr 2005 13:50:10 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0IEX00KUGVRK4J@ms-dienst.rz.rwth-aachen.de>; Thu, 14 Apr 2005 15:50:09 +0200 (MEST) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Thu, 14 Apr 2005 15:50:06 +0200 (MEST) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92])j3EDo6QX001471; Thu, 14 Apr 2005 15:50:06 +0200 (MEST) Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id A30D928452; Thu, 14 Apr 2005 15:50:05 +0200 (CEST) Date: Thu, 14 Apr 2005 15:50:05 +0200 From: Christian Brueffer In-reply-to: <20050414103154.GA11341@laptop.santcroos.net> To: Mark Santcroos Message-id: <20050414135004.GB75334@unixpages.org> MIME-version: 1.0 Content-type: multipart/signed; boundary="lEGEL1/lMxI0MVQ2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.6i X-Operating-System: FreeBSD 5.4-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: <20050414103154.GA11341@laptop.santcroos.net> cc: freebsd-acpi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Please test: ACPI-CA import 20050408 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 13:50:11 -0000 --lEGEL1/lMxI0MVQ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 14, 2005 at 12:31:54PM +0200, Mark Santcroos wrote: > Dear all, >=20 > Please give this a go on a fresh -current and let me know the results. > It has plenty of changes which are listed in the included CHANGES.txt. >=20 > http://www.santcroos.net/mark/freebsd/files/acpi_import_20050408.diff.gz >=20 Hi, looks like acopcode.h and acnames.h are not included in the patch. - 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 --lEGEL1/lMxI0MVQ2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCXnUMbHYXjKDtmC0RAnDbAKCgCYdlLdflaG2EcIE6L3TxV7Nn9wCg4IJy 4XH9D9wH6V4OGhrQ5gno4vI= =PSfy -----END PGP SIGNATURE----- --lEGEL1/lMxI0MVQ2-- From owner-freebsd-acpi@FreeBSD.ORG Thu Apr 14 16:12:37 2005 Return-Path: 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 1E28816A4CE for ; Thu, 14 Apr 2005 16:12:37 +0000 (GMT) Received: from dd2626.kasserver.com (dd2626.kasserver.com [81.209.184.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93A9243D49 for ; Thu, 14 Apr 2005 16:12:36 +0000 (GMT) (envelope-from outi@bytephobia.de) Received: from duality.bytephobia.de (pD958E085.dip.t-dialin.net [217.88.224.133]) by dd2626.kasserver.com (Postfix) with ESMTP id E370A51DB1; Thu, 14 Apr 2005 18:12:34 +0200 (CEST) Date: Thu, 14 Apr 2005 18:13:59 +0200 From: Patrick Hurrelmann To: Philipp von Roth Message-Id: <20050414181359.2496e8f4.outi@bytephobia.de> In-Reply-To: <425E74A3.8020003@von-roth.com> References: <425E74A3.8020003@von-roth.com> X-Mailer: Sylpheed version 1.9.8 (GTK+ 2.6.7; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable cc: freebsd-acpi@freebsd.org Subject: Re: nx6110 and ACPI X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 16:12:37 -0000 Hi Philipp, this mailing list is about FreeBSD and ACPI. For questions about Linux and ACPI please refer to some Linux or especially= Suse mailing lists. On Thu, 14 Apr 2005 15:48:19 +0200 Philipp von Roth wrote: > Hi! > I have bought a nx6110, too. But do i have to do to enable ACPI? I=B4m a= =20 > newbie on Linux.My operating System is Suse 9.2. Can you help me or do=20 > you have a good "howto"? > Greetings from Berlin, Philipp > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Patrick Hurrelmann | "Programming today is a race between software Mannheim, Germany | engineers striving to build bigger and better | idiot-proof programs, and the Universe trying outi@bytephobia.de | to produce bigger and better idiots. So far, www.bytephobia.de | the Universe is winning." - Rich Cook /"\ \ / ASCII Ribbon Campaign X against HTML email & vCards / \ From owner-freebsd-acpi@FreeBSD.ORG Thu Apr 14 17:21:55 2005 Return-Path: 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 27CEB16A4CE; Thu, 14 Apr 2005 17:21:55 +0000 (GMT) Received: from postman.ripe.net (postman.ripe.net [193.0.0.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7072B43D45; Thu, 14 Apr 2005 17:21:54 +0000 (GMT) (envelope-from marks@ripe.net) Received: by postman.ripe.net (Postfix, from userid 8) id AB5C326D6D; Thu, 14 Apr 2005 19:21:53 +0200 (CEST) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by postman.ripe.net (Postfix) with ESMTP id AF5D626D5E; Thu, 14 Apr 2005 19:21:49 +0200 (CEST) Received: from laptop.santcroos.net (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.10/8.11.6) with SMTP id j3EHLmet008311; Thu, 14 Apr 2005 19:21:48 +0200 Received: (nullmailer pid 801 invoked by uid 1001); Thu, 14 Apr 2005 17:21:47 -0000 Date: Thu, 14 Apr 2005 19:21:47 +0200 From: Mark Santcroos To: Christian Brueffer Message-ID: <20050414172147.GA772@laptop.santcroos.net> References: <20050414103154.GA11341@laptop.santcroos.net> <20050414135004.GB75334@unixpages.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050414135004.GB75334@unixpages.org> User-Agent: Mutt/1.4.2.1i X-RIPE-Spam-Level: X-RIPE-Spam-Tests: ALL_TRUSTED,BAYES_00,SUBJ_HAS_UNIQ_ID X-RIPE-Spam-Status: N 0.092531 / -4.6 X-RIPE-Signature: 2b17d9cd3b34f164010f74f48dcc5e1f cc: freebsd-acpi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Please test: ACPI-CA import 20050408 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 17:21:55 -0000 On Thu, Apr 14, 2005 at 03:50:05PM +0200, Christian Brueffer wrote: > looks like acopcode.h and acnames.h are not included in the patch. Oops, rusty cvs skills :) The following files have been added to the diff: abcompare.c abmain.c acnames.h acopcode.h acpibin.h aecommon.h aeexec.c aemain.c osunixdir.c Same location, more fun: http://www.santcroos.net/mark/freebsd/files/acpi_import_20050408.diff.gz Mark -- RIPE NCC - Delft University of Technology - The FreeBSD Project marks@ripe.net - m.a.santcroos@ewi.tudelft.nl - marks@freebsd.org From owner-freebsd-acpi@FreeBSD.ORG Thu Apr 14 18:19:59 2005 Return-Path: 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 59A9216A4CE for ; Thu, 14 Apr 2005 18:19:59 +0000 (GMT) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id C012F43D31 for ; Thu, 14 Apr 2005 18:19:56 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222])j3EIJq4H019412; Thu, 14 Apr 2005 14:19:52 -0400 Message-ID: <425EB3B3.6010809@root.org> Date: Thu, 14 Apr 2005 11:17:23 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Patrick Hurrelmann References: <425E74A3.8020003@von-roth.com> <20050414181359.2496e8f4.outi@bytephobia.de> In-Reply-To: <20050414181359.2496e8f4.outi@bytephobia.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: Philipp von Roth cc: freebsd-acpi@freebsd.org Subject: Re: nx6110 and ACPI X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 18:19:59 -0000 The mailing list for that is acpi-devel@lists.sourceforge.net Patrick Hurrelmann wrote: > Hi Philipp, > > this mailing list is about FreeBSD and ACPI. > For questions about Linux and ACPI please refer to some Linux or especially Suse mailing lists. > > > On Thu, 14 Apr 2005 15:48:19 +0200 > Philipp von Roth wrote: > > >>Hi! >>I have bought a nx6110, too. But do i have to do to enable ACPI? I´m a >>newbie on Linux.My operating System is Suse 9.2. Can you help me or do >>you have a good "howto"? >>Greetings from Berlin, Philipp -- Nate From owner-freebsd-acpi@FreeBSD.ORG Thu Apr 14 19:04:37 2005 Return-Path: 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 7E92616A4CE; Thu, 14 Apr 2005 19:04:37 +0000 (GMT) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5EA743D54; Thu, 14 Apr 2005 19:04:36 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0IEY0028AABNWJ@ms-dienst.rz.rwth-aachen.de>; Thu, 14 Apr 2005 21:04:36 +0200 (MEST) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Thu, 14 Apr 2005 21:04:35 +0200 (MEST) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92])j3EJ4YGd023378; Thu, 14 Apr 2005 21:04:34 +0200 (MEST) Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id 6530828456; Thu, 14 Apr 2005 21:04:34 +0200 (CEST) Date: Thu, 14 Apr 2005 21:04:34 +0200 From: Christian Brueffer In-reply-to: <20050414172147.GA772@laptop.santcroos.net> To: Mark Santcroos Message-id: <20050414190433.GA77312@unixpages.org> MIME-version: 1.0 Content-type: multipart/signed; boundary=PNTmBPCT7hxwcZjr; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.6i X-Operating-System: FreeBSD 5.4-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: <20050414103154.GA11341@laptop.santcroos.net> <20050414135004.GB75334@unixpages.org> <20050414172147.GA772@laptop.santcroos.net> cc: freebsd-acpi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Please test: ACPI-CA import 20050408 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 19:04:37 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 14, 2005 at 07:21:47PM +0200, Mark Santcroos wrote: > On Thu, Apr 14, 2005 at 03:50:05PM +0200, Christian Brueffer wrote: > > looks like acopcode.h and acnames.h are not included in the patch. >=20 > Oops, rusty cvs skills :) >=20 > The following files have been added to the diff: > abcompare.c abmain.c acnames.h acopcode.h acpibin.h aecommon.h aeexec.c > aemain.c osunixdir.c >=20 > Same location, more fun: > http://www.santcroos.net/mark/freebsd/files/acpi_import_20050408.diff.gz >=20 Works as advertized on my T41p (more fun indeed ;-). - 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 --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCXr7BbHYXjKDtmC0RAkZeAJ9FsXkAKTFI4jKn3NIAaIlOyEwEHgCgnL8j 3FX5ZaN73uj/IG8modwNJaA= =9hfK -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 15 06:35:48 2005 Return-Path: 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 1329316A4CF for ; Fri, 15 Apr 2005 06:35:48 +0000 (GMT) Received: from mail25.sea5.speakeasy.net (mail25.sea5.speakeasy.net [69.17.117.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D26943D54 for ; Fri, 15 Apr 2005 06:35:47 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 22110 invoked from network); 15 Apr 2005 06:35:47 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender )AES256-SHA encrypted SMTP for ; 15 Apr 2005 06:35:47 -0000 Received: from [131.106.57.68] (p181.n-lapop01.stsn.com [12.129.240.181]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j3F6ZXAt042503; Fri, 15 Apr 2005 02:35:40 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-acpi@FreeBSD.org, jpeg@thilelli.net Date: Fri, 15 Apr 2005 02:17:36 -0400 User-Agent: KMail/1.8 References: <49704.192.168.1.18.1113475314.squirrel@webmail.thilelli.net> In-Reply-To: <49704.192.168.1.18.1113475314.squirrel@webmail.thilelli.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504150217.37985.jhb@FreeBSD.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx cc: freebsd-usb@FreeBSD.org cc: bug-followup@FreeBSD.org Subject: Re: usb/74989: (regression) Lost USB support between 5.2.1-RELEASE and 5.3-RELEASE on K7T266 Pro2. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 06:35:48 -0000 On Thursday 14 April 2005 06:41 am, Julien Gabel wrote: > Hello, > > I made some progress here. After playing with BIOS settings, i am now > able to: > - Boot with ACPI enable (shutdown -p works as expected now); > - Use USB devices. > > In order to do that, i had to totally disable "APIC Function" in the > BIOS. With "APIC Function" enabled, neither version 1.4 nor 1.1 of the > "MPS Table Version" settings solved my problem. > > So, although i meed to disable "APIC Function", all seems to works > correctly together: ACPI support and USB support. As a side note, i > did not encountered anymore the interrupt storm on the uhci USB host > controller driver. > > Maybe can someone explain me what may be wrong with "APIC Function", > and if there is some drawbacks to disable it (or what is the purpose > of this setting)? APIC is used to route interrupts differently. You can also disable it from the loader with 'hint.apic.0.disabled=1'. I've looked at your dmesg's, and the problem is that in the ACPI case the IRQ 10 that your USB controllers are using is configured as an ISA IRQ (edge/high). For now you can either disable APIC or ACPI as a workaround until I figure out a better solution. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 15 09:59:08 2005 Return-Path: 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 7DD0616A4CE for ; Fri, 15 Apr 2005 09:59:08 +0000 (GMT) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id D772B43D31 for ; Fri, 15 Apr 2005 09:59:07 +0000 (GMT) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.13.3/8.13.1) with ESMTP id j3F9x4W7020765 for ; Fri, 15 Apr 2005 17:59:04 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.13.3/8.13.1/Submit) id j3F9wxEa020764 for acpi@freebsd.org; Fri, 15 Apr 2005 17:58:59 +0800 (CST) (envelope-from rafan) Date: Fri, 15 Apr 2005 17:58:59 +0800 From: Rong-En Fan To: acpi@freebsd.org Message-ID: <20050415095859.GA20417@svm.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.7i Subject: power info in dev.cpu gone X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 09:59:08 -0000 Hello, After upgrading from Apr 1 to Apr 14's current, with cpufreq loaded the power info in dev.cpu is gone (all is -1 now). Strange thing is that without cpufreq loaded, it looks good. I put dmesg/devinfo/related sysctl here: http://rafan.infor.org/tmp/cpufreq/ Any ideas? Regards, Rong-En Fan From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 15 13:30:41 2005 Return-Path: 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 B5DEF16A4CE for ; Fri, 15 Apr 2005 13:30:41 +0000 (GMT) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E51443D2D for ; Fri, 15 Apr 2005 13:30:41 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1DMQtY-0005TO-00; Fri, 15 Apr 2005 15:30:04 +0200 Date: Fri, 15 Apr 2005 15:30:04 +0200 To: Nate Lawson Message-ID: <20050415133004.GE2298@poupinou.org> References: <425E74A3.8020003@von-roth.com> <20050414181359.2496e8f4.outi@bytephobia.de> <425EB3B3.6010809@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <425EB3B3.6010809@root.org> User-Agent: Mutt/1.5.6+20040907i From: Bruno Ducrot cc: Philipp von Roth cc: freebsd-acpi@freebsd.org Subject: Re: nx6110 and ACPI X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 13:30:41 -0000 On Thu, Apr 14, 2005 at 11:17:23AM -0700, Nate Lawson wrote: > The mailing list for that is acpi-devel@lists.sourceforge.net A question like howto enable ACPI under that specific linux distribution is a problem with that perticular linux distribution. Therefore I think the OP should ask a suse specific support group unless there are indeed real problem with ACPI justifying to post to acpi-devel. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 15 13:31:25 2005 Return-Path: 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 B369216A4CE; Fri, 15 Apr 2005 13:31:25 +0000 (GMT) Received: from smtp.thilelli.net (smtp.thilelli.net [213.41.129.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2702843D49; Fri, 15 Apr 2005 13:31:24 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id B8BF67300D; Fri, 15 Apr 2005 15:31:22 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00725-05-2; Fri, 15 Apr 2005 15:31:18 +0200 (CEST) Received: from webmail.thilelli.net (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 17BAB7300C; Fri, 15 Apr 2005 15:31:18 +0200 (CEST) Received: from 192.168.1.18 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Fri, 15 Apr 2005 15:31:18 +0200 (CEST) Message-ID: <60391.192.168.1.18.1113571878.squirrel@webmail.thilelli.net> In-Reply-To: <200504150217.37985.jhb@FreeBSD.org> References: <49704.192.168.1.18.1113475314.squirrel@webmail.thilelli.net> <200504150217.37985.jhb@FreeBSD.org> Date: Fri, 15 Apr 2005 15:31:18 +0200 (CEST) From: "Julien Gabel" To: "John Baldwin" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at thilelli.net cc: freebsd-acpi@freebsd.org cc: freebsd-usb@freebsd.org cc: bug-followup@freebsd.org Subject: Re: usb/74989: (regression) Lost USB support between 5.2.1-RELEASE and 5.3-RELEASE on K7T266 Pro2. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jpeg@thilelli.net List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 13:31:25 -0000 >> I made some progress here. After playing with BIOS settings, i am now >> able to: >> - Boot with ACPI enable (shutdown -p works as expected now); >> - Use USB devices. >> >> In order to do that, i had to totally disable "APIC Function" in the >> BIOS. With "APIC Function" enabled, neither version 1.4 nor 1.1 of the >> "MPS Table Version" settings solved my problem. >> >> So, although i need to disable "APIC Function", all seems to works >> correctly together: ACPI support and USB support. As a side note, i >> did not encountered anymore the interrupt storm on the uhci USB host >> controller driver. >> >> Maybe can someone explain me what may be wrong with "APIC Function", >> and if there is some drawbacks to disable it (or what is the purpose >> of this setting)? > APIC is used to route interrupts differently. You can also disable it > from the loader with 'hint.apic.0.disabled=1'. I've looked at your > dmesg's, and the problem is that in the ACPI case the IRQ 10 that your > USB controllers are using is configured as an ISA IRQ (edge/high). For > now you can either disable APIC or ACPI as a workaround until I figure > out a better solution. Thanks. I effectively prefer turn APIC off via the loader configuration than from the BIOS settings, i think it is far more easily to remember what i have done from this place. I can try patch(es) or make test(s) without problem on this machine, if any. Thanks a lot. -- -jpeg. From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 15 16:20:55 2005 Return-Path: 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 1C71A16A4D7; Fri, 15 Apr 2005 16:20:55 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 768A043D2F; Fri, 15 Apr 2005 16:20:54 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.250] (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.13.3/8.13.3) with ESMTP id j3FGKrcN004213; Fri, 15 Apr 2005 09:20:54 -0700 (PDT) (envelope-from marcel@xcllnt.net) In-Reply-To: <20050414172147.GA772@laptop.santcroos.net> References: <20050414103154.GA11341@laptop.santcroos.net> <20050414135004.GB75334@unixpages.org> <20050414172147.GA772@laptop.santcroos.net> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Fri, 15 Apr 2005 09:20:52 -0700 To: Mark Santcroos X-Mailer: Apple Mail (2.619.2) cc: freebsd-acpi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Please test: ACPI-CA import 20050408 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 16:20:55 -0000 On Apr 14, 2005, at 10:21 AM, Mark Santcroos wrote: > On Thu, Apr 14, 2005 at 03:50:05PM +0200, Christian Brueffer wrote: >> looks like acopcode.h and acnames.h are not included in the patch. > > Oops, rusty cvs skills :) > > The following files have been added to the diff: > abcompare.c abmain.c acnames.h acopcode.h acpibin.h aecommon.h aeexec.c > aemain.c osunixdir.c > > Same location, more fun: > http://www.santcroos.net/mark/freebsd/files/ > acpi_import_20050408.diff.gz No problems on ia64. However the patch is still incomplete. A buildworld fails in src/usr.sbin/acpi: In file included from aslcompilerlex.l:122: /q/6.x/src/usr.sbin/acpi/iasl/../../../sys/contrib/dev/acpica/compiler/ aslcompiler.h:148:23: asldefine.h: No such file or directory In file included from aslcompilerparse.y:127: /q/6.x/src/usr.sbin/acpi/iasl/../../../sys/contrib/dev/acpica/compiler/ aslcompiler.h:148:23: asldefine.h: No such file or directory BTW: Is ACPICA getting slower? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 15 16:28:25 2005 Return-Path: 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 8A77416A55B; Fri, 15 Apr 2005 16:28:25 +0000 (GMT) Received: from postman.ripe.net (postman.ripe.net [193.0.0.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1ED843D49; Fri, 15 Apr 2005 16:28:24 +0000 (GMT) (envelope-from marks@ripe.net) Received: by postman.ripe.net (Postfix, from userid 8) id D9C6A26504; Fri, 15 Apr 2005 18:28:23 +0200 (CEST) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by postman.ripe.net (Postfix) with ESMTP id E315826104; Fri, 15 Apr 2005 18:28:22 +0200 (CEST) Received: from laptop.santcroos.net (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.10/8.11.6) with SMTP id j3FGSLet022348; Fri, 15 Apr 2005 18:28:22 +0200 Received: (nullmailer pid 2217 invoked by uid 1001); Fri, 15 Apr 2005 16:28:21 -0000 Date: Fri, 15 Apr 2005 18:28:21 +0200 From: Mark Santcroos To: Marcel Moolenaar Message-ID: <20050415162821.GA691@laptop.santcroos.net> References: <20050414103154.GA11341@laptop.santcroos.net> <20050414135004.GB75334@unixpages.org> <20050414172147.GA772@laptop.santcroos.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-RIPE-Spam-Level: X-RIPE-Spam-Tests: ALL_TRUSTED,BAYES_00,SUBJ_HAS_UNIQ_ID X-RIPE-Spam-Status: N 0.040854 / -4.6 X-RIPE-Signature: 7c49360346c8853aff633c6c34b1aaaf cc: freebsd-acpi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Please test: ACPI-CA import 20050408 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 16:28:25 -0000 Hi Marcel, On Fri, Apr 15, 2005 at 09:20:52AM -0700, Marcel Moolenaar wrote: > In file included from aslcompilerlex.l:122: > /q/6.x/src/usr.sbin/acpi/iasl/../../../sys/contrib/dev/acpica/compiler/ > aslcompiler.h:148:23: asldefine.h: No such file or directory I fixed this yesterday, you probably fetched it before I uploaded the new version. > BTW: Is ACPICA getting slower? Might be. I don't have numbers on that. I guess we're still focusing on functionality and not so much on speed. Do you have a concrete area where you think we are loosing performance? Mark -- RIPE NCC - Delft University of Technology - The FreeBSD Project marks@ripe.net - m.a.santcroos@ewi.tudelft.nl - marks@freebsd.org From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 15 16:59:49 2005 Return-Path: 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 7658316A4CE; Fri, 15 Apr 2005 16:59:49 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39AD743D49; Fri, 15 Apr 2005 16:59:49 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.250] (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.13.3/8.13.3) with ESMTP id j3FGd2SD004296; Fri, 15 Apr 2005 09:39:03 -0700 (PDT) (envelope-from marcel@xcllnt.net) In-Reply-To: <20050415162821.GA691@laptop.santcroos.net> References: <20050414103154.GA11341@laptop.santcroos.net> <20050414135004.GB75334@unixpages.org> <20050414172147.GA772@laptop.santcroos.net> <20050415162821.GA691@laptop.santcroos.net> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5e7c3d2084ff2460d6e48786defc8f33@xcllnt.net> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Fri, 15 Apr 2005 09:39:01 -0700 To: Mark Santcroos X-Mailer: Apple Mail (2.619.2) cc: freebsd-acpi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Please test: ACPI-CA import 20050408 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 16:59:49 -0000 On Apr 15, 2005, at 9:28 AM, Mark Santcroos wrote: > On Fri, Apr 15, 2005 at 09:20:52AM -0700, Marcel Moolenaar wrote: >> In file included from aslcompilerlex.l:122: >> /q/6.x/src/usr.sbin/acpi/iasl/../../../sys/contrib/dev/acpica/ >> compiler/ >> aslcompiler.h:148:23: asldefine.h: No such file or directory > > I fixed this yesterday, you probably fetched it before I uploaded the > new version. Ah, ok. I'll refetch if needed. >> BTW: Is ACPICA getting slower? > > Might be. I don't have numbers on that. I guess we're still focusing on > functionality and not so much on speed. > Do you have a concrete area where you think we are loosing performance? No, not yet. It's just that there are 2 "dead" spots in the booting process of the plutos we have in the cluster and these "dead" spots appeared to be longer. I think there's a lot of AML interpretation going on during that time, but I might be wrong. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 15 17:36:30 2005 Return-Path: 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 A6D8616A4CE; Fri, 15 Apr 2005 17:36:30 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34A4443D5A; Fri, 15 Apr 2005 17:36:30 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j3FHaRwe040220; Fri, 15 Apr 2005 12:36:27 -0500 (CDT) (envelope-from dan) Date: Fri, 15 Apr 2005 12:36:27 -0500 From: Dan Nelson To: Marcel Moolenaar Message-ID: <20050415173627.GQ4842@dan.emsphone.com> References: <20050414103154.GA11341@laptop.santcroos.net> <20050414135004.GB75334@unixpages.org> <20050414172147.GA772@laptop.santcroos.net> <20050415162821.GA691@laptop.santcroos.net> <5e7c3d2084ff2460d6e48786defc8f33@xcllnt.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <5e7c3d2084ff2460d6e48786defc8f33@xcllnt.net> X-OS: FreeBSD 5.4-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.8i cc: freebsd-acpi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Please test: ACPI-CA import 20050408 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 17:36:30 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In the last episode (Apr 15), Marcel Moolenaar said: > On Apr 15, 2005, at 9:28 AM, Mark Santcroos wrote: > >On Fri, Apr 15, 2005 at 09:20:52AM -0700, Marcel Moolenaar wrote: > >>BTW: Is ACPICA getting slower? > > > > Might be. I don't have numbers on that. I guess we're still > > focusing on functionality and not so much on speed. Do you have a > > concrete area where you think we are loosing performance? > > No, not yet. It's just that there are 2 "dead" spots in the booting > process of the plutos we have in the cluster and these "dead" spots > appeared to be longer. I think there's a lot of AML interpretation > going on during that time, but I might be wrong. What I have personally seen is a long delay in bus_alloc_resource() on some older Dell machines (desktop and laptop, both under 500Mhz). If I apply the attached patch, I see between 15 and 20 rows of identical output, and each call to b_a_r takes a noticeable fraction of a second (i.e. the cursor spends most of its time after an IRQ, not after a 'y' or 'n'.) The delays probably add 45 seconds total to the boot time. Newer systems will just generate 4 or 5 lines total for the entire boot process. -- Dan Nelson dnelson@allantgroup.com --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="irq.diff" Index: acpi_pci_link.c =================================================================== RCS file: /home/ncvs/src/sys/dev/acpica/acpi_pci_link.c,v retrieving revision 1.24.2.6 diff -u -p -r1.24.2.6 acpi_pci_link.c --- acpi_pci_link.c 7 Nov 2004 20:24:05 -0000 1.24.2.6 +++ acpi_pci_link.c 9 Nov 2004 03:43:52 -0000 @@ -804,17 +804,22 @@ acpi_pci_link_update_irq_penalty(device_ /* XXX try to get this IRQ in non-sharable mode. */ rid = 0; + printf("%d", irq); res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, irq, irq, 1, 0); if (res != NULL) { + printf("y"); bus_release_resource(dev, SYS_RES_IRQ, rid, res); + printf(" "); } else { /* this is in use, give 10. */ irq_penalty[irq] += 10; + printf("n "); } } + printf("\n"); /* initialize `sorted' possible IRQs. */ bcopy(link->interrupts, link->sorted_irq, sizeof(link->sorted_irq)); --ReaqsoxgOBHFXBhH--