Date: Sat, 28 Jul 2007 15:46:15 +0200 From: Michael Nottebrock <lofi@freebsd.org> To: JoaoBR <joao@matik.com.br> 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 Message-ID: <46AB48A7.8060103@freebsd.org> In-Reply-To: <200707290833.56202.joao@matik.com.br> References: <200707271109.51334.joao@matik.com.br> <200707290614.18469.joao@matik.com.br> <46AB160D.6040207@freebsd.org> <200707290833.56202.joao@matik.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AB48A7.8060103>