powerd freeze with amd 5000 X2 but not with lower cpus

Michael Nottebrock lofi at freebsd.org
Sat Jul 28 13:46:33 UTC 2007


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 at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20070728/573788bc/signature.pgp


More information about the freebsd-acpi mailing list