Description of problem: When I start Mageia, the power managment is not correct. - The fan speed is not change to adapt to the processor temperature. - There is no detection when I unplug my power connection(it's a laptop) If I want to get it back, I have to put my laptop in sleep mode(disk or memory) and to awake it. After that, everything works. Version-Release number of selected component (if applicable): Mageia 1, mageaia cauldron, mandriva 2010, 2010.1 and 2010.2 (if that can help you) How reproducible: I start my computer, a toshiba laptop satelite pro L300 24L I try to unplug my computer power cable. Majors issues : - The fan speed is not change, so if a processus goes 100% of the CPU, the CPU temperature just goes up and up to more than 100° - If the power cable is unplug, the computer use the batery in performance mode, never switch to another one(because it thinks that it's still plug) and the computer stop directly whan the battery is empty. I put it Major because I can use the sleep mode trick, but I think it's more critical by some aspect because you can damage the computer if you don't know the trick.
You can try with cpufreqd, it has /etc/cpufreqd.conf where you can tweak the conf to your needs and see if that helps?
CC: (none) => sander.lepik
Thanks, The problem is that after going to sleeping mode, everything is fine, CPU freq, fan speed, plug detection, ... I this something goes wrong when I lanch mageia, but I don't know what...
I checked all services. The same are started when I boot , or when I goes out of sleeping mode. I have no idea on what to look when I check the syslog to give you some leads.
Sander (or anybody else watching the bugs mailing list), would you know what debugging information to ask ?
CC: (none) => stormi
http://linux.slashdot.org/story/11/10/07/237222/Kernel-Bug-Means-Linux-Power-Usage-Remains-High?utm_source=rss1.0mainlinkanon&utm_medium=feed Try the kernel option pcie_aspm=force
CC: (none) => davidwhodgins
Thanks, How do you do that ? Is it possible in MCC
While booting, at grub stage, press Esc, then OK, then select the "linux" entry, press e for editing, then e again to edit the first line, and add pcie_aspm=force at the end of the line. Then validate (enter or esc, I don't remember) and press b to boot. This is temporary. Otherwise, you can add it from MCC, in drakboot (drakboot --boot). You can change the options given to the kernel there.
Hello, I tried that last week, but it doesn't detect the unplug of the power cable. It changed nothing really. Maybe it improved my battery power, but I had no time to really test that.
New information available at 1. http://www.phoronix.com/scan.php?page=article&item=linux_aspm_solution&num=1 2. https://lkml.org/lkml/2011/11/10/467 3. https://lkml.org/lkml/2011/11/11/178 What I've noticed after applying patch from 2. to 3.1.1. is that my Lenovo is more cool and fan is not running all the time anymore. The temporary solution for fan before patch was to use tp_smapi but it is not required anymore.
CC: (none) => lihamakaroonilaatikko
@ Pierre Can you please give an update: Do you still have any issues? If so, which kernel version do you have and which version of pm utils? Can you give more information about your laptop, too, which brand, type, etc.? And did the links Jari gave help? I think there was more than one issue addressed in this bug report, at least a kernel issue and a pm-utils one. cc'ing our kernel specialist
Keywords: (none) => NEEDINFOCC: (none) => marja11, tmbSource RPM: (none) => kernel, pm-utils
Hello My computer is a : toshiba laptop satelite pro L300 24L Linux 3.2.0-desktop586-1.mga2 cauldron from january the 6th) Today here is the situation : First boot, fan with constant speed no power managment plug detection. After sleeping mode : Fan speed adapted re'garding the temperature still no power managment (works on the yesterday kernel) The link about aspm didn't help finally. I'm not sure they talk about the same issue. I use the pm utils from KDE. I'm available to test some stufff on this computer, I have plenty of time these days.
(In reply to comment #11) > Linux 3.2.0-desktop586-1.mga2 cauldron from january the 6th) so changing version to cauldron. Thanks for all the information. > fan with constant speed So the laptop still gets overheated easily, because the fan won't work harder when more CPU power is used. > I use the pm utils from KDE. So plasma-krunner-powerdevil It seems my assumption that the power managers of the various DE's depend on pm-utils, was wrong. I can't find anything like that in the requires of plasma-krunner-powerdevil. Anyway, it surprises me that you say power management worked on yesterday's kernel, so it seems not only the overheating, but also this issue is a kernel issue after all. > I'm available to test some stuff on this computer, I have plenty of time these > days. Thanks Pierre :) assigning to kernel maintainer @ Thomas Please set status to ASSIGNED if you think this bug was assigned correctly. If for work flow reasons you can't do that, then please put OK on the whiteboard instead.
Keywords: NEEDINFO => (none)Version: 1 => CauldronAssignee: bugsquad => tmbSummary: Power managment problems => Laptop overheating because fan won't increase speed when more CPU is usedSource RPM: kernel, pm-utils => kernel-3.2.0-1.mga2
Finally, I tried 3 previous kernel, and the plug detection doesn't works on them. Maybe it was another update the same day... the power plasma applet maybe ? So, now, CPU fan works fine after sleep mode, but the computer doesn't detect anymore when I unplug the power cable.(so, no decrease of the monitor brightness, no change in performance setup...) Pierre
I don't understand, I got the unplug function back. I let my laptop 10 minutes, came back, unplug it and it works... That's very strange
@ Pierre I didn't put that issue in the summary of this report, because I think focusing on the main issue is more important, especially because it might affect users who don't know your work around to keep your laptop from being cooked I'll cc the maintainer of plasma-krunner-powerdevil in case the second issue (not detecting that the power cable is unplugged) is a bug in that package. @ John WDYT?
CC: (none) => balcaen.john
Upstream bug, we already have on on mageia which was reported upstream (on kde initially cf https://bugs.kde.org/show_bug.cgi?id=286688 ).
(In reply to comment #16) > Upstream bug, we already have on on mageia which was reported upstream (on kde > initially cf https://bugs.kde.org/show_bug.cgi?id=286688 ). Oops, so bug 1720 ... I thought that was only about the opposite, not detecting that the power cable gets plugged in, but it was about both unplugging and plugging in Thx, John :)
@ Pierre A lot changed in cauldron. Does your laptop still get overheated with Mga2a3 or current updated cauldron?
Keywords: (none) => NEEDINFO
Hello, Thanks for asking. I wanted to give you a review, because I think the situation is worse than before now. Before : The system checked the temperature at the startup, and depending of this one, a fan speed was set up, and this fan speed staid the same until I put my laptop in sleep mode. If it was the first satart, the temperature was low, so the fan spoeed was low, but if the computer was overheating, the fan speed staid high. Now, it's worse because the fan speed is almost totaly shutdown sometimes when I start my computer. Last time I got time to check, the CPU was at 80°, without any fan running. I will test asap to reboot my computer, check the fanspeed and the temperature with high CPU usage. I will give you the answer asap. Thanks Pierre PS : The good news is that by default, KDE use lots less CPU than before, so my computer doesn't overheat for nothing like before.
Thx for the feedback, Pierre. Yes, please give the results of your new test. Please also attach the output of lspcidrake -v
The new test doesn't change anything... the fan speed doesn't change at all. In attachment my lspcidrake output
Created attachment 2068 [details] Pierre bonneau LSPCIDRAKE
Keywords: NEEDINFO => (none)
Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja
Still valid !!
Please look at the bottom of this mail to see whether you're the assignee of this bug, if you don't already know whether you are. If you're the assignee: We'd like to know for sure whether this bug was assigned correctly. Please change status to ASSIGNED if it is, or put OK on the whiteboard instead. If you don't have a clue and don't see a way to find out, then please put NEEDHELP on the whiteboard. Please assign back to Bug Squad or to the correct person to solve this bug if we were wrong to assign it to you, and explain why. Thanks :) **************************** @ the reporter and persons in the cc of this bug: If you have any new information that wasn't given before (like this bug being valid for another version of Mageia, too, or it being solved) please tell us. @ the reporter of this bug If you didn't reply yet to a request for more information, please do so within two weeks from now. Thanks all :-D
For me this bug is still valid. i tried 2 or 3 days ago and I got the same issue with the plug detection, and the fan doesn't work as it should before puting the system in sleep mode.
I'm seeing this too but on Mga 2 since maybe a couple of weeks. Before that, my laptop's (Dell vostro 3750) temperature averaged between 70 - 80 °C, now it goes up to 100°C within minutes of turning it on and shuts down. Now I have to use a cooling fan and temperature averages on 90 - 97°C (and even some times shuts down). The Sleep/resume workaround didn't work for me. This happens with only having chrome opened with several tabs and windows, but the same ones that I normally have opened before this issue arised. I don't know which update triggered this but I'm 100% sure this wasn't happening more than two weeks ago.
CC: (none) => juan.baptiste
Tested with kernel versions desktop-3.3.4-1.mga2, 3.3.6-desktop-2.mga2, and desktop-3.3.8-2.mga2 and the high temperature continues, so it seems is another update what is causing it.
The problem seems to be mostly when using flash player, I can see on the temperature plasma applet how the temperature starts to rise from 85 (which is still very high) up to 95 or more when playing a youtube video, and then back down when it finishes.
Hi, I don't think flash has anything to do with that, except that it's one of the only application that use 100% of the CPU on linux. Take another one who use it heavily(like playing starcraft 2 on wine, ...) and you will see the same result. A computer is normally made to works with the CPU running 100%, and the fan should turn faster to keep the temperature low. It seems that you have this issue where your fan doesn't rush when you need it. Somes questions : - if you unplug the computer power adaptater, does KDE see the difference ?(do you switch on batetery mode ?) - Do you heard your fan turning faster or slower sometimes ? Are your sure that there is no others changes (like using the laptop on a different desk / pillow that will block the air, something that prevent the air to go out, or maybe some powder inside the computer...) On my side, the bug is still valid, I have no speed change for the CPU before putting the computer in sleep mode. After that, it works again and the temperature stop rising 102°C.
(In reply to comment #30) > Hi, > > I don't think flash has anything to do with that, except that it's one of the > only application that use 100% of the CPU on linux. > Take another one who use it heavily(like playing starcraft 2 on wine, ...) and > you will see the same result. > Yes, I know, what I meant was that was I noticed that on my case started to overheat my laptop was the flash player since a couple weeks now. The only things I keep open and which I have had never this heating problem are chrome with several windows and tabs, thunderbird, skype, yakuake and kopete. Everything is fine until I go to youtube and start to see videos. That doesn't mean that flash is the problem, but that on my case is what is triggering it since a couple weeks. > > Somes questions : > - if you unplug the computer power adaptater, does KDE see the difference ?(do > you switch on batetery mode ?) Yes, the screen gets a little darker and a sound is played indicating that the power is unplugged. When I plug the power back the screen gets brighter again and the battery icon shows it is charging. > - Do you heard your fan turning faster or slower sometimes ? Not really, I hear it all the time at the same speed, after it goes above like 70°C. > > Are your sure that there is no others changes (like using the laptop on a > different desk / pillow that will block the air, something that prevent the air > to go out, or maybe some powder inside the computer...) Nope, before the last couple of weeks I didn't even need a cooling dock, I normally use it on a glass table and temperature didn't go above 80°C. Now even using a cooling dock it stays at 80°C and if I start seeing youtube videos temperature starts to rise very quickly up to 100°C in a few minutes and the laptop shutsdown. > > On my side, the bug is still valid, I have no speed change for the CPU before > putting the computer in sleep mode. After that, it works again and the > temperature stop rising 102°C. That's not my case, for me it behaves exaclty the same after sleep mode.
Today I noticed that the overheating only occurs when using the Intel video card, it doesn't happen with the ATI Radeon HD one. With the ATI card, the average temperature maintains in around 65 - 70°C, and when looking at videos at youtube it increases to 80 - 85°C, never more than that. When using the Intel card average temprature is of 80 - 85°C and when looking that videos in youtube it rapidly increases above of 90°C and in a couple of minutes it shuts down. A cooling fan only helps in the time it takes to shut down. My hardware: [root@dci-laptop mageia]# lspcidrake -v|grep -i vga Card:ATI Radeon HD 6400 and later (radeon/fglrx): ATI Technologies Inc|Whistler [AMD Radeon HD 6600M Series] [DISPLAY_VGA] (vendor:1002 device:6741 subv:1028 subd:04cd) Card:Intel 810 and later: Intel Corporation|2nd Generation Core Processor Family Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086 device:0116 subv:1028 subd:04cd) (rev: 09)
Hello, I have also an intel video card. I got some news about this issue. With the last kernel update, the trick to put the laptop in sleep mode to reactivate the function doesn't work anymore. The only thing I can do to prevent my laptop to go with high level temperature is to not use too much processor for more than few minutes. If this remain, I think we should increase the criticity of this bug, as it put my laptop CPU around 102°C, without any way to resolv the bug. I asked for help at the same time on the forum in case some other people find a way to fix it. Best regards, Pierre Kernel : 3.4.24-desktop-3.mga2
Hello, I got maybe news. Since I installed(migration, then reinstall) mageia 3, the problem is worse. The trick of suspend doesn't work anymore. I may have found something interesting : When I execute that command, I get : # sensors acpitz-virtual-0 Adapter: Virtual device temp1: +101.0°C (crit = +110.0°C) coretemp-isa-0000 Adapter: ISA adapter Core 0: +97.0°C (high = +100.0°C, crit = +100.0°C) Core 1: +97.0°C (high = +100.0°C, crit = +100.0°C) No fan, and strange temperatures indicated. Could it be something relevant ? pwconfig and fancontrol doesn't works. sensors-detect doesn't improve anything. My laptop is now overheating like hell... even stoping due to too high temperature. Pierre
Can you try kernel-desktop-3.8.13-1.1.mga3 from: http://tmb.mine.nu/Mageia/3/bugs/10079/
I don't know if the following would be helpful for this information, but I encountered a major problem with fan control on our opteron based cluster we purchased last year. Essentially, these machines are meant to run at 100% for months at a time so the thermal demands are quite high. In the bios of these machines is included a setting to change the governor of the cpu fan speed. The default setting is set to "generic" which documentation explains as being the mode where the operating system is responsible for dynamically switching the fan speed depending on the system load. However, we eventually discovered that in this mode, the fans maintained a 1200rpm rate regardless of system load when the fans we bought can scale up to 6000rpms under maximum load. This caused major overheating problems when the system was put under load. I ended fixing the issue by setting the bios to "Full speed" mode which means the fans are running at 6000 rpm even at idle. Not ideal, but it keeps the system stable. Is it possible you're encountering some similar problem where the bios is expecting the kernel to control the the fans, but somehow isn't? On our system we were lucky to have beefy server motherboards with loads of settings to circumvent such problems. Just a thought.
CC: (none) => philippe.l
Hello. I tried this morning the new kernel. I thought there was an improvement, the fan is a little bit faster I think, but the temperature rised to 100° the same... and the fan disn't adapt the speed. The fan was not at the maximum speed for sure. sensor doesn't detect anything else also(but I don't know if it detected something in mageia 2...) @Philippe Leblanc, I have a mode where the fan speed is fixed by the bios, but the consequence is that my 2 core are running at 100Mhz in place of 2160Mhz(adaptable). The computer doesn't warm in this mode, but it's very slow. Pierre
I have been having overheating problems since at least mga3 (maybe mga2), and I just discovered this bug report. My symptoms are very much like comments 19 and 32 : 1) The system normally runs at 48-50°C (according to gkrellm), with the fan running at medium speed. It always starts at this speed when start computer. (I think it has 2 speeds.) 2) The fan often shuts down for no apparent reason, usually at least once a day, more often with more intensive use. But rarely if ever 100% CPU usage on both CPU's according to gkrellm 3) The temperature then rises up to almost 100° and then turns off, if I don't use an external auxiliary fan. I've started using an external fan (behind the portable) when the fan stops, and the temperature rises to 87° ±2° typically. 4) The fan then starts at high speed, and the temperature falls slowly to the normal range in 10-15 minutes. (Often staying a little over 50° for a while after.) When the temperature approaches 50°, the fan changes to normal speed. 5) I've been using gnome fallback on mga3 and before, mate on mga4. 6) My hardware is Toshiba L300 dual amd processor (like the bug reporter) but with an integrated radian mobile graphic processor. 7) I don't know the actual fan speed, but it seems (according to the sound) to have only normal, twice normal, and off. Hopefully this helps track down the culprit.
CC: (none) => andre999mga
Hello André. I think we got the same kind of computer, so maybe I can help you as I'm managing my computer without external fan. First thing, the power managment is crap at the first boot, you can try to get your main power plug out, and you will see that mageia doesn't detect anything for example. Then, your fan speed will be constant, set up one time for ever at to fit the temperature detected during first load of the computer.(so if the temperature continue to rise... the CPU fan doesn't adapt. You have 2 solutions : - either you go in the bios and change the CPU fan setting from auto to maximum speed... but then, you will get headache and the power detectionj still doesn't work. - Or better, you simply put your laptop immediately in sleeping mode for few second, and then turn it on again. You will see, it's like magic, the power cable is now detected, and the CPU will adapt it's speed. Hope it can help... Pierre
Hi Pierre, thanks for the suggestions. We do have the same major model, but somewhat different symptoms. Maybe because I'm running Mate (a fork of Gnome2), and Gnome before. I also have another bug : If I put it into sleep mode, it won't wake up, so I can't try your second suggestion. Where my symptoms differ : 1) It always shows if the power is connected or on battery 2) There is no overheating problem until the fan shuts down for a few minutes. Then the heat rises to 87° ±2° (which happens much faster if the processors are busy, much slower if almost idle.) If I don't use the external fan, it can go up to 100°, and will crash. 3) Then the fan kicks in at high speed. When reduced to about 50°, the fan changes to normal speed. And stays there until the next overheating cycle. 4) After another few hours, this cycle can repeat. Sometimes several times a day. 5) This only happens when I am using the computer, not when I'm away from the keyboard.
Hello, I wanted to give you some feedback, got a lot of time this week end to test and assess the situation. Problem is still happening in last version of Mageia up to date. I can see 3 main issues : - Fan speed not adapted to need - AC Cable detection failing. - Speed of the computer I dig a bit online and I could find multiple suggestion, mainly related to acpi configuration. Here is a summary of all my tests : No change seen : acpi.power_nocheck=1 acpi.power_nocheck=0 acpi_nocheck=1 acpi_osi="!Windows 2006" Detection of AC cable before sleeping mode acpi_osi= acpi_osi=Linux Adaptation of fan speed : acpi_osi=Windows (just a bit, not sure at all... I heard it running faster sometime, but temperature still rise at 100° sometime, never got to the max fan speed) Performance improvement : (Netbeans starting with same configuration in 60 seconds in place of 5 minutes, Youtube in HD working, etc...) acpi_osi= acpi_osi=Windows acpi_osi=Linux I'm currently testing more acpi_osi=Linux option I will try to test the other parameter I found online : pcie_aspm=force i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 An important information, I upgraded the BIOS of the laptop from 2.10 to 2.20.
Hardware: i586 => x86_64Version: Cauldron => 4Source RPM: kernel-3.2.0-1.mga2 => (none)
Something happen... I was overloading my CPU, and suddenly, the CPU FAN started to speed up... for 3 seconds before coming back to the quiet mode. It was with all this options enable : acpi_osi=Linux pcie_aspm=force i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 It's really really strange...
Leaving the version to cauldron, unless you can confirm it was fixed in current cauldron. In order to show that it's also valid in Mageia 4, we add MGA4TOO to the whiteboard, which I just did.
Version: 4 => CauldronWhiteboard: (none) => MGA4TOO
I had a similar problem with a Toshiba laptop (until it died), and I eventually came to the conclusion that it was shutting down the fan (with software) when it should have been increasing the fan speed, and heating up until the hardware control kicked in and started the fan at high speed to (slowly) lower the temperature. I had to use an external fan to stop frequent crashing. I found something on the internet that said that some computers had an inverse hardware configuration for the fan speed. It also would not wake from suspend or sleep mode. I think the frequent overheating was why the computer died. (It no longer attempted to boot.)
Hello, To be checked more, but I think I found out what was the real problem on this laptop regarding temperature. With the new acpi_osi=Linux, I get the fan and power detection correctly handle it seams. With the ondemand setup, I get the CPU to cool down a lot also. The thing about temperature was simply to stop trusting Toshiba, to remove the CPU fan to clean it(the plastic part can get removed) and to change the thermal paste from CPU and video card by a good one. The temperature went from 100° at max usage to... 66°... Couldn't manage to get more since I did that change. Average was around 90° before, it's now 47°. I will confirm it in the following weeks, but I think the acpi setup is actually the only thing you would have to change on your side. Pierre
(In reply to Pierre Bonneau from comment #45) > Hello, > > To be checked more, but I think I found out what was the real problem on > this laptop regarding temperature. > > With the new acpi_osi=Linux, I get the fan and power detection correctly > handle it seams. With the ondemand setup, I get the CPU to cool down a lot > also. You're likely right. I tried various settings, but nothing I tried worked. > > The thing about temperature was simply to stop trusting Toshiba, to remove > the CPU fan to clean it(the plastic part can get removed) and to change the > thermal paste from CPU and video card by a good one. > The temperature went from 100° at max usage to... 66°... Couldn't manage to > get more since I did that change. Average was around 90° before, it's now > 47°. I cleaned the fan many times, and ended up covering the air intake with a filter I made, which helped. Mine would always crash before about 95°. In light usage it stayed around 45..49°, moderate usage often around 55°. (All according to gkrellm.) If it started to get hotter, the fan turned off, instead of speeding up. Until it reached over 90°, when the fan restarted at high speed. (Only 2 speeds on my model.) If I used an external fan, it heated much more slowly, to about the same temperature, but cooled down much faster, and almost always avoided crashing. Without the external fan, it usually crashed. Unfortunately it no longer boots. The lights and sound indicate that it doesn't even try to boot. If I somehow get it to boot, I'll try your method and see if it works.
Is this bug still valid?
Assignee: tmb => kernelSource RPM: (none) => kernelWhiteboard: MGA4TOO => NEEDINFO
Keywords: (none) => NEEDINFOWhiteboard: NEEDINFO => (none)
This is very old now (Mageia 4), and no input for long though requested.
Resolution: (none) => OLDCC: (none) => friStatus: NEW => RESOLVED