From owner-freebsd-stable@FreeBSD.ORG Sat Jul 28 13:46:33 2007 Return-Path: Delivered-To: freebsd-stable@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, Nate Lawson Subject: Re: powerd freeze with amd 5000 X2 but not with lower cpus X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code 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--