Thermal control broken after resume

Bug #508369 reported by Wouter de Groot
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Since 2.6.30 thermal control does not function after resume: the fan will not come on until the temperature reaches 80C, and when it does the fan starts spinning at the highest level and never backs down. This is tested using Ubuntu 9.10, 10.04 alpha 2 and upstream kernel versions. Kernels 28 and 29 do work. I suspect the work on thermal in 2.6.30 may have introduced this regression, but that's a layman's guess.

Steps:
1) Using a kernel version at or higher than .30, suspend the machine.
2) Resume.

Expected: thermal control determines how fast the fan should spin.
Observed: fan stays off until laptop gets very hot, then goes on to full blast.

This machine has an Insyde bios. The DMI info is incorrect (due to some experimentation with BIOS flashing to see if that was a factor): the machine is really a Toshiba Satellite L305D-S5881, PSLC8U-00D010.

ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: wouter 8924 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xd6400000 irq 16'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,1179ff6a,00100003 HDA:11c11040,11790001,00100200'
   Controls : 13
   Simple ctrls : 8
Date: Sat Jan 16 13:16:44 2010
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=13e2bc5f-4530-40f7-9922-501b0214a0c3
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100113)
MachineType: TOSHIBA Satellite L300D
Package: linux-image-2.6.32-10-generic 2.6.32-10.14
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-10-generic root=UUID=768a42f3-9dce-4c74-bc4c-fb022c83144d ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
Regression: Yes
RelatedPackageVersions: linux-firmware 1.28
Reproducible: Yes
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Tags: lucid regression-release
TestedUpstream: Yes
Uname: Linux 2.6.32-10-generic x86_64
dmi.bios.date: 09/01/2009
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: 1.80
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: AMD
dmi.chassis.version: None
dmi.modalias: dmi:bvnInsydeCorp.:bvr1.80:bd09/01/2009:svnTOSHIBA:pnSatelliteL300D:pvrPSLC8C-1234567:rvnTOSHIBA:rnPortablePC:rvrBaseBoardVersion:cvnAMD:ct10:cvrNone:
dmi.product.name: Satellite L300D
dmi.product.version: PSLC8C-1234567
dmi.sys.vendor: TOSHIBA

Revision history for this message
Wouter de Groot (donteatcheese) wrote :
Revision history for this message
Toby Smithe (tsmithe) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: toby 2162 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc500000 irq 22'
   Mixer name : 'IDT 92HD73C1X5'
   Components : 'HDA:111d7675,1028029f,00100103'
   Controls : 17
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfc010000 irq 17'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
CheckboxSubmission: cb8560608953d46833a1bf646e78598a
CheckboxSystem: d00f84de8a555815fa1c4660280da308
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=1ba7019e-14ee-4e9f-ad54-8747f421d94f
MachineType: Dell Inc. Studio 1537
NonfreeKernelModules: wl
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=//vmlinuz-2.6.32-11-generic root=UUID=f5cadb34-d259-4135-a92d-f4bad690bcfc ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-11.15-generic
Regression: Yes
RelatedPackageVersions: linux-firmware 1.28
Reproducible: Yes
RfKill:
 1: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
Tags: lucid needs-upstream-testing regression-potential
TestedUpstream: No
Uname: Linux 2.6.32-11-generic x86_64
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 05/27/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 0P132H
dmi.board.vendor: Dell Inc.
dmi.board.version: A09
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A09
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd05/27/2009:svnDellInc.:pnStudio1537:pvrA09:rvnDellInc.:rn0P132H:rvrA09:cvnDellInc.:ct8:cvrA09:
dmi.product.name: Studio 1537
dmi.product.version: A09
dmi.sys.vendor: Dell Inc.

tags: added: apport-collected
Revision history for this message
Toby Smithe (tsmithe) wrote : AlsaDevices.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : AplayDevices.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : BootDmesg.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : IwConfig.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : Lspci.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : Lsusb.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : PciMultimedia.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : ProcModules.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : UdevDb.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : UdevLog.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote : WifiSyslog.txt

apport information

Revision history for this message
Toby Smithe (tsmithe) wrote :

The most pertinent part of the dmesg for me seems to be the sections that follows. It is also present in Wouter's submission.

[ 1039.792506] ------------[ cut here ]------------
[ 1039.792513] WARNING: at /build/buildd/linux-2.6.32/kernel/power/suspend_test.c:53 suspend_test_finish+0x88/0x90()
[ 1039.792515] Hardware name: Studio 1537
[ 1039.792517] Component: resume devices, time: 12350
[ 1039.792518] Modules linked in: binfmt_misc rfcomm ppdev sco bridge stp bnep l2cap snd_hda_codec_atihdmi btusb bluetooth snd_hda_codec_idt joydev snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi lib80211_crypt_tkip snd_seq_midi_event snd_seq snd_timer snd_seq_device dell_wmi uvcvideo sdhci_pci sdhci dell_laptop dcdbas snd psmouse ricoh_mmc serio_raw led_class videodev v4l1_compat v4l2_compat_ioctl32 wl(P) lib80211 lp parport soundcore snd_page_alloc radeonfb fb_ddc fbcon tileblit font bitblit softcursor vga16fb vgastate usbhid radeon ttm drm_kms_helper ohci1394 video output ieee1394 drm i2c_algo_bit tg3 intel_agp
[ 1039.792566] Pid: 2939, comm: pm-suspend Tainted: P 2.6.32-11-generic #15-Ubuntu
[ 1039.792568] Call Trace:
[ 1039.792574] [<ffffffff81064f4b>] warn_slowpath_common+0x7b/0xc0
[ 1039.792577] [<ffffffff81064ff1>] warn_slowpath_fmt+0x41/0x50
[ 1039.792580] [<ffffffff810a1458>] suspend_test_finish+0x88/0x90
[ 1039.792583] [<ffffffff810a1201>] suspend_devices_and_enter+0xb1/0xe0
[ 1039.792586] [<ffffffff810a1308>] enter_state+0xd8/0x110
[ 1039.792588] [<ffffffff810a08aa>] state_store+0x9a/0x100
[ 1039.792593] [<ffffffff812ae4f7>] kobj_attr_store+0x17/0x20
[ 1039.792597] [<ffffffff811aa035>] sysfs_write_file+0xe5/0x170
[ 1039.792601] [<ffffffff811401d8>] vfs_write+0xb8/0x1a0
[ 1039.792606] [<ffffffff815628c4>] ? do_page_fault+0x194/0x370
[ 1039.792609] [<ffffffff81140c91>] sys_write+0x51/0x90
[ 1039.792613] [<ffffffff810131b2>] system_call_fastpath+0x16/0x1b
[ 1039.792616] ---[ end trace 97aeee2497f9bd26 ]---

It seems we both use radeon, and I suspect that is part of the problem. Though it may not be related, I've always found that the GPU runs much hotter under the radeon driver than fglrx, and so this bug is especially worrying, as it makes the computer even more likely to overheat. I tested the 2.6.33-999.201001221151 kernel, and that exacerbated the problem: plymouth didn't work, and KMS seemed dodgy. Further, when resuming, I had to issue a SysRq+K command before the display would be restarted. The thermal problem still existed. I will attach the dmesg from that session shortly.

Lastly, I am using the xorg-edgers PPA. It's very exciting to see the progress that the free drivers are making.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Wouter de Groot (donteatcheese) wrote :

Update: the problem persists in Lucid alpha 3, and Linux 2.6.33.

Revision history for this message
Tim Medcalf (tim-medcalf) wrote :

I seem to have the same issue.

Confirmed on Dell Studio XPS 16 (Radeon)

Lucid Beta-1 2.6.32-18-generic 64bit

Revision history for this message
penalvch (penalvch) wrote :

Wouter de Groot, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in the development release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.

Please let us know your results. Thanks in advance.

tags: added: needs-upstream-testing resume suspend
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.