From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 38554] New: Hibernate broken when KMS enabled on Radeon
Mobility M6 LY
Date: Wed, 22 Jun 2011 02:21:46 -0700 (PDT)
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id 7CF939E73F
for ;
Wed, 22 Jun 2011 02:21:46 -0700 (PDT)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38554
Summary: Hibernate broken when KMS enabled on Radeon Mobility
M6 LY
Product: DRI
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: kjo@a4nancy.net.eu.org
CC: kjo@a4nancy.net.eu.org
On IBM ThinkPad X32 with Radeon Mobility M6 LY, enabling KMS breaks suspend to
disk (more precisely, the devices phase).
This problem is known under debian squeeze with kernels 2.6.32-18, 2.6.32-13,
2.6.32-20, 2.6.32-25, 2.6.35-1~experimental.1, 2.6.36~rc6-1~experimental.1,
2.6.39-2, 2.6.39-2-686-pae (basically all tested kernel since KMS appeared)
More information can be found on the debian bug tracker:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583120
Here are some test:
single user mode with KMS
=========================
1) boot in single user mode (see [1] for result of `ps aux`)
2) remove unused modules (see [2] for reslut of `lsmod`)
3) `echo freezer > /sys/power/pm_test` ; `echo disk > /sys/power/state`
the freeze successes (stuff happens then bash comes back)
4) `echo devices > /sys/power/pm_test` ; `echo disk > /sys/power/state`
the screen remains black, power and battery LEDs on, kernel doesn't
answer to sysrq
single user mode without KMS
============================
1) boot in single user mode with `radeon.modeset=0` on kernel command line
(see [3] for result of `ps aux`)
2) remove unused modules (see [4] for reslut of `lsmod`)
3) `echo freezer > /sys/power/pm_test` ; `echo disk > /sys/power/state`
the freeze successes
4) `echo devices > /sys/power/pm_test` ; `echo disk > /sys/power/state`
seems to succeed (stuff happens then bash comes back)
single user mode with KMS, noapic, nolapic
==========================================
Same test with `noapic nolapic` on kernel command line;
Same result as "single user mode with KMS"
single user mode with KMS, acpi=off
===================================
Same test with `acpi=off` on kernel command line;
The system doesn't boot, so I can't test
Hope it helps, feel free to ask for more tests,
Notes
=====
[1]. Result of ps aux, KMS enabled:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 1.3 0.0 2080 608 ? Ss 11:20 0:00 init [S]
root 2 0.0 0.0 0 0 ? S 11:20 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 11:20 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 11:20 0:00 [kworker/0:0]
root 5 0.0 0.0 0 0 ? S 11:20 0:00 [kworker/u:0]
root 6 0.0 0.0 0 0 ? S 11:20 0:00 [migration/0]
root 7 0.0 0.0 0 0 ? S 11:20 0:00 [watchdog/0]
root 8 0.0 0.0 0 0 ? S< 11:20 0:00 [cpuset]
root 9 0.0 0.0 0 0 ? S< 11:20 0:00 [khelper]
root 10 0.0 0.0 0 0 ? S< 11:20 0:00 [netns]
root 11 0.0 0.0 0 0 ? S 11:20 0:00 [sync_supers]
root 12 0.0 0.0 0 0 ? S 11:20 0:00 [bdi-default]
root 13 0.0 0.0 0 0 ? S< 11:20 0:00 [kintegrityd]
root 14 0.0 0.0 0 0 ? S< 11:20 0:00 [kblockd]
root 15 0.5 0.0 0 0 ? S 11:20 0:00 [kworker/0:1]
root 16 0.0 0.0 0 0 ? S 11:20 0:00 [khungtaskd]
root 17 0.0 0.0 0 0 ? S 11:20 0:00 [kswapd0]
root 18 0.0 0.0 0 0 ? SN 11:20 0:00 [ksmd]
root 19 0.0 0.0 0 0 ? SN 11:20 0:00 [khugepaged]
root 20 0.0 0.0 0 0 ? S 11:20 0:00
[fsnotify_mark]
root 21 0.0 0.0 0 0 ? S< 11:20 0:00 [crypto]
root 24 0.0 0.0 0 0 ? S 11:20 0:00 [kworker/0:2]
root 165 0.0 0.0 0 0 ? S 11:20 0:00 [khubd]
root 166 0.0 0.0 0 0 ? S< 11:20 0:00 [ata_sff]
root 169 0.0 0.0 0 0 ? S 11:20 0:00 [scsi_eh_0]
root 170 0.0 0.0 0 0 ? S 11:20 0:00 [scsi_eh_1]
root 172 0.0 0.0 0 0 ? S 11:20 0:00 [kworker/u:1]
root 173 0.0 0.0 0 0 ? S 11:20 0:00 [kworker/u:2]
root 256 0.0 0.0 0 0 ? S< 11:20 0:00 [kdmflush]
root 257 0.0 0.0 0 0 ? S< 11:20 0:00 [kcryptd_io]
root 258 0.0 0.0 0 0 ? S< 11:20 0:00 [kcryptd]
root 265 0.0 0.0 0 0 ? S< 11:20 0:00 [kdmflush]
root 270 0.0 0.0 0 0 ? S< 11:20 0:00 [kdmflush]
root 275 0.0 0.0 0 0 ? S< 11:20 0:00 [kdmflush]
root 280 0.0 0.0 0 0 ? S< 11:20 0:00 [kdmflush]
root 285 0.0 0.0 0 0 ? S< 11:20 0:00 [kdmflush]
root 290 0.0 0.0 0 0 ? S< 11:20 0:00 [kdmflush]
root 295 0.0 0.0 0 0 ? S< 11:20 0:00 [kdmflush]
root 311 0.0 0.0 0 0 ? S 11:20 0:00 [jbd2/dm-1-8]
root 312 0.0 0.0 0 0 ? S< 11:20 0:00
[ext4-dio-unwrit]
root 368 0.1 0.1 2588 1096 ? S