From owner-freebsd-acpi@FreeBSD.ORG Sun Jul 22 08:35:20 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 8FA7516A419 for ; Sun, 22 Jul 2007 08:35:20 +0000 (UTC) (envelope-from c.theis@ndh.net) Received: from falcon.homeip.net (falcon.homeip.net [213.146.112.154]) by mx1.freebsd.org (Postfix) with ESMTP id DB37E13C45D for ; Sun, 22 Jul 2007 08:35:19 +0000 (UTC) (envelope-from c.theis@ndh.net) Received: from falcon.homeip.net (smmsp@localhost [127.0.0.1]) by falcon.homeip.net (8.14.1/8.13.4) with ESMTP id l6M8MMcA088786 for ; Sun, 22 Jul 2007 10:22:22 +0200 (CEST) (envelope-from c.theis@ndh.net) Received: (from root@localhost) by falcon.homeip.net (8.14.1/8.13.3/Submit) id l6M8MMEE088785 for freebsd-acpi@freebsd.org; Sun, 22 Jul 2007 10:22:22 +0200 (CEST) (envelope-from c.theis@ndh.net) Date: Sun, 22 Jul 2007 10:22:22 +0200 From: Carsten Theis To: freebsd-acpi@freebsd.org Message-ID: <20070722082222.GA88678@falcon.homeip.net> References: <1737185464.20070713180756@mixey.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1737185464.20070713180756@mixey.spb.ru> Precedence: first-class Priority: normal User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: Asus P5W DH Deluxe APIC/SMP IRQ problem X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 08:35:20 -0000 On Fri, Jul 13 2007 at 18:07:56 +0400, admin@mixey.spb.ru wrote: > I am still searching help with Asus P5W DH Deluxe IRQ's I have the same board and the same problem. There is one thing I noticed. In the BIOS the ICH7 can be configured in three different modes: [Standard IDE], [AHCI] and [RAID]. When using [Standard IDE] I get this, which looks ok: interrupt total rate irq1: atkbd0 145 4 irq6: fdc0 3 0 irq12: psm0 6 0 irq14: ata0 42 1 irq19: mskc0 uhci3 149 4 irq20: uhci0 ehci0 9 0 irq21: pcm0 1 0 irq22: sym0 156 4 irq23: atapci1+ 5497 157 cpu0: timer 66930 1912 cpu1: timer 64806 1851 Total 137744 3935 But when I use [AHCI] (I don't need RAID) I get this: interrupt total rate irq1: atkbd0 148 2 irq6: fdc0 3 0 irq12: psm0 6 0 irq14: ata0 42 0 irq19: mskc0 uhci3 1384 23 irq20: uhci0 ehci0 9 0 irq21: pcm0 1 0 irq22: sym0 160 2 irq23: atapci1+ 8556275 142604 <-- ! cpu0: timer 113429 1890 cpu1: timer 111296 1854 Total 8782753 146379 This is with all other things unchanged (same hardware and kernel and nothing else changed in the BIOS). So I'm not really sure that we should be looking for some other device that is generating those interrupts. I did an sdiff on the verbose boot messages and the lspci and pciconf output. There are some differences, of course, but I have no idea what they really mean. For example, the ICH7 is detected differently in the two cases: Standard IDE: 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE (rev 01) (prog-if 8f [Master SecP SecO PriP PriO]) Subsystem: ASUSTeK Computer Inc. Unknown device 2601 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 23 I/O ports at e400 I/O ports at e080 I/O ports at e000 I/O ports at dc00 I/O ports at d880 Memory at febff800 (32-bit, non-prefetchable) Capabilities: [70] Power Management version 2 AHCI: 00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) Serial ATA Storage Controller AHCI (rev 01) (prog-if 01 [AHCI 1.0]) Subsystem: ASUSTeK Computer Inc. Unknown device 2606 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 23 I/O ports at e400 I/O ports at e080 I/O ports at e000 I/O ports at dc00 I/O ports at d880 Memory at febff800 (32-bit, non-prefetchable) Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Capabilities: [70] Power Management version 2 The full output is here: http://falcon.homeip.net/dmesg-verbose-ahci.txt http://falcon.homeip.net/dmesg-verbose-no-ahci.txt http://falcon.homeip.net/pciconf-ahci.txt http://falcon.homeip.net/pciconf-no-ahci.txt http://falcon.homeip.net/lspci-ahci.txt http://falcon.homeip.net/lspci-no-ahci.txt Or could this really be a bug in the ATA(4) driver? BTW, 7.0-CURRENT as of yesterday has the same problem. Any hints greatly appreciated! From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 23 11:08: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 241BE16A417 for ; Mon, 23 Jul 2007 11:08:10 +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 E835613C461 for ; Mon, 23 Jul 2007 11:08:09 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6NB89sq045222 for ; Mon, 23 Jul 2007 11:08:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6NB88OI045218 for freebsd-acpi@FreeBSD.org; Mon, 23 Jul 2007 11:08:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 Jul 2007 11:08:08 GMT Message-Id: <200707231108.l6NB88OI045218@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, 23 Jul 2007 11:08:10 -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 f i386/67273 acpi [hang] system hangs with acpi and Xfree 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 12 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 Mon Jul 23 23:16:43 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 1156916A418 for ; Mon, 23 Jul 2007 23:16:43 +0000 (UTC) (envelope-from axel@lambertseterrevyen.no) Received: from mail1.dataguard.no (mail1.dataguard.no [213.158.233.66]) by mx1.freebsd.org (Postfix) with SMTP id 5F37713C45B for ; Mon, 23 Jul 2007 23:16:42 +0000 (UTC) (envelope-from axel@lambertseterrevyen.no) Received: (qmail 43836 invoked by uid 85); 23 Jul 2007 22:50:07 -0000 Received: from unknown (HELO smtp1.dataguard.no) (213.158.233.138) by mail1.dataguard.no with SMTP; 23 Jul 2007 22:50:06 -0000 Received: (qmail 7786 invoked by uid 1002); 23 Jul 2007 22:50:06 -0000 Received: from axel ([85.196.78.150]) by smtp1.dataguard.no ([213.158.233.138]) with SMTP via TCP; 23 Jul 2007 22:50:06 -0000 Message-ID: <001101c7cd7b$d156d9f0$1005050a@axel> From: =?iso-8859-1?Q?Axel_Sj=F8stedt?= To: Date: Tue, 24 Jul 2007 00:50:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit 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.3138 X-Scanned: by DataGuard AS Subject: CPU fan at 2700 rpm regardless of temp. CPU temp getting to high? 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, 23 Jul 2007 23:16:43 -0000 Hello all, I am setting up FreeBSD 6.2 on a computer running Pentium D 3.0 Ghz on a ASUS P5WD2 Premium motherboard. The machine will work as a server that is always turned on. It has to be stable. Using mbmon, I notice that the CPU fan constantly works at 2700rpm, regardless of the CPU temperature. The temp starts at about 50七/120了, but when stressing the machine a bit it quickly exeeds 90七/195了. The only way I have made the fan speed change, is by using the "AI Quiet" option in BIOS. But it just started at 1000rpm, worked its way up to 2700rpm after some minutes, and stayed there while the temperature was rising much higher. I have upgraded to the latest BIOS and reset the settings, and also tried the Q-Fan option. Nothing worked. What does this mean? Is 2700rpm the maximum for my fan? Are degrees over 90七/195了 unhealthy for the computer? Any way to get the speed to increase more properly? Here is my dmesg: http://axel.pusen.org/dmesg.txt And here's the output of sysctl -a: http://axel.pusen.org/sysctl.txt Thanks in advance! -- Axel From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 25 20:14:56 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 797E516A41B; Wed, 25 Jul 2007 20:14:56 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 0633B13C46E; Wed, 25 Jul 2007 20:14:55 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-187-205.dclient.hispeed.ch ([80.218.187.205] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IDmcM-0006rH-F0; Wed, 25 Jul 2007 21:33:54 +0200 Message-ID: <46A7A5B1.8020900@gahr.ch> Date: Wed, 25 Jul 2007 21:34:09 +0200 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.5 (X11/20070723) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org, freebsd-hackers@freebsd.org X-Enigmail-Version: 0.95.2 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig1439401C7BF64E1F5E915EB9" X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: apci_thermal doesn't send 0x80 or 0x81 notifies 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, 25 Jul 2007 20:14:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1439401C7BF64E1F5E915EB9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi lists, under heavy loads, my laptop's temperature reaches the hw.acpi.thermal.tz0._CRT level, at which point it shuts down. Passive cooling is not supported on my system: # sysctl hw.acpi.thermal.tz0.passive_cooling=3D1 hw.acpi.thermal.tz0.passive_cooling: 0 sysctl: hw.acpi.thermal.tz0.passive_cooling: Operation not supported by device My idea was to write a little script invoked by devd when acpi_thermal sends a temperature change (0x80) or trip point change (0x81) notify, so I added these lines to my /etc/devd.conf file: notify 100 { match "system" "ACPI"; match "subsystem" "Thermal"; match "notify" "0x80"; action "/root/bin/acpi_thermal"; }; However, I noticed that the script is never called. I added a device_printf(9) debug call at the beginning of the acpi_tz_notify_handler function of acpi_thermal.c (line 752), but nothing is printed where it should. So my question: is acpi_thermal missing the 0x80 and 0x81 notifies, or I am missing something? Note that 0xcc works, since the following is called when the temperature reaches the hw.acpi.thermal.tz0._CRT level. notify 10 { match "system" "ACPI"; match "subsystem" "Thermal"; match "notify" "0xcc"; action "logger -p kern.emerg 'WARNING: system temperature too high, shutting }; Thanks for any input! P.S. freebsd-acpi@ people, please CC me or freebsd-hackers@ since I'm not on your list! --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig1439401C7BF64E1F5E915EB9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGp6W2wMJqmJVx944RCtr+AKCLMokzq82Vld4mHMv6HBU/lBr8mACaAnRP +hXkKGF+lnupeTSw6oLF4LE= =GSKK -----END PGP SIGNATURE----- --------------enig1439401C7BF64E1F5E915EB9-- From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 27 11:01:49 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 7888316A41F; Fri, 27 Jul 2007 11:01:49 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 54AE313C4B7; Fri, 27 Jul 2007 11:01:49 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6RB1nSF069519; Fri, 27 Jul 2007 11:01:49 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6RB1ncq069515; Fri, 27 Jul 2007 11:01:49 GMT (envelope-from linimon) Date: Fri, 27 Jul 2007 11:01:49 GMT Message-Id: <200707271101.l6RB1ncq069515@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-acpi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: i386/114562: [acpi] cardbus is dead after s3 on Thinkpad T43 with a TI1510 CardBus Bridge 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: Fri, 27 Jul 2007 11:01:49 -0000 Old Synopsis: [acpi] cardbus is dead after s3 New Synopsis: [acpi] cardbus is dead after s3 on Thinkpad T43 with a TI1510 CardBus Bridge Responsible-Changed-From-To: freebsd-i386->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Fri Jul 27 11:00:49 UTC 2007 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=114562 From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 27 15:21: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 6C74C16A41B for ; Fri, 27 Jul 2007 15:21:40 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id DB89613C458 for ; Fri, 27 Jul 2007 15:21:39 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from anb.matik.com.br (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l6RE9rtt063741 for ; Fri, 27 Jul 2007 11:09:54 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-acpi@freebsd.org Date: Fri, 27 Jul 2007 11:09:51 -0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200707271109.51334.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.90.3, clamav-milter version 0.90.3 on msrv.matik.com.br X-Virus-Status: Clean Subject: powerd freeze with amd 5000 X2 but not with lower cpus 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: Fri, 27 Jul 2007 15:21:40 -0000 Hi when I enable powerd with default flags (and any other also) the computer=20 freezes some seconds after powerd is started. It does not reach login.=20 Nothing in the logs. This is with amd 5000 X2 Am2 When i stick into the same computer a 4600 or 4200 it runs fine and smooth. I thought it is MB related and did the same and again the 5000 cpu freeze, = the=20 smaller ones not. Any idea what I should do? I use releng_6 amd and i386 same story and cpufreq and acpi is compiled. =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 27 15:31:55 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 A3A9416A420 for ; Fri, 27 Jul 2007 15:31:55 +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 6E97E13C459 for ; Fri, 27 Jul 2007 15:31:55 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 38516 invoked from network); 27 Jul 2007 15:31:55 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.5.18?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 27 Jul 2007 15:31:55 -0000 Message-ID: <46AA0FEB.2070001@root.org> Date: Fri, 27 Jul 2007 08:31:55 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.4 (X11/20070617) MIME-Version: 1.0 To: JoaoBR References: <200707271109.51334.joao@matik.com.br> In-Reply-To: <200707271109.51334.joao@matik.com.br> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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: Fri, 27 Jul 2007 15:31:55 -0000 JoaoBR wrote: > Hi > when I enable powerd with default flags (and any other also) the computer > freezes some seconds after powerd is started. It does not reach login. > Nothing in the logs. This is with amd 5000 X2 Am2 > > When i stick into the same computer a 4600 or 4200 it runs fine and smooth. > > I thought it is MB related and did the same and again the 5000 cpu freeze, the > smaller ones not. > > Any idea what I should do? > > I use releng_6 amd and i386 same story and cpufreq and acpi is compiled. Disable powerd again and boot normally. Try changing the frequency with "sysctl dev.cpu", etc. and see if any of the levels freeze for you. You can boot single user if you want to avoid the fsck. -Nate From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 27 22:12:22 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 275B716A41A; Fri, 27 Jul 2007 22:12:22 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8771913C442; Fri, 27 Jul 2007 22:12:21 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l6RMCMEj015628; Fri, 27 Jul 2007 19:12:22 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: Nate Lawson Date: Fri, 27 Jul 2007 19:12:11 -0300 User-Agent: KMail/1.9.7 References: <200707271109.51334.joao@matik.com.br> <46AA0FEB.2070001@root.org> In-Reply-To: <46AA0FEB.2070001@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200707271912.11945.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.90.3, clamav-milter version 0.90.3 on msrv.matik.com.br X-Virus-Status: Clean Cc: freebsd-acpi@freebsd.org, Michael Nottebrock Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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: Fri, 27 Jul 2007 22:12:22 -0000 On Friday 27 July 2007 12:31:55 Nate Lawson wrote: > JoaoBR wrote: > > Hi > > when I enable powerd with default flags (and any other also) the comput= er > > freezes some seconds after powerd is started. It does not reach login. > > Nothing in the logs. This is with amd 5000 X2 Am2 > > > > When i stick into the same computer a 4600 or 4200 it runs fine and > > smooth. > > > > I thought it is MB related and did the same and again the 5000 cpu > > freeze, the smaller ones not. > > > > Any idea what I should do? > > > > I use releng_6 amd and i386 same story and cpufreq and acpi is compiled. > > Disable powerd again and boot normally. Try changing the frequency with > "sysctl dev.cpu", etc. and see if any of the levels freeze for you. > ok, this is what I get=20 dev.cpu.0.freq_levels: 2600/100000 2400/85596 2200/72544 2000/60778 1800/50= 237=20 1000/25535 no need to say but the fan levels obviously are wrong And now the interesting part I shift to 2400 or any other and immediately=20 freeze, that from kde konsole in single user mode I can shift up and down between all speeds and nothing= =20 happens then I payed more attention when it freezes on start with powerd_enable and= =20 seems it is when the xserver starts I see some similar discussion on stable but I can not match with everything= =20 there because I have the problem only with the athlon 5000 cpu any further idea? =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 09:17:06 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 4313916A479; Sat, 28 Jul 2007 09:17:06 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id ABBD313C467; Sat, 28 Jul 2007 09:17:04 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l6S9H3Ds065514; Sat, 28 Jul 2007 06:17:03 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-stable@freebsd.org Date: Sun, 29 Jul 2007 06:14:17 -0300 User-Agent: KMail/1.9.7 References: <200707271109.51334.joao@matik.com.br> <200707271912.11945.joao@matik.com.br> <46AAEE83.4020408@freebsd.org> In-Reply-To: <46AAEE83.4020408@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200707290614.18469.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.90.3, clamav-milter version 0.90.3 on msrv.matik.com.br X-Virus-Status: Clean Cc: bruno@freebsd.org, freebsd-acpi@freebsd.org, Michael Nottebrock Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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, 28 Jul 2007 09:17:06 -0000 On Saturday 28 July 2007 04:21:39 Michael Nottebrock wrote: > JoaoBR schrieb: > > On Friday 27 July 2007 12:31:55 Nate Lawson wrote: > >> JoaoBR wrote: > >>> Hi > >>> when I enable powerd with default flags (and any other also) the > >>> computer freezes some seconds after powerd is started. It does not > >>> reach login. Nothing in the logs. This is with amd 5000 X2 Am2 > >>> > >>> When i stick into the same computer a 4600 or 4200 it runs fine and > >>> smooth. > >>> > >>> I thought it is MB related and did the same and again the 5000 cpu > >>> freeze, the smaller ones not. > >>> > >>> Any idea what I should do? > >>> > >>> I use releng_6 amd and i386 same story and cpufreq and acpi is > >>> compiled. > >> > >> Disable powerd again and boot normally. Try changing the frequency wi= th > >> "sysctl dev.cpu", etc. and see if any of the levels freeze for you. > > > > ok, this is what I get > > > > dev.cpu.0.freq_levels: 2600/100000 2400/85596 2200/72544 2000/60778 > > 1800/50237 1000/25535 > > > > no need to say but the fan levels obviously are wrong > > > > And now the interesting part I shift to 2400 or any other and immediate= ly > > freeze, that from kde konsole > > > > in single user mode I can shift up and down between all speeds and > > nothing happens > > [Jumping in from the thread started on -stable - > http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.html > - see there for system details] > > Same here - in single user mode, even powerd works fine - like it does > with SMP disabled - but no go in multiuser. > > > I see some similar discussion on stable but I can not match with > > everything there because I have the problem only with the athlon 5000 c= pu > > The CPU difference is interesting - exactly what model is your X2 4600+? > Mine is a stepping F, model 4B, rev BH-F2 ("Energy Efficient" with 65W > TDP). seems to be the same but I have better news and seems my first idea was right, the MB is it I found a tech info on the manufactor's support site telling cpu support up= to=20 4600+ and found a bios for newer cpus including my 5000+ so I upgraded the bios and my CPU now works with smp + cpufreq + powerd on= =20 both amd64 and i386 nothing wrong with freebsd and xorg neither :) =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 09:42:01 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 5CAAC16A417 for ; Sat, 28 Jul 2007 09:42:01 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44]) by mx1.freebsd.org (Postfix) with ESMTP id EEFA813C45A for ; Sat, 28 Jul 2007 09:42:00 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-12-z2.arcor-online.net (mail-in-12-z2.arcor-online.net [151.189.8.29]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id 5C6281F704E; Sat, 28 Jul 2007 09:21:52 +0200 (CEST) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mail-in-12-z2.arcor-online.net (Postfix) with ESMTP id 3E54027943A; Sat, 28 Jul 2007 09:21:52 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-173-237.pools.arcor-ip.net [84.61.173.237]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id 0584D2BAEFB; Sat, 28 Jul 2007 09:21:51 +0200 (CEST) Received: from [192.168.8.11] (kiste.my.domain [192.168.8.11]) (authenticated bits=0) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l6S7Ln9T003784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Jul 2007 09:21:50 +0200 (CEST) (envelope-from lofi@freebsd.org) Message-ID: <46AAEE83.4020408@freebsd.org> Date: Sat, 28 Jul 2007 09:21:39 +0200 From: Michael Nottebrock User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: JoaoBR References: <200707271109.51334.joao@matik.com.br> <46AA0FEB.2070001@root.org> <200707271912.11945.joao@matik.com.br> In-Reply-To: <200707271912.11945.joao@matik.com.br> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig21AD7489F8D33EBEE6A43EA5" X-Virus-Scanned: by amavisd-new X-Virus-Scanned: ClamAV 0.91.1/3795/Sat Jul 28 04:08:57 2007 on mail-in-08.arcor-online.net X-Virus-Status: Clean Cc: bruno@freebsd.org, freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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, 28 Jul 2007 09:42:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig21AD7489F8D33EBEE6A43EA5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable JoaoBR schrieb: > On Friday 27 July 2007 12:31:55 Nate Lawson wrote: > =20 >> JoaoBR wrote: >> =20 >>> Hi >>> when I enable powerd with default flags (and any other also) the comp= uter >>> freezes some seconds after powerd is started. It does not reach login= =2E >>> Nothing in the logs. This is with amd 5000 X2 Am2 >>> >>> When i stick into the same computer a 4600 or 4200 it runs fine and >>> smooth. >>> >>> I thought it is MB related and did the same and again the 5000 cpu >>> freeze, the smaller ones not. >>> >>> Any idea what I should do? >>> >>> I use releng_6 amd and i386 same story and cpufreq and acpi is compil= ed. >>> =20 >> Disable powerd again and boot normally. Try changing the frequency wi= th >> "sysctl dev.cpu", etc. and see if any of the levels freeze for you. >> >> =20 > > ok, this is what I get=20 > > dev.cpu.0.freq_levels: 2600/100000 2400/85596 2200/72544 2000/60778 180= 0/50237=20 > 1000/25535 > > no need to say but the fan levels obviously are wrong > > And now the interesting part I shift to 2400 or any other and immediate= ly=20 > freeze, that from kde konsole > > in single user mode I can shift up and down between all speeds and noth= ing=20 > happens > =20 [Jumping in from the thread started on -stable - http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.html - see there for system details] Same here - in single user mode, even powerd works fine - like it does with SMP disabled - but no go in multiuser. > I see some similar discussion on stable but I can not match with everyt= hing=20 > there because I have the problem only with the athlon 5000 cpu > =20 The CPU difference is interesting - exactly what model is your X2 4600+? Mine is a stepping F, model 4B, rev BH-F2 ("Energy Efficient" with 65W TD= P). Cheers, --=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --------------enig21AD7489F8D33EBEE6A43EA5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGqu6GXhc68WspdLARAhmGAJ47AuRMhLL9Zv8z+mLZpaGzarY1JACfebgo qFo3AGue9tcl9womK2Q7VIs= =Q6il -----END PGP SIGNATURE----- --------------enig21AD7489F8D33EBEE6A43EA5-- From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 10:10: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 4A5C316A41F; Sat, 28 Jul 2007 10:10:40 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-15.arcor-online.net (mail-in-15.arcor-online.net [151.189.21.55]) by mx1.freebsd.org (Postfix) with ESMTP id D2DAE13C45B; Sat, 28 Jul 2007 10:10:39 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01-z2.arcor-online.net (mail-in-01-z2.arcor-online.net [151.189.8.13]) by mail-in-15.arcor-online.net (Postfix) with ESMTP id 5535FA40D4; Sat, 28 Jul 2007 12:10:37 +0200 (CEST) Received: from mail-in-10.arcor-online.net (mail-in-10.arcor-online.net [151.189.21.50]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 304E412DEF0; Sat, 28 Jul 2007 12:10:37 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-173-237.pools.arcor-ip.net [84.61.173.237]) by mail-in-10.arcor-online.net (Postfix) with ESMTP id 629EA2351A4; Sat, 28 Jul 2007 12:10:36 +0200 (CEST) Received: from [192.168.8.11] (kiste.my.domain [192.168.8.11]) (authenticated bits=0) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l6SAAV06006997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Jul 2007 12:10:34 +0200 (CEST) (envelope-from lofi@freebsd.org) Message-ID: <46AB160D.6040207@freebsd.org> Date: Sat, 28 Jul 2007 12:10:21 +0200 From: Michael Nottebrock User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: JoaoBR References: <200707271109.51334.joao@matik.com.br> <200707271912.11945.joao@matik.com.br> <46AAEE83.4020408@freebsd.org> <200707290614.18469.joao@matik.com.br> In-Reply-To: <200707290614.18469.joao@matik.com.br> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9327623DB5228F9D2083C628" X-Virus-Scanned: by amavisd-new X-Virus-Scanned: ClamAV 0.91.1/3794/Sat Jul 28 03:17:28 2007 on mail-in-10.arcor-online.net X-Virus-Status: Clean Cc: bruno@freebsd.org, freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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, 28 Jul 2007 10:10:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9327623DB5228F9D2083C628 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable JoaoBR schrieb: > On Saturday 28 July 2007 04:21:39 Michael Nottebrock wrote: > =20 >> JoaoBR schrieb: >> =20 >>> On Friday 27 July 2007 12:31:55 Nate Lawson wrote: >>> =20 >>>> JoaoBR wrote: >>>> =20 >>>>> Hi >>>>> when I enable powerd with default flags (and any other also) the >>>>> computer freezes some seconds after powerd is started. It does not >>>>> reach login. Nothing in the logs. This is with amd 5000 X2 Am2 >>>>> >>>>> When i stick into the same computer a 4600 or 4200 it runs fine and= >>>>> smooth. >>>>> >>>>> I thought it is MB related and did the same and again the 5000 cpu >>>>> freeze, the smaller ones not. >>>>> >>>>> Any idea what I should do? >>>>> >>>>> I use releng_6 amd and i386 same story and cpufreq and acpi is >>>>> compiled. >>>>> =20 >>>> Disable powerd again and boot normally. Try changing the frequency = with >>>> "sysctl dev.cpu", etc. and see if any of the levels freeze for you. >>>> =20 >>> ok, this is what I get >>> >>> dev.cpu.0.freq_levels: 2600/100000 2400/85596 2200/72544 2000/60778 >>> 1800/50237 1000/25535 >>> >>> no need to say but the fan levels obviously are wrong >>> >>> And now the interesting part I shift to 2400 or any other and immedia= tely >>> freeze, that from kde konsole >>> >>> in single user mode I can shift up and down between all speeds and >>> nothing happens >>> =20 >> [Jumping in from the thread started on -stable - >> http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.htm= l >> - see there for system details] >> >> Same here - in single user mode, even powerd works fine - like it does= >> with SMP disabled - but no go in multiuser. >> >> =20 >>> I see some similar discussion on stable but I can not match with >>> everything there because I have the problem only with the athlon 5000= cpu >>> =20 >> The CPU difference is interesting - exactly what model is your X2 4600= +? >> Mine is a stepping F, model 4B, rev BH-F2 ("Energy Efficient" with 65W= >> TDP). >> =20 > > seems to be the same > > but I have better news and seems my first idea was right, the MB is it > > I found a tech info on the manufactor's support site telling cpu suppor= t up to=20 > 4600+ and found a bios for newer cpus including my 5000+ > > so I upgraded the bios and my CPU now works with smp + cpufreq + powerd= on=20 > both amd64 and i386 > =20 Good to hear. Unfortunately my Mobo's BIOS is already up-to-date, the CPU is officially supported and Cool'n'Quiet works dandy in Windows XP =2E.. =3D/ Cheers, --=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --------------enig9327623DB5228F9D2083C628 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGqxYQXhc68WspdLARAutAAJwNlHQgmAqsANe/HbCvE3Ta4VQ4lACgiJZA rY3rr0k5CJzTWOosluJGEDQ= =FQlh -----END PGP SIGNATURE----- --------------enig9327623DB5228F9D2083C628-- From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 11:34:00 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 66E3716A417; Sat, 28 Jul 2007 11:34:00 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id EAD3F13C481; Sat, 28 Jul 2007 11:33:59 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l6SBXvl3075075; Sat, 28 Jul 2007 08:33:58 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-stable@freebsd.org Date: Sat, 28 Jul 2007 08:33:55 -0300 User-Agent: KMail/1.9.7 References: <200707271109.51334.joao@matik.com.br> <200707290614.18469.joao@matik.com.br> <46AB160D.6040207@freebsd.org> In-Reply-To: <46AB160D.6040207@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200707290833.56202.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.90.3, clamav-milter version 0.90.3 on msrv.matik.com.br X-Virus-Status: Clean Cc: bruno@freebsd.org, freebsd-acpi@freebsd.org, Michael Nottebrock Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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, 28 Jul 2007 11:34:00 -0000 On Saturday 28 July 2007 07:10:21 Michael Nottebrock wrote: > JoaoBR schrieb: > > On Saturday 28 July 2007 04:21:39 Michael Nottebrock wrote: > >> JoaoBR schrieb: > >>> On Friday 27 July 2007 12:31:55 Nate Lawson wrote: > >>>> JoaoBR wrote: > >>>>> Hi > >>>>> when I enable powerd with default flags (and any other also) the > >>>>> computer freezes some seconds after powerd is started. It does not > >>>>> reach login. Nothing in the logs. This is with amd 5000 X2 Am2 > >>>>> > >>>>> When i stick into the same computer a 4600 or 4200 it runs fine and > >>>>> smooth. > >>>>> > >>>>> I thought it is MB related and did the same and again the 5000 cpu > >>>>> freeze, the smaller ones not. > >>>>> > >>>>> Any idea what I should do? > >>>>> > >>>>> I use releng_6 amd and i386 same story and cpufreq and acpi is > >>>>> compiled. > >>>> > >>>> Disable powerd again and boot normally. Try changing the frequency > >>>> with "sysctl dev.cpu", etc. and see if any of the levels freeze for > >>>> you. > >>> > >>> ok, this is what I get > >>> > >>> dev.cpu.0.freq_levels: 2600/100000 2400/85596 2200/72544 2000/60778 > >>> 1800/50237 1000/25535 > >>> > >>> no need to say but the fan levels obviously are wrong > >>> > >>> And now the interesting part I shift to 2400 or any other and > >>> immediately freeze, that from kde konsole > >>> > >>> in single user mode I can shift up and down between all speeds and > >>> nothing happens > >> > >> [Jumping in from the thread started on -stable - > >> http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.html > >> - see there for system details] > >> > >> Same here - in single user mode, even powerd works fine - like it does > >> with SMP disabled - but no go in multiuser. > >> > >>> I see some similar discussion on stable but I can not match with > >>> everything there because I have the problem only with the athlon 5000 > >>> cpu > >> > >> The CPU difference is interesting - exactly what model is your X2 4600= +? > >> Mine is a stepping F, model 4B, rev BH-F2 ("Energy Efficient" with 65W > >> TDP). > > > > seems to be the same > > > > but I have better news and seems my first idea was right, the MB is it > > > > I found a tech info on the manufactor's support site telling cpu support > > up to 4600+ and found a bios for newer cpus including my 5000+ > > > > so I upgraded the bios and my CPU now works with smp + cpufreq + powerd > > on both amd64 and i386 > > Good to hear. Unfortunately my Mobo's BIOS is already up-to-date, the > CPU is officially supported and Cool'n'Quiet works dandy in Windows XP > ... =3D/ my ok msg was too fast, after some time my video starts flickering and stay= s=20 so and the PC is freezed up, disabling powerd and works stable until it freeze cpu frequency shifting is done well manually I can set all cpu speeds and seems to stay stable on each must be related to X because I have some servers without X but=20 cpufreq+smp+powerd running absolutely stable I found some msgs about the same problem with Gentoo and Debian and people = say=20 the problem is with xorg and changing to xfree solved it for them but I=20 myself probably will not risk getting into a nightmare after the /usrX11R6= =20 thing I have no windows but fedora 7 on the same pc and works fine too,=20 kde's 'kpowersave info dialog' shows fine the cpu frequency shifting =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 13:46:33 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 5D9F816A420; Sat, 28 Jul 2007 13:46:33 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-15.arcor-online.net (mail-in-15.arcor-online.net [151.189.21.55]) by mx1.freebsd.org (Postfix) with ESMTP id EC30313C46E; Sat, 28 Jul 2007 13:46:32 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-13-z2.arcor-online.net (mail-in-13-z2.arcor-online.net [151.189.8.30]) by mail-in-15.arcor-online.net (Postfix) with ESMTP id CE15BA4310; Sat, 28 Jul 2007 15:46:29 +0200 (CEST) Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) by mail-in-13-z2.arcor-online.net (Postfix) with ESMTP id AE8CC1B8E04; Sat, 28 Jul 2007 15:46:29 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-062-193-107.pools.arcor-ip.net [84.62.193.107]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id F1668292B61; Sat, 28 Jul 2007 15:46:28 +0200 (CEST) Received: from [192.168.8.11] (kiste.my.domain [192.168.8.11]) (authenticated bits=0) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l6SDkPdL002966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Jul 2007 15:46:26 +0200 (CEST) (envelope-from lofi@freebsd.org) Message-ID: <46AB48A7.8060103@freebsd.org> Date: Sat, 28 Jul 2007 15:46:15 +0200 From: Michael Nottebrock User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: JoaoBR References: <200707271109.51334.joao@matik.com.br> <200707290614.18469.joao@matik.com.br> <46AB160D.6040207@freebsd.org> <200707290833.56202.joao@matik.com.br> In-Reply-To: <200707290833.56202.joao@matik.com.br> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig14CAB483601D5900E6CEBABC" X-Virus-Scanned: by amavisd-new X-Virus-Scanned: ClamAV 0.91.1/3795/Sat Jul 28 04:08:57 2007 on mail-in-07.arcor-online.net X-Virus-Status: Clean Cc: bruno@freebsd.org, freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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, 28 Jul 2007 13:46:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig14CAB483601D5900E6CEBABC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable JoaoBR schrieb: > On Saturday 28 July 2007 07:10:21 Michael Nottebrock wrote: > =20 >> JoaoBR schrieb: >> =20 >>> On Saturday 28 July 2007 04:21:39 Michael Nottebrock wrote: >>> =20 >>>> JoaoBR schrieb: >>>> =20 >>>>> On Friday 27 July 2007 12:31:55 Nate Lawson wrote: >>>>> =20 >>>>>> JoaoBR wrote: >>>>>> =20 >>>>>>> Hi >>>>>>> when I enable powerd with default flags (and any other also) the >>>>>>> computer freezes some seconds after powerd is started. It does no= t >>>>>>> reach login. Nothing in the logs. This is with amd 5000 X2 Am2 >>>>>>> >>>>>>> When i stick into the same computer a 4600 or 4200 it runs fine a= nd >>>>>>> smooth. >>>>>>> >>>>>>> I thought it is MB related and did the same and again the 5000 cp= u >>>>>>> freeze, the smaller ones not. >>>>>>> >>>>>>> Any idea what I should do? >>>>>>> >>>>>>> I use releng_6 amd and i386 same story and cpufreq and acpi is >>>>>>> compiled. >>>>>>> =20 >>>>>> Disable powerd again and boot normally. Try changing the frequenc= y >>>>>> with "sysctl dev.cpu", etc. and see if any of the levels freeze fo= r >>>>>> you. >>>>>> =20 >>>>> ok, this is what I get >>>>> >>>>> dev.cpu.0.freq_levels: 2600/100000 2400/85596 2200/72544 2000/60778= >>>>> 1800/50237 1000/25535 >>>>> >>>>> no need to say but the fan levels obviously are wrong >>>>> >>>>> And now the interesting part I shift to 2400 or any other and >>>>> immediately freeze, that from kde konsole >>>>> >>>>> in single user mode I can shift up and down between all speeds and >>>>> nothing happens >>>>> =20 >>>> [Jumping in from the thread started on -stable - >>>> http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.h= tml >>>> - see there for system details] >>>> >>>> Same here - in single user mode, even powerd works fine - like it do= es >>>> with SMP disabled - but no go in multiuser. >>>> >>>> =20 >>>>> I see some similar discussion on stable but I can not match with >>>>> everything there because I have the problem only with the athlon 50= 00 >>>>> cpu >>>>> =20 >>>> The CPU difference is interesting - exactly what model is your X2 46= 00+? >>>> Mine is a stepping F, model 4B, rev BH-F2 ("Energy Efficient" with 6= 5W >>>> TDP). >>>> =20 >>> seems to be the same >>> >>> but I have better news and seems my first idea was right, the MB is i= t >>> >>> I found a tech info on the manufactor's support site telling cpu supp= ort >>> up to 4600+ and found a bios for newer cpus including my 5000+ >>> >>> so I upgraded the bios and my CPU now works with smp + cpufreq + powe= rd >>> on both amd64 and i386 >>> =20 >> Good to hear. Unfortunately my Mobo's BIOS is already up-to-date, the >> CPU is officially supported and Cool'n'Quiet works dandy in Windows XP= >> ... =3D/ >> =20 > > my ok msg was too fast, after some time my video starts flickering and = stays=20 > so and the PC is freezed up, disabling powerd and works stable > =20 Meanwhile I found a workaround for my system: I had SCHED_ULE configured in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should have thought of that sooner, ISTR having problems with powerd and SCHED_ULE even on single cpu P4s. Cheers, --=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --------------enig14CAB483601D5900E6CEBABC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGq0ipXhc68WspdLARAlKfAJ0VKl7H8yvd9+OR/Ytt3vLrFxuw9gCgnLgM rnpDvb8UTi51MhUunDDFqjw= =luh8 -----END PGP SIGNATURE----- --------------enig14CAB483601D5900E6CEBABC-- From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 17:47:18 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 7681216A420; Sat, 28 Jul 2007 17:47:18 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5E97413C465; Sat, 28 Jul 2007 17:47:18 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from rot26.obsecurity.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 7FE801A4D7C; Sat, 28 Jul 2007 10:47:08 -0700 (PDT) Received: by rot26.obsecurity.org (Postfix, from userid 1001) id ABABEBE96; Sat, 28 Jul 2007 13:47:17 -0400 (EDT) Date: Sat, 28 Jul 2007 13:47:17 -0400 From: Kris Kennaway To: Michael Nottebrock Message-ID: <20070728174717.GA66065@rot26.obsecurity.org> References: <200707271109.51334.joao@matik.com.br> <200707290614.18469.joao@matik.com.br> <46AB160D.6040207@freebsd.org> <200707290833.56202.joao@matik.com.br> <46AB48A7.8060103@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46AB48A7.8060103@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: bruno@freebsd.org, freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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, 28 Jul 2007 17:47:18 -0000 On Sat, Jul 28, 2007 at 03:46:15PM +0200, Michael Nottebrock wrote: > Meanwhile I found a workaround for my system: I had SCHED_ULE configured > in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should > have thought of that sooner, ISTR having problems with powerd and > SCHED_ULE even on single cpu P4s. I see you've now learned a reason why no-one should be using SCHED_ULE on FreeBSD < 7 ;-) Kris From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 21:00:31 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 62F3516A419; Sat, 28 Jul 2007 21:00:31 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mx1.freebsd.org (Postfix) with ESMTP id C958413C457; Sat, 28 Jul 2007 21:00:30 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-09-z2.arcor-online.net (mail-in-09-z2.arcor-online.net [151.189.8.21]) by mail-in-09.arcor-online.net (Postfix) with ESMTP id 8990931A7E9; Sat, 28 Jul 2007 23:00:29 +0200 (CEST) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-09-z2.arcor-online.net (Postfix) with ESMTP id 7A10028EBD3; Sat, 28 Jul 2007 23:00:29 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-062-193-107.pools.arcor-ip.net [84.62.193.107]) by mail-in-05.arcor-online.net (Postfix) with ESMTP id D54632BAA21; Sat, 28 Jul 2007 23:00:28 +0200 (CEST) Received: from [192.168.8.11] (kiste.my.domain [192.168.8.11]) (authenticated bits=0) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l6SL0QF1006314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Jul 2007 23:00:26 +0200 (CEST) (envelope-from lofi@freebsd.org) Message-ID: <46ABAE5F.8060901@freebsd.org> Date: Sat, 28 Jul 2007 23:00:15 +0200 From: Michael Nottebrock User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Kris Kennaway References: <200707271109.51334.joao@matik.com.br> <200707290614.18469.joao@matik.com.br> <46AB160D.6040207@freebsd.org> <200707290833.56202.joao@matik.com.br> <46AB48A7.8060103@freebsd.org> <20070728174717.GA66065@rot26.obsecurity.org> In-Reply-To: <20070728174717.GA66065@rot26.obsecurity.org> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD9B5D5CB9EF4AEBB98E57F9C" X-Virus-Scanned: by amavisd-new X-Virus-Scanned: ClamAV 0.91.1/3797/Sat Jul 28 21:36:26 2007 on mail-in-05.arcor-online.net X-Virus-Status: Clean Cc: bruno@freebsd.org, freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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, 28 Jul 2007 21:00:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD9B5D5CB9EF4AEBB98E57F9C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Kris Kennaway schrieb: > On Sat, Jul 28, 2007 at 03:46:15PM +0200, Michael Nottebrock wrote: > > =20 >> Meanwhile I found a workaround for my system: I had SCHED_ULE configur= ed >> in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should= >> have thought of that sooner, ISTR having problems with powerd and >> SCHED_ULE even on single cpu P4s. >> =20 > > I see you've now learned a reason why no-one should be using SCHED_ULE > on FreeBSD < 7 ;-) > =20 =2E.. and with SCHED_ULE being obsoleted by SCHED_SMP in 7+, it might actually become the scheduler nobody was ever supposed to be using? It might still be worthwhile doing some experimenting with powerd and the different schedulers in -CURRENT, just in case 4BSD ever gets knocked from GENERIC. :) Cheers, --=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --------------enigD9B5D5CB9EF4AEBB98E57F9C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGq65iXhc68WspdLARAoq9AJ4pWWuEJMprpCMpid+z2ZiPeGJz0QCfbLOk ygg/OclhQ9BbrJDvxgA1Vy4= =Y0QJ -----END PGP SIGNATURE----- --------------enigD9B5D5CB9EF4AEBB98E57F9C-- From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 21:46:46 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 EA0E416A417 for ; Sat, 28 Jul 2007 21:46:46 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with SMTP id 6C4FB13C4A8 for ; Sat, 28 Jul 2007 21:46:46 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 15832 invoked by uid 399); 28 Jul 2007 21:46:43 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 28 Jul 2007 21:46:43 -0000 X-Originating-IP: 127.0.0.1 Date: Sat, 28 Jul 2007 14:46:41 -0700 (PDT) From: Doug Barton To: Michael Nottebrock In-Reply-To: <46ABAE5F.8060901@freebsd.org> Message-ID: <20070728144506.W14500@qbhto.arg> References: <200707271109.51334.joao@matik.com.br> <200707290614.18469.joao@matik.com.br> <46AB160D.6040207@freebsd.org> <200707290833.56202.joao@matik.com.br> <46AB48A7.8060103@freebsd.org> <20070728174717.GA66065@rot26.obsecurity.org> <46ABAE5F.8060901@freebsd.org> Organization: http://www.FreeBSD.org/ X-OpenPGP-Key-ID: 0xD5B2F0FB X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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, 28 Jul 2007 21:46:47 -0000 On Sat, 28 Jul 2007, Michael Nottebrock wrote: > ... and with SCHED_ULE being obsoleted by SCHED_SMP in 7+, it might > actually become the scheduler nobody was ever supposed to be using? It > might still be worthwhile doing some experimenting with powerd and the > different schedulers in -CURRENT, just in case 4BSD ever gets knocked > from GENERIC. :) The _SMP variant has been integrated into the _ULE code in -current, so they are now the same thing. My understanding is that the intention is to make it the default scheduler for 7-stable, but I could be remembering that wrong. Doug -- This .signature sanitized for your protection From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 21:50:35 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 621A416A418; Sat, 28 Jul 2007 21:50:35 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2F5ED13C4B6; Sat, 28 Jul 2007 21:50:35 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from rot26.obsecurity.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 967271A3C1A; Sat, 28 Jul 2007 14:50:24 -0700 (PDT) Received: by rot26.obsecurity.org (Postfix, from userid 1001) id 6C28FBEC3; Sat, 28 Jul 2007 17:50:34 -0400 (EDT) Date: Sat, 28 Jul 2007 17:50:34 -0400 From: Kris Kennaway To: Michael Nottebrock Message-ID: <20070728215034.GA69460@rot26.obsecurity.org> References: <200707271109.51334.joao@matik.com.br> <200707290614.18469.joao@matik.com.br> <46AB160D.6040207@freebsd.org> <200707290833.56202.joao@matik.com.br> <46AB48A7.8060103@freebsd.org> <20070728174717.GA66065@rot26.obsecurity.org> <46ABAE5F.8060901@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46ABAE5F.8060901@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org, bruno@freebsd.org, freebsd-acpi@freebsd.org, Kris Kennaway Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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, 28 Jul 2007 21:50:35 -0000 On Sat, Jul 28, 2007 at 11:00:15PM +0200, Michael Nottebrock wrote: > Kris Kennaway schrieb: > > On Sat, Jul 28, 2007 at 03:46:15PM +0200, Michael Nottebrock wrote: > > > > > >> Meanwhile I found a workaround for my system: I had SCHED_ULE configured > >> in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should > >> have thought of that sooner, ISTR having problems with powerd and > >> SCHED_ULE even on single cpu P4s. > >> > > > > I see you've now learned a reason why no-one should be using SCHED_ULE > > on FreeBSD < 7 ;-) > > > ... and with SCHED_ULE being obsoleted by SCHED_SMP in 7+, it might > actually become the scheduler nobody was ever supposed to be using? It > might still be worthwhile doing some experimenting with powerd and the > different schedulers in -CURRENT, just in case 4BSD ever gets knocked > from GENERIC. :) There has been so much publicity about SCHED_ULE being broken and contraindicated on 6.x and older versions that it's hard to understand why people persist in using it and then being surprised when it fails for them. It's also kind of irritating because it ties up developer time when problems are reported and it only later emerges that the user is using ULE. As you know, the version of ULE in 7.0 is completely revised, and has the advantage of actually working. If you see problems with ULE in 7.0, please report them on current. If you are still using ULE on -stable, please stop. Kris From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 28 22:13:42 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 E4ECD16A419; Sat, 28 Jul 2007 22:13:41 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4374E13C4A3; Sat, 28 Jul 2007 22:13:41 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l6SMDWlV018267; Sat, 28 Jul 2007 19:13:41 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-stable@freebsd.org Date: Sat, 28 Jul 2007 19:13:32 -0300 User-Agent: KMail/1.9.7 References: <200707271109.51334.joao@matik.com.br> <200707290833.56202.joao@matik.com.br> <46AB48A7.8060103@freebsd.org> In-Reply-To: <46AB48A7.8060103@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200707281913.33242.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.90.3, clamav-milter version 0.90.3 on msrv.matik.com.br X-Virus-Status: Clean Cc: bruno@freebsd.org, freebsd-acpi@freebsd.org, Michael Nottebrock Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus 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, 28 Jul 2007 22:13:42 -0000 On Saturday 28 July 2007 10:46:15 Michael Nottebrock wrote: > JoaoBR schrieb: > > On Saturday 28 July 2007 07:10:21 Michael Nottebrock wrote: > >> JoaoBR schrieb: > >>> On Saturday 28 July 2007 04:21:39 Michael Nottebrock wrote: > >>>> JoaoBR schrieb: > >>>>> On Friday 27 July 2007 12:31:55 Nate Lawson wrote: > >>>>>> JoaoBR wrote: > >>>>>>> Hi > >>>>>>> when I enable powerd with default flags (and any other also) the > >>>>>>> computer freezes some seconds after powerd is started. It does not > >>>>>>> reach login. Nothing in the logs. This is with amd 5000 X2 Am2 > >>>>>>> > >>>>>>> When i stick into the same computer a 4600 or 4200 it runs fine a= nd > >>>>>>> smooth. > >>>>>>> > >>>>>>> I thought it is MB related and did the same and again the 5000 cpu > >>>>>>> freeze, the smaller ones not. > >>>>>>> > >>>>>>> Any idea what I should do? > >>>>>>> > >>>>>>> I use releng_6 amd and i386 same story and cpufreq and acpi is > >>>>>>> compiled. > >>>>>> > >>>>>> Disable powerd again and boot normally. Try changing the frequency > >>>>>> with "sysctl dev.cpu", etc. and see if any of the levels freeze for > >>>>>> you. > >>>>> > >>>>> ok, this is what I get > >>>>> > >>>>> dev.cpu.0.freq_levels: 2600/100000 2400/85596 2200/72544 2000/60778 > >>>>> 1800/50237 1000/25535 > >>>>> > >>>>> no need to say but the fan levels obviously are wrong > >>>>> > >>>>> And now the interesting part I shift to 2400 or any other and > >>>>> immediately freeze, that from kde konsole > >>>>> > >>>>> in single user mode I can shift up and down between all speeds and > >>>>> nothing happens > >>>> > >>>> [Jumping in from the thread started on -stable - > >>>> http://lists.freebsd.org/pipermail/freebsd-stable/2007-July/036395.h= tm > >>>>l - see there for system details] > >>>> > >>>> Same here - in single user mode, even powerd works fine - like it do= es > >>>> with SMP disabled - but no go in multiuser. > >>>> > >>>>> I see some similar discussion on stable but I can not match with > >>>>> everything there because I have the problem only with the athlon 50= 00 > >>>>> cpu > >>>> > >>>> The CPU difference is interesting - exactly what model is your X2 > >>>> 4600+? Mine is a stepping F, model 4B, rev BH-F2 ("Energy Efficient" > >>>> with 65W TDP). > >>> > >>> seems to be the same > >>> > >>> but I have better news and seems my first idea was right, the MB is it > >>> > >>> I found a tech info on the manufactor's support site telling cpu > >>> support up to 4600+ and found a bios for newer cpus including my 5000+ > >>> > >>> so I upgraded the bios and my CPU now works with smp + cpufreq + powe= rd > >>> on both amd64 and i386 > >> > >> Good to hear. Unfortunately my Mobo's BIOS is already up-to-date, the > >> CPU is officially supported and Cool'n'Quiet works dandy in Windows XP > >> ... =3D/ > > > > my ok msg was too fast, after some time my video starts flickering and > > stays so and the PC is freezed up, disabling powerd and works stable > > Meanwhile I found a workaround for my system: I had SCHED_ULE configured > in my kernel - switching to SCHED_4BSD gets rid of the freezes. Should > have thought of that sooner, ISTR having problems with powerd and > SCHED_ULE even on single cpu P4s. here no change, I was already on 4BSD I tried both schedulers but my problem persist. Since my MB has a sis onboa= rd=20 vga I will try a PCIe on monday and see if it helps because when I disable= =20 DPMS in xorg.conf it stands longer here =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br