From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 12 17:46:09 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 1936316A419 for ; Wed, 12 Dec 2007 17:46:09 +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 D70F113C458 for ; Wed, 12 Dec 2007 17:46:08 +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 lBCHW48h064261 for ; Wed, 12 Dec 2007 12:32:04 -0500 (EST) (envelope-from kenfreebsd@icarz.com) Message-ID: <13a701c83ce4$e94bfb20$8adb7bd1@icarz.com> From: "Ken Menzel" To: Date: Wed, 12 Dec 2007 12:32:04 -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.626 () ALL_TRUSTED, AWL, BAYES_00, STOX_REPLY_TYPE, USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.63 on 207.99.22.19 Subject: CURRENTand releng_7 kernel makes the system run very very hot X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ken Menzel List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 17:46:09 -0000 It has been suggested to me to move this thread from current to acpi. >From what I can tell the CPU's do not halt on idle. Top -SH from a system booted for a few hours on releng_7 or on current shows hours of time used where as releng_6 used only minutes or seconds. This is causing some sytems to overheat. I am trying to compile all the relevant information in this e-mail. If I have missed anything please let me kow. I can also provide ssh access to a developer who would like to see the problem. I see the problem on both AMD64 kernel and i386 kernel single and multi processor. Here is information I have gather so far: Is there anything else needed for the PR? Ken http://www.kodem.com/ports/kenfreebsd-dell2950.asl http://www.kodem.com/ports/dmesg-dell2950.txt barclay# top -SH last pid: 833; load averages: 0.12, 0.03, 0.01 up 0+00:44:45 11:12:22 73 processes: 9 running, 46 sleeping, 18 waiting CPU states: 0.0% user, 0.0% nice, 0.6% system, 0.2% interrupt, 99.2% idle Mem: 9816K Active, 138M Inact, 181M Wired, 48K Cache, 214M Buf, 3611M Free Swap: 12G Total, 12G Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 14 root 171 ki31 0K 16K CPU4 4 44:14 100.00% idle: cpu4 15 root 171 ki31 0K 16K CPU3 3 44:07 100.00% idle: cpu3 18 root 171 ki31 0K 16K RUN 0 43:48 100.00% idle: cpu0 13 root 171 ki31 0K 16K CPU5 5 43:47 100.00% idle: cpu5 16 root 171 ki31 0K 16K CPU2 2 43:42 100.00% idle: cpu2 17 root 171 ki31 0K 16K CPU1 1 43:38 100.00% idle: cpu1 12 root 171 ki31 0K 16K CPU6 6 43:19 100.00% idle: cpu6 11 root 171 ki31 0K 16K CPU7 7 43:15 100.00% idle: cpu7 19 root -32 - 0K 16K WAIT 0 0:16 0.20% swi4: clock sio 49 root 20 - 0K 16K syncer 1 0:01 0.20% syncer 48 root -16 - 0K 16K psleep 7 0:58 0.00% bufdaemon 3 root -8 - 0K 16K - 3 0:45 0.00% g_up 4 root -8 - 0K 16K - 6 0:07 0.00% g_down 30 root -64 - 0K 16K WAIT 0 0:05 0.00% irq78: mfi0 51 root -8 - 0K 16K biord 0 0:00 0.00% softdepflush 22 root -16 - 0K 16K - 4 0:00 0.00% yarrow barclay# w 11:12AM up 44 mins, 1 user, load averages: 0.12, 0.03, 0.01 USER TTY FROM LOGIN@ IDLE WHAT sysadm p0 netb-138.icarz.c 10:29AM - w barclay# barclay# kgdb kernel.debug /dev/mem [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] 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 "amd64-marcel-freebsd". (kgdb) print cpu_idle_hook $1 = (void (*)(void)) 0xffffffff801d0bb0 barclay# sysctl hw.acpi hw.acpi.supported_sleep_state: S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S4 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.cpu.cx_lowest: C1 barclay# ----------------------------------------------------- Ken Menzel kmenzel@whisolutions.com /earth is 98% full ... please delete anyone you can.