On my notebook (running under the current Debian Testing version), doing a Suspend-To-RAM, activating the system again, and doing a second Suspend-To-RAM - this causes the system to hangup. That means: Screen is turned off, keyboard and mouse seem to be disabled, but the PC does not turn to suspend mode - the power LED does not start to blink, the pc does not react any more on any input and does not come up again when pressing the power button. Installing some older kernels I could isolate that the problem does not exist in the 2.6.30-*-amd64 and 2.6.31-*-amd64 versions - it first comes up with version 2.6.32-1-amd64 and still exists in 2.6.36-trunk-amd64. A bug report including detailed information about hardware and software is allready filed to the Debian bugtracking system, bug id 600846 , and can be shown at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600846 . Thanks and regards Rolf
Correction: The problem often appears at the second Suspend-To-RAM, but not allways - on a new test some minutes ago it appeared at the 4th Suspend-To-RAM in follow. Find attached now the output of dmesg and of lspci -nnvv .
Created attachment 36172 [details] Output of dmesg
Created attachment 36182 [details] Output of lspci -nnvv
Quite frankly, I don't see any way to debug it further other than bisecting the changes between 2.6.31 and 2.6.32.
Is the problem still present in 2.6.37?
Yes - the problem is still present with kernel 2.6.37-1~experimental.1 .
It looks like a hardware-related issue to me, maybe ACPI. Does booting with acpi_sleep=nonvs help?
Created attachment 43962 [details] Output of dmesg after booting with acpi_sleep=nonvs
No, booting with acpi_sleep=nonvs did not help. But as I am not a linux professional I am not sure if I added the boot option right, so please check the attached dmesg output.
Please see if the following: # echo core > /sys/power/pm_test # echo mem > /sys/power/state also hangs if done twice in a row (it should return to the command prompt every time after about 5-10 seconds).
Doing # echo core > /sys/power/pm_test # echo mem > /sys/power/state # echo core > /sys/power/pm_test # echo mem > /sys/power/state works fine. The "echo core..." returns immediately. The "echo mem..." turns black the display, the monitor goes into power safe mode for a second or two and then everything gets back to normal display and operation mode.
Created attachment 55112 [details] Foto of strange screen appearing sometimes and indicating old code I don't know if this is in any relation to the bug. But just in case - this is a fotograph of a screen that sometimes appears in systems containing the hibernation bug and does not appear in systems not containing the bug. In my opinion this screen points to a piece of buggy old code that existed in former kernels, then was eliminated in kernel 2.6.30 and finally reappeared in kernel 2.6.32 and later.
Info: The bug still exists in kernel version 2.6,38 . Is there a chance that the bug will be fixed somewhen? Cause I am using kernel 2.6.31 now for such a long time and it would be nicer to use a newer one.
Info: The bug still exists in kernel version 2.6,39 experimental .
Created attachment 62062 [details] Output of dmesg after suspend to disk failure.
Created attachment 62072 [details] Output of lspci_nnvv after syspend to disk failure.
Tried current Ubuntu 11.04 with kernel 2.6.38-8 . And under this system also suspend to disk fails (not only suspend to ram). Same symptom as before, the system doesn't react any more - but after a minute or so the fan begins to run in a higher speed. Looks like an endless loop to me.
I forgot - you find attached the output of dmesg and lspci after the next boot.
Current state is that constantly the first suspend to ram succeeds and the second constantly hangs (seems to start an infinite loop cause ventilator speeds up after some time). This constant behaviour seemed to start in kernel version 2.6.39 . Kernel version 3.0 is a big disappointment for me cause nothing at all has changed. The one who is in charge for this seems to have an unprofessional attitude. She is playing around with new releases instead of exercising her duties. In my opinion such fundamental functions like the suspend modi must work absolutely clean before the one in charge can go on to the free skating part of funny new features. Regards.
Is there anybody out there ? (Pink Floyd)
It's great that kernel bugzilla is back. can you please verify if the problem still exists in the latest upstream kernel?
Zhang Rui: it seems that this bug is being tracked at https://bugs.freedesktop.org/show_bug.cgi?id=43278 now. It is still present in current 3.2.y kernels.
According to the bug page Jonathan pointed out, it seems to be a raedon driver issue.
from https://bugs.freedesktop.org/show_bug.cgi?id=43278 Some tests last week by Debian (please watch the debian bug report link for further details) showed that the problem is caused by the Radeon module. The following error message occurrs when loading the radeon module: [ 270.715016] radeon_cp: Failed to load firmware "radeon/R300_cp.bin" [ 270.715045] [drm: r100_cp.init] *ERROR* Failed to load firmware! [ 270.715061] radeon 0000:01:05:0: failed initializing CP (-2) . [ 270.715072] radeon 0000:01:05:0:Disabling GPU acceleration reassign to radeon guys.
(In reply to comment #25) > [ 270.715016] radeon_cp: Failed to load firmware "radeon/R300_cp.bin" > [ 270.715045] [drm: r100_cp.init] *ERROR* Failed to load firmware! > [ 270.715061] radeon 0000:01:05:0: failed initializing CP (-2) . > [ 270.715072] radeon 0000:01:05:0:Disabling GPU acceleration That's a red herring from testing in an initramfs. In an actual production environment with the firmware installed, the reporter is still able to reproduce hangs when trying to hibernate.
s/is/was, a year ago/
Hi Jonathan, Rolf's comment seems suggest radeon driver is the problem: https://bugs.freedesktop.org/show_bug.cgi?id=43278#c18 If this is the case, then there is not much we can do in PM side.
Yes, I agree with that. Just wanted to make sure anyone stumbling on this later doesn't get confused by the request_firmware() stuff. Rolf, can you still reproduce this with a 3.8.y or newer kernel?
On 08.04.2013 09:32, bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=22022 > > > > > > --- Comment #29 from Jonathan Nieder<jrnieder@gmail.com> 2013-04-08 > 07:32:22 --- > Yes, I agree with that. Just wanted to make sure anyone stumbling on this > later doesn't get confused by the request_firmware() stuff. > > Rolf, can you still reproduce this with a 3.8.y or newer kernel? > Yes, it can be reproduced with kernel Debian 3.8.5-1~experimental.1 .
I think this should be fixed by this patch: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=acf88deb8ddbb73acd1c3fa32fde51af9153227f