Patched kernel with rc6 enabled shutdowns

Bug #937378 reported by Dean McLennan
54
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Leann Ogasawara
Precise
Fix Released
High
Leann Ogasawara

Bug Description

Using the latest patched kernel with rc6 enabled is continue to have hard shutdowns

see:
https://bugs.freedesktop.org/show_bug.cgi?id=44867

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-17-generic 3.2.0-17.26
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.92-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: dean 1711 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xdfe00000 irq 53'
   Mixer name : 'Intel CougarPoint HDMI'
   Components : 'HDA:10ec0269,10431427,00100100 HDA:80862805,80860101,00100000'
   Controls : 19
   Simple ctrls : 9
CurrentDmesg: [ 17.272425] wlan0: no IPv6 routers present
Date: Mon Feb 20 18:40:34 2012
HibernationDevice: RESUME=UUID=afa7d2a8-8094-4cb6-af3c-7f767cbb962c
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: ASUSTeK Computer Inc. UX31E
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=xterm
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-17-generic root=UUID=5dfcdc04-e5e5-4771-ba4a-9e41b29874c3 ro i915_enable_rc6=1 elevator=noop quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-17-generic N/A
 linux-backports-modules-3.2.0-17-generic N/A
 linux-firmware 1.70
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: Upgraded to precise on 2012-02-04 (16 days ago)
dmi.bios.date: 01/20/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX31E.211
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX31E
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX31E.211:bd01/20/2012:svnASUSTeKComputerInc.:pnUX31E:pvr1.0:rvnASUSTeKComputerInc.:rnUX31E:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: UX31E
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.

Revision history for this message
Dean McLennan (dgmclennan) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Dean McLennan (dgmclennan) wrote :
Changed in linux (Ubuntu):
importance: Undecided → High
tags: added: kernel-da-key kernel-key
Revision history for this message
Dean McLennan (dgmclennan) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Dean,

Thanks for testing and providing your feedback. Please continue to track the upstream bug report (ie fdo 44867) regarding this issue. I'm also assigning myself to this bug in Launchpad for tracking purposes. This issue is a direct result of us having enabled RC6 by default in the 3.2.0-17.26 kernel.

Changed in linux (Ubuntu Precise):
assignee: nobody → Leann Ogasawara (leannogasawara)
milestone: none → ubuntu-12.04
status: Confirmed → Triaged
tags: added: rls-p-tracking
Revision history for this message
Andrew MacPherson (andrew-macp) wrote :

Same issue here, I noticed that power consumption decreased after updating to 3.2.0-17-generic and wondered if RC6 had been enabled by default. A hard shutdown this morning made me do some searching to find out that it had in fact been enabled. I'm on an Asus UX31 and have seen this behaviour since I got it (frequent hard shutdowns with RC6 enabled). Let me know if I can provide any additional debugging info.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Andrew,

First, could you file a new separate bug using the command "ubuntu-bug linux". Then could you mark that bug a duplicate of this one. I just want to capture your specific hardware information and have it available for future reference. Additionally, if you haven't already done so, could you also please also add your machine information to https://wiki.ubuntu.com/Kernel/PowerManagementRC6 (under the Crowd Sourcing Test Results section). Thanks.

Revision history for this message
Dean McLennan (dgmclennan) wrote :

interesting with ubuntu kernel 3.2.0-17 and i915_enable_rc6=1 (powertop tunables & screen at lowest) I can get 5.3 W drain on idle when I switch to a compiled vanila kernel 3.3-rc4 with rc6 patch (http://people.canonical.com/~ogasawara/eugeni/rc6/0001-drm-i915-allow-to-select-rc6-modes-via-kernel-parame.patch) best I can do at idle is 8.5 W drain.

I am testing 3.3-rc4 with Eugeni's first test patch to and setting rc6=1 . So far no shutdowns .

Revision history for this message
Dean McLennan (dgmclennan) wrote :

Just after posting the last comment. Hard shutdown with nothing obvious in the kernel log.

tags: added: rc6
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi All,

Upstream recently discovered an issue with the RC6 patch which was applied, and has proposed the following additional patch:

http://lists.freedesktop.org/archives/intel-gfx/2012-February/015319.html

I apologize for asking for even more testing, but could you give the following kernel a test:

http://kernel.ubuntu.com/~sarvatt/rc6/

I'm really hoping it might solve the shutdown issues you are seeing. Please let us know your results. Thanks in advance.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi All,

We have uploaded a new kernel, 3.2.0-17.27. It contains the fix mentioned in comment #9. We hope that it will resolve the issue you are seeing here. If you could please test and let us know your results, it would be greatly appreciated. Thanks.

https://launchpad.net/ubuntu/+source/linux/3.2.0-17.27

Revision history for this message
Dean McLennan (dgmclennan) wrote :

Currently trying the pre-rolled kernel mentioned above. At this point I have been running several hours without incident. I have found decent rate of discharge and no shutdowns .... yet. I will give it a couple of days more before I get too excited. I hope others can try this patch/kernel and post their results.

Looking at 5.6 W discharge (idle with bluetooth off, wifi on and Screen at it's lowest brightness) Getting about 7.5 W on standard usage.

Revision history for this message
Dean McLennan (dgmclennan) wrote :

Seems like I'm not going to be any use to anyone for testing. My UX31 seems to be bricked. While in the grub boot up process it feels like I had some sort of hardware failure (screen tear and fade out to black). The machine will no longer boot up, no Asus splash screen, no getting into BIOS nothing. I would say that prior to this issue the latest patch seems to be going in the right direction. When and if I get this machine back I will be back to the testing assuming you don't solve it by then.

Cheers

Dean

Revision history for this message
Chris D (cdekter) wrote :

I've been testing this latest kernel on my UX31 for the past 3 days with no sudden shutdowns experienced. Will keep this bug updated if I do experience any, but my machine is the most stable it has ever been. Power consumption is very reasonable at around 8 watts with moderate screen brightness.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks for the feedback Chris. And Dean, I'm sorry to hear about your hardware.

Given Chris' feedback, the current RC6 patches we are carrying sound most promising. For now I'm going to mark this bug Fix Released. We intend to carry these patches for the 12.04 release assuming we do not discover any other show stopping regressions with the RC6 patches. If you do notice this shutdown issue reappears due to RC6, please re-open this bug by setting the status back to New. Thanks.

Changed in linux (Ubuntu Precise):
status: Triaged → Fix Released
Revision history for this message
Chris D (cdekter) wrote :

The last two kernel releases in Precise have somehow re-introduced this issue for me. After many weeks of excellent stability with zero sudden shutdowns, the problem is now back with a vengeance. It happens particularly frequently when unplugging the AC power while the machine is powered on.

Currently I am running kernel 3.2.0-22-35 with boot parameters pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1

Revision history for this message
Stefan Müller (smu-blackbox) wrote :

My machine has similar problem (Asus UX31, using: i915.powersave=1 i915.i915_enable_rc6=1 i915.semaphores=1).

* Under Oneiric, the issue seemed to be gone until the latest kernel update. Since the last update, the machine would die suddenly if the battery has power left for about an hour.

* Yesterday I updated to Precise Pangolin. The kernel is 3.2.0-24-generic. Whenever I plug the cable off, the machine dies. When running on battery, the machine dies in several states.

I will try to use this 3.2.0-27 thing from above, when I find out how to do it.

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.