kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #48441
[Bug 955287] Re: Ubuntu should handle "hot" CPUs by taking preemptive action and warning users
thermald is the defacto solution to this in Trusty+, I've added a
Wikipage to describe how to install and configure this daemon:
https://wiki.ubuntu.com/Kernel/PowerManagement/ThermalIssues
I think this addresses the bug, so I'm going to close it.
** Changed in: linux (Ubuntu)
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/955287
Title:
Ubuntu should handle "hot" CPUs by taking preemptive action and
warning users
Status in “linux” package in Ubuntu:
Fix Released
Bug description:
If the kernel detects your CPU(s) is/are too hot currently (see bug
751689), the kernel calls /sbin/poweroff. This will provide a
"graceful" system shutdown. If /sbin/poweroff fails, the kernel just
forcibly shuts the system down. However, both strategies are last
resorts and are called when the system temperature has reached a
critical level.
However, the kernel seems to emit an ACPI event when it detects the
CPU(s) are merely "hot". I suggest we consider adding an acpi hook to
attempt to avoid a "critical" scenario.
Currently, the user experience when "critical" gets hit is not good -
the system just shuts down with no warning whatsoever. This is
alarming in the extreme to users.
Ideas:
- proactively attempt to kill off power hogging processes (use powertop?)
- ramp fans to maximum and present the user with a warning window explaining what is happening.
- present the user with a window of high-power processes and ask *them* to select the processes they'd like to kill off in an effort
to avoid a system shutdown.
Problems:
- it is unclear (to me atleast) how close (in terms of degrees
centigrade) "hot" and "critical" are (is it different for all CPUs ?)
As such, it is unclear how long (time) it might take for a system that
is hot to go critical and just shutdown.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: acpi-support 0.140
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic-pae 3.2.9
Uname: Linux 3.2.0-18-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
Date: Wed Mar 14 17:22:09 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=fr_CA.UTF8
SHELL=/bin/bash
SourcePackage: acpi-support
UpgradeStatus: Upgraded to precise on 2012-01-12 (62 days ago)
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: james 3788 F.... pulseaudio
/dev/snd/controlC0: james 3788 F.... pulseaudio
james 10267 F.... alsamixer
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf2420000 irq 45'
Mixer name : 'Conexant CX20585'
Components : 'HDA:14f15069,17aa214c,00100302 HDA:14f12c06,17aa2122,00100000'
Controls : 9
Simple ctrls : 6
Card1.Amixer.info:
Card hw:1 'NVidia'/'HDA NVidia at 0xcdefc000 irq 16'
Mixer name : 'Nvidia GPU 0b HDMI/DP'
Components : 'HDA:10de000b,10de0101,00100100'
Controls : 24
Simple ctrls : 4
Card29.Amixer.info:
Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 6IHT37WW-1.12'
Mixer name : 'ThinkPad EC 6IHT37WW-1.12'
Components : ''
Controls : 1
Simple ctrls : 1
Card29.Amixer.values:
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=67e3cd44-242b-4bbf-918b-28fff81e0312
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MachineType: LENOVO 2516CTO
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=fr_CA.UTF8
SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-18-generic-pae root=UUID=7ad192e9-7b26-49d1-8e1c-fefc7dc495cb ro acpi_sleep=nonvs console=ttyUSB0,115200n8r console=tty quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic-pae 3.2.9
RelatedPackageVersions:
linux-restricted-modules-3.2.0-18-generic-pae N/A
linux-backports-modules-3.2.0-18-generic-pae N/A
linux-firmware 1.71
StagingDrivers: mei
Tags: precise staging
Uname: Linux 3.2.0-18-generic-pae i686
UpgradeStatus: Upgraded to precise on 2012-01-12 (62 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare sbuild
dmi.bios.date: 08/27/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6IET72WW (1.32 )
dmi.board.name: 2516CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6IET72WW(1.32):bd08/27/2010:svnLENOVO:pn2516CTO:pvrThinkPadT410:rvnLENOVO:rn2516CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2516CTO
dmi.product.version: ThinkPad T410
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/955287/+subscriptions