From owner-freebsd-current@FreeBSD.ORG Wed Dec 12 17:46:49 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F9E316A420 for ; Wed, 12 Dec 2007 17:46:49 +0000 (UTC) (envelope-from kenfreebsd@icarz.com) Received: from deanna.icarz.com (deanna.icarz.com [207.99.22.19]) by mx1.freebsd.org (Postfix) with ESMTP id 32BC813C468 for ; Wed, 12 Dec 2007 17:46:48 +0000 (UTC) (envelope-from kenfreebsd@icarz.com) Received: from kenxp (netb-138.icarz.com [209.123.219.138]) by deanna.icarz.com (8.13.8/8.13.8) with SMTP id lBCHklTR064330; Wed, 12 Dec 2007 12:46:47 -0500 (EST) (envelope-from kenfreebsd@icarz.com) Message-ID: <13cc01c83ce6$f7483bb0$8adb7bd1@icarz.com> From: "Ken Menzel" To: "Rene Ladan" References: <0beb01c83c35$aeb48ae0$8adb7bd1@icarz.com><11167f520712112338v654d7686rf9db06647ec28f88@mail.gmail.com><20071212074208.GD29211@soaustin.net><136c01c83cdf$db5f0430$8adb7bd1@icarz.com> Date: Wed, 12 Dec 2007 12:46:46 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Spam-Score: -101.972 () ALL_TRUSTED, AWL, BAYES_00, STOX_REPLY_TYPE, USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.63 on 207.99.22.19 Cc: freebsd-current@freebsd.org Subject: Re: CURRENT Kernel makes the system run very very hot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ken Menzel List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 17:46:49 -0000 ----- Original Message ----- From: "Rene Ladan" To: "Ken Menzel" Cc: Sent: Wednesday, December 12, 2007 12:18 PM Subject: Re: CURRENT Kernel makes the system run very very hot > 2007/12/12, Ken Menzel : >> ----- Original Message ----- >> From: "Mark Linimon" >> To: "Sam Fourman Jr." >> Cc: >> Sent: Wednesday, December 12, 2007 2:42 AM >> Subject: Re: CURRENT Kernel makes the system run very very hot >> >> >> > On Wed, Dec 12, 2007 at 01:38:49AM -0600, Sam Fourman Jr. wrote: >> >> I did not file a PR (I don't know how I have never done one.) >> > >> > Please see http://www.freebsd.org/support/bugreports.html. >> > >> > mcl >> Thanks Mark, It seems like it may be an ACPI problem based on: >> >> (kgdb) print cpu_idle_hook >> $1 = (void (*)(void)) 0xffffffff801d0bb0 >> (kgdb) q >> >> Thanks to Kostik Belousov for the advice on where to go next. And >> based on that I will move this to the ACPI mailing list and file a >> PR. >> > Hmm, on my too hot i386 laptop: > > # make installkernel.debug > #gdb /boot/kernel/kernel > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-marcel-freebsd"... > (gdb) print cpu_idle_hook > $1 = (void (*)(void)) 0xc063cc9b > (gdb) print cpu_idle_default > $2 = {void (void)} 0xc063cc9b > Rene, please try cd /usr/obj/usr/src/sys/GENERIC (or where-ever you built your kernel) kgdb kernel.debug /dev/mem print cpu_idle_hook This should show what is running in memory. > #grep -r cpu_idle_default * > amd64/amd64/machdep.c:cpu_idle_default(void) > amd64/amd64/machdep.c:void (*cpu_idle_hook)(void) = > cpu_idle_default; > dev/acpica/acpi_cpu.c: /* Take over idling from > cpu_idle_default(). */ > i386/i386/machdep.c:cpu_idle_default(void) > i386/i386/machdep.c:void (*cpu_idle_hook)(void) = cpu_idle_default; > ia64/ia64/machdep.c:cpu_idle_default(void) > ia64/ia64/machdep.c:void (*cpu_idle_hook)(void) = cpu_idle_default; > pc98/pc98/machdep.c:cpu_idle_default(void) > pc98/pc98/machdep.c:void (*cpu_idle_hook)(void) = cpu_idle_default; > > #dmesg |grep -i acpi > Features=0xbfebfbff > ACPI APIC Table: > acpi0: <_ASUS_ Notebook> on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of e0000, 20000 (3) failed > acpi0: reservation of 100000, 7ff00000 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > acpi_ec0: port 0x62,0x66 on acpi0 > acpi_hpet0: iomem 0xfed00000-0xfed003ff > on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > ACPI Warning (tbutils-0243): Incorrect checksum in table [SSDT] - > 99, > should be 2C [20070320] > acpi_asus0: Unsupported Asus laptop: A6Je > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > acpi_video0: on vgapci0 > pcib2: irq 20 at device 28.0 on pci0 > pci2: on pcib2 > pcib3: irq 19 at device 28.3 on pci0 > pci3: on pcib3 > pcib4: at device 30.0 on pci0 > pci4: on pcib4 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > acpi_button1: on acpi0 > acpi_tz0: on acpi0 > acpi_acad0: on acpi0 > battery0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > speaker0: port 0x61 on acpi0 > acpi_asus0: Unsupported Asus laptop: A6Je > > hw.acpi.cpu.cx_lowest: C1 > > So I have an ACPI capable CPU but it is not (properly) loaded? > > Regards, > Rene > -- > GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 > (subkeys.pgp.net) > > "It won't fit on the line." > -- me, 2001 See instruction in text above. Ken