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, Nate Lawson <nate@root.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
[-- Attachment #1 --] 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 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 >> ... =/ >> > > 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. Cheers, -- ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AB48A7.8060103>
