| Summary: | cpufreq+kernel server then freeze | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | episteme promeneur <epistemepromeneur> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | eandry, marja11, n54, tmb |
| Version: | 2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA1TOO | ||
| Source RPM: | cpufreq | CVE: | |
| Status comment: | |||
| Attachments: | messages file when using cpufreq | ||
|
Description
episteme promeneur
2011-10-03 17:11:37 CEST
there is the same pb wih mandriva 2010.2 and kernel server 2.6.33.7-2 Thomas, is this something you'd know anything about? CC:
(none) =>
tmb same pb with mandriva 2010.2 and mib kernel desktop nrj-pae. it seems there is a compliancy problem with pae technology ok i made some experiments instead of using "ondemand" profile i use "conservative" profile then no pb my cpu is an AMD Athlon 64 X2 dual core 5000+ contents of scaling_available_governors : ondemand conservative powersave userspace performance contents of scaling_available_frequencies 2600000 2400000 2200000 2000000 1800000 1000000 running modules by default (lsmod) powernow_k8 cpufreq_conservative cpufreq_ondemand cpufreq_powersave i don't use cpu freq-utils tro set the profile i use a script : #!/bin/bash for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do echo conservative > $file; done i made an error. with "conservative" profile i have the same problems. hypothesis : a vboxdrv problem ? (In reply to comment #7) > hypothesis : a vboxdrv problem ? I'am sure, there was an update of Virtualbox, I guess this bug is still valid ? Source RPM:
(none) =>
cpufreq yes this bug is still valid does the same problem exist in cauldron? are there Mandriva and MIB bug reports about this issue? did anyone have time to search upstream or in other distro's? CC:
(none) =>
marja11 (In reply to comment #10) > does the same problem exist in cauldron? > i can't install mageia2 alpha3 DVD iso with my usb key and we can't install it directly from the iso in disk > are there Mandriva and MIB bug reports about this issue? > yes https://qa.mandriva.com/show_bug.cgi?id=63819 I don't manage to find the current upstream home, only http://www.kernel.org/pub/linux/utils/kernel/cpufreq, but nothing happened there since 2005 I spent too much time trying to find the correct link to upstream. a google search for cpufreq* freeze* 2012 gives way too many hits, maybe there is an error message that can be added to the search string. @ episteme can you please attach the part of /var/log/messages from starting your system until the freeze or reboot during startup? and maybe the same for when the freeze/reboot happens while starting or running KDE, in a separate attachment. cc'ing the committers of cpufreq @ eandry, kamil isn't there a debug package for cpufreq? I look over it (Please assign to yourself and set the status to 'assigned' if you are working on it) CC:
(none) =>
eandry, n54 Created attachment 1480 [details]
messages file when using cpufreq
i activate cpufreq at 2012 feb 1, 11 h 52
then
10 or 20 s after the system reboots
Marja Van Waes
2012-02-01 12:14:04 CET
Attachment 1480 mime type:
text/x-log =>
text/plain
Marja Van Waes
2012-02-02 09:29:10 CET
CC:
(none) =>
doktor5000
Marja Van Waes
2012-02-02 13:59:20 CET
CC:
marja11 =>
(none) just testing something, sorry for the noise CC:
(none) =>
marja11
Marja Van Waes
2012-02-17 08:28:00 CET
CC:
doktor5000 =>
(none) mageia 2 beta 2 x86_64 last kernel 3.3 (22 march 2012) i install cpufreq-utils packet then as root i enter "cpufreq -r -g ondemand" then immediately kde desktop freezes then i must restart pc Mageia 2 beta 3 x86_64 there is an improvement using "performance" profile : no freeze but using "ondemand" profile : freeze i type cpufreq -r -g ondemand then i see the frequence of the 2 cores switches to 1000 MHz then i try to use an app then desktop freeze then i must restart the pc my cpu is an AMD 64 X2 dual core 5000+ another pb i want to record "ondemand" profile then i add the statement governor=ondemand in /etc/sysconfig/cpufreq file then i reboot then with cpufreq-info i see "performance" profile is in use ! we can't record a powermanagement profile hypothesis : a sytemd problem something is not started before profile setting ? bad timing between powernow_k8 driver and cpufreq daemon ? /etc/sysconfig/cpufreq file is not the conf file of cpufreq daemon ? mageia 2 rc i can't use mageia mageia freezes after a short time with - kde - icewm - failsafe mode addendum : i have not time to change to "performance" profile" because i have not time to install cpufreq-utils according to use cpufreq-set i made again some intensive google searches this time i found some new knowledge. i assume the pb turns around the hardware (asus m2n), bios, kernel, acpi, cpufreq the 2 things i can do : - update bios - turn off acpi update bios is to dangerous, i need my pc i choose to test this solution : - turn off acpi - do not use cpufreq thus in kernel boot statement i add "acpi=off" and i don't load powernow_k8 then this is the bios (cool and quiet amd software) which manages cpu frequence scaling this works well but i wait one day more to say it is a good workaround is there a technician who can says to me what functions are then disabled by turning off acpi with a desktop ? >update bios is to dangerous, i need my pc
not really if you follow carefully the process
and iirc you have do to nothing with cpufreq since it's include in the kernel
<< you have do to nothing with cpufreq since it's include in the kernel yes i know cpufreq is include in the kernel. what do you mean ? i note this : the limit are with : - cpufreq kernel module : 1000 MHz , 2600 MHz - cool and quiet : 48 MHz , 3018 MHz the accuracy of the frequencies are with : - cpufreq kernel module : wx00 MHz for example 1000, 1200, 2000,2400, 2600 - cool and quiet : wxyz MHZ for example 245 MHz or 868 MHZ or 2041 MHz is there a way to have this accuracy with cpufreq kernel module ? is there a way to have same limits as 48 MHz and 3018 MHz ? i updated the bios of the asus m2n board to the last 0902 bios this solves the freeze pb with ... mandriva 2010.2 i586+kernel 3.1.6 pae but not with mageia 2 rc x86_64+ kernel 3.3.6 if i use "ondemand" profile with linux failsafe then it freezes then it is not a x.org, kde, nvidia 295.x, nvidia ethernet, ralink wifi pb where is the difference ? after testing mandriva 2010.2 i586 +kernel 3.1.6 +pae : delay to freeze 10 mn mageia 2 rc x86_64 + kernel 3.3.6 : delay to freeze 1 mn then pb is still there i made google searches, result : between about after around kernel 2.6.27 and till around kernel 3.x.y cpufreq support disappears. only performance profile was supplied. now with kernel 3.3.6 i check that all profiles are supplied but it seems that for a quantity of cpu there is always pb, cpufreq seems buggy mageia 2 x86_64 pb still there by default the profile is "ondemand" eacch time with a delay of about 20 s system freezes i swithed to performance profile then no pb
Marja Van Waes
2012-07-30 20:21:19 CEST
Hardware:
i586 =>
All ok now i understand the pb. cpufreq-info says profile list is users,performance. mageia default install set profile to "ondemand" which is not in the list ! but the real pb is : the profile list must be adaptive, ondemand, users, performance because : - cool and quiet feature is enable in the bios for my amd x2 64 cpu - with old kernel as mandriva 2.6.33.7 desktop the profile list is powersave, ondemand, conservative, users, performance i assume something is not well set in the kernel source settings (before compilation) i assume in the kernel source settings adaptive and ondemand are not enable what do you think of this : [root@localhost ~]# zgrep CPU_FREQ /proc/config.gz CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=m CONFIG_CPU_FREQ_STAT=m CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=m CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m [root@localhost ~]# replace : - adaptative by powersave, conservative in my comment #28 - enable by activated is there a way (command line) to activate powersave and conservative ? freeze is a hardware pb, a ram pb. i took away 1 GB memory card then no more pb Status:
NEW =>
RESOLVED |