Debian Hardware :: Suspend / Hibernate Not Working On Wheezy (Server)
May 23, 2014
I have a server with Debian Wheezy. I already setup Wake-On-LAN (from halt) and works just fine, but i need to have Wake-On-LAN from suspend or hibernate. None of them works, despite multiple solutions I tried.
The server is mainly used for remote backups and i will like to be able to suspend/wake on LAN automatically on certain period of time (when backups occur) or manually.
The first try was based on [URL] .... and [URL] ..... but without success.
I also tried: uswsusp and hibernate .. intended on using even TuxOnIce but looks complicate..
In BIOS there are some settings to manage the fans (Fan Speed Control Modes) which is set to 3 (Workstation). I also disabled all USB devices in BIOS (since i don't need them and i have read that some USB may create problems)
I used pm-utils and once i try suspend/hibernate the machine hangs with the fans still running ... and with some other hardware suspended.
Some info:
# acpitool -e
Code: Select all Kernel version : 3.2.0-4-686-pae20110623 - ACPI version : 20110623
-----------------------------------------------------------
Battery status : <not available>
AC adapter : <info not available or off-line>
Fan : <not available>
There should be the suspend and hibernate buttons in th System Menu, but there is only two options, Shut down and Log off.Also, in the Power Manager Preferences window, it has no option for suspend and hibernate.
I have a headless 10.04 ubuntu server ( running at home. Because I am a student I want to save some power by suspending the server when I really don't need it (school, sleep etc.). I have gotten WOL to work for me, BUT the suspend does not work.
I have tried pm-suspend and s2ram, but they both have same result; I lose all control (seems like a freeze) from my SSH, but it does not disconnect, and the server responds to pings. But I cant connect via ssh, or use the fileserver or any of the roles it has. I assume there might be something locking it when it tries to suspend, but I really don't know where to start looking (logs and stuff). I have googled quite a bit, but almost all failed suspends are some funky laptop issues, and this is not...
after i installed latest ATI proprietary drivers ( 9.3 legacy drivers) for my HP compaq nc6000 with a "Mobility Radeon 9600" the standby and the suspension stopped working, i mean, if i try to suspend or hibernate my laptop, it closes X (this is fine) but after it gets freezed on the whole screen black with just a blinking underscore and nothing more, neither an error message after reboot.All i can do is to force shutdown by pressing poweron button for 5 secs.I'm running on a lenny, stable with stable repo.What can i do to understand where does this problem comes from and maybe fix it?
Just got Ubuntu 9.10 and I'm liking it a lot, but my computer refuses to go into hibernate or suspend. I have a Dell M1530 but I don't really think it's a dell hardware issue because it's not just when I close the screen, it's also when I click suspend or hibernate from the menu.
When I try either one I just get the lock screen where I have to enter my password to return to my session, but the computer never suspends or hibernates.
I am using OpenSUSE with Reaper+SampleTank+wineasio+jack. I experienced that if I go on suspend or hibernate, I cannot come back in a working state for these applications and jack seems to be stuck. What is the solution?
I have Debian 6 (squeeze), I have also seen this under Ubuntu (can not remember how I fixed it).
I can hibernate, but when I switch on the system cold boots (it does not restore previous session).
Note suspend works fine. Have looked in /var/log/pm-suspend.log Shows for each suspend suspend block a resume suspend block, but hibernate hibernate' is not followed by resume hibernate` ( I assume that this is not correct. )
Update on what I have discovered: I have discovered that the uswsusp package is missing from debian squeeze. I could get it from testing or unstable repository, but have to be careful about not pulling in other dependencies. I would like to know if it will fix it. Is uswsusp needed for hibernate. Or should pm-utils be enough. (suspend it ram is working fine.)
I am having some pain with my new Squeeze installation, I am not sure if I am asking to much of it or it is an easy fix.
Firstly my system is laptop which I regularly plug a second monitor into. The video adaptor is an ATI HD4550 mobile.
My problem is that when ever suspend or hibernate my system, and even sometime when I boot up the screen(s) are just blank, although sometime they don't, it always happens if I suspend by closing the lid of my laptop, and only sometime happend with through Gnome is go ->System->Shutdown->Suspend. This is really annoying.
Another issue which I think is connected is that as I said I have a second monitor (most of the time) and when I boot up then it works until I log in, then a message pops up say the configuration can not be applied and it revert to Mirror mode or it does this thing where it places the second screen inside (virtually) the built in Laptop panel, it will not let me fix this through the monitors dialog just displaying the same message. I can fix this by doing
invoke-rc.d gmd3 restart
This gets as far as killing Gnome them it prints an error the to console, at which point Imopen a new terminal by ctrl+alt+f2 and invoke-rc.d gmd3 stop invoke-rc.d gmd3 start
then it works fine and even remember that I set the secondary screen to be the primary monitor through xrandr.
I tried install fgrlx drivers instead but it didn't really fix the issue, so I removed them.
I installed the debian 6 on the tninkpad T42, use the Suspend,it can entry the suspend state,I type the key let it come back, it can exit the suspend state, But the screen always display "black",can't come back the X window.
Installed Debian 8.2 a while back, and I've been having issues with getting the machine to suspend correctly. If I try to put it to sleep when logged in to my regular user account the screen just goes black and then the computer hangs. However if I put it to sleep as root everything works fine. I do this by running this command (as root):
Code: Select allsystemctl suspend
What can I do about this? Worked fine on Debian wheezy..
Btw, just found this in the dmesg log. Connected perhaps..?
Code: Select all[ 6.863018] ACPI Warning: SystemIO range 0x00000000000018e0-0x00000000000018ff conflicts with OpRegion 0x00000000000018e0-0x00000000000018ef (\_SB_.PCI0.SBUS.SMBI) (20140424/utaddress-258) [ 6.863028] ACPI:
If an ACPI driver is available for this device, you should use it instead of the native driver
I've been running 6.0.2 amd64 stable since release day and recently have noticed my suspend and hibernate do not work. Normally I have transmission running and have set it to not enter sleep mode while torrents are active. However today I have not had transmission and was wanting to see if the sleep mode options would kick in. So I have set my display to "sleep when inactive for" 5 mins (this works perfect) I have set "put computer to sleep when inactive for" 10 mins (this does not work at all)
When I try to manually test suspend my display flashes black for a few seconds but remains backlit, then asks me to log back in When I manually go into hibernate mode my display turns off, pops back on for a second and in a terminal says something about a usb device (something failed but it happens so fast I cannot read it)
How do I enable suspend in Lenny currently I can shut down or hibernate. In ubuntu on a different computer I can suspend which resumes very quickly can this work on Lenny also it does not hibernate properly anyway, there are error messages.
I've tried editing .xinitrc to contain ck-launch-session and dbus-launch to no avail. Console kit is installed. I'm using Sid without a login manager, and xfce's suspend and hibernate work fine on my Wheezy computer. Xfce4-session and consolekit are installed. Is this a problem with permissions?
I have installed the latest virtualbox 4.1 on my desktop and laptop. It hosed suspend and hibernate.
The laptop is A Dell D630 with Intel Core2 Duo CPU, the desktop is an AMD based ASUS M3N78-VM mobo with Athlon II x2 250 CPU. Debian Testing 32-bit (same results with the 2.6.39 and the 3.0 kernels). Both have nvidia cards though - the desktop an integrated 8200, the laptop a NVS 135M. But suspend/hibernate was working before with the 4.0 series virtualbox.
The workaround is to clear the vboxpci vboxnetadp vboxnetflt vboxdrv modules from the memory before suspend/hibernate. I added the
service vboxdrv stop rmmod vboxpci vboxnetadp vboxnetflt vboxdrv
lines to my sleep script (i dont use power managers, just the acpi powerbutton/lid scripts modified). Everything is ok now.
I've configured my debian lenny to load first the command line, then if i want I load the X server, but doing this to that way I don't have the suspend/hibernate functions from the gnome menu, so, my question is:
what is the command to suspend / hibernate my system at any moment I decide?
I am running Squeeze on an older Compaq EVO laptop with radeon graphics.
A few months ago, after an upgrade, suspend and hibernate stopped working. The suspend or hibernate worked fine, but the resume just hung with a black screen. I finally got around to looking into it and found a workaround.
The workaround is to disable Kernel Mode Setting for the radeon. This can be done by adding the boot parameter "radeon.modeset=0" or by editing /etc/modprobe.d/radeon-kms.conf so that it includes the line "options radeon modeset=0".
If you are interested in the details, you can search for problem reports related to radeon kernel mode setting.
after long hours of testing and thinking (and suffering ) I have finally settled for Ubuntu Lucid Server (AMD64) for a home server. Tasks include AFP (Apple) filesharing with Avahi, torrenting, webserver, printserver, backup solution, possibly later Asterisk, etc... I use ssh to administer the server with the occasional x-forwarding. I do not use a graphical environment such as Gnome.
After hours of searching forums, troubleshooting, etc. I have configured the server to my liking (not quite yet finished). As one of my primary considerations was consuming little power (within the constraints of a standard cost-efficient PC architecture with 4 HDDs) I wanted to be able to suspend and/or hibernate the server when not required. After installing pm-utils (and faking a monitor with the nomodeset and xorg.conf mods), this was possible (I use pm-suspend and pm-hibernate by ssh).
Now I encounter a flurry of issues. When I wake from suspend: gigabit ethernet no longer works (found a work-around) CPU power management no longer works (need to enable "conservative" with another work-around) my CPU, which is untervolted by BIOS and stable at 1.05V, has 1.25V after waking (I have not been able to revert this to 1.05 without a shutdown/new boot - not even reboot will fix it) hdparm no longer functions, my HDDs which usually spin down nicely thanks to my editing of hdparm.conf, no longer do so after wake from suspend/hibernate
Now I can spend days trying to find work-arounds for every little thing with scripts in /etc/pm/sleep.d/ but I ask myself the question, am I doing something fundamentaly wrong? Is Ubuntu Server not meant to handle suspend? Are there better or "more correct" ways of using suspend which would prevent these errors? Does everyone who would like to utilise suspend have to go through this?
ACPI is enabled in the BIOS by the way, so is wake-on-lan, which I use to wake the server after sleep.
EDIT: Just to clarify, all the issues above ONLY occur after a suspend (or hibernate) and subsequent waking of the server. When I start the server normally (from a full power off), everything works as I want it to.
I recently installed Ubuntu 10.04 Lucid Lynx. When I partitioned my HDD, I ran out of available partitions and so couldn't make a Swap Partition.I pushed on anyway, because I read here that you can create a Swap File instead of a partition that does the same thing. I've made the Swap File and it's activated (I know because during shutdown there's a message that flashes very quickly that says "Deactivating Swap [OK]".
But here's the real problem. My Ubuntu refuses to Suspend or Hibernate. The screen just goes black and the backlight stays on. Since one of the main functions of the swap file is to facilitate Suspend and Hibernate,I upgraded from 9.10 Karmic Koala, which suspended and hibernated normally.
I have just installed Wheezy after repartitioning and had to set up my sources list myself as (most of it) was not done for me. I have just added the main official repository,security updates and the multimedia repository. To be honest I'm not sure if any of them are working when I do an update in aptitude, I think the multimedia one might be. The CD ROM isn't even working despite the fact I have done apt-cdrom add.I am getting the following when run aptitude update:
Ign cdrom://[Debian GNU/Linux testing _Wheezy_ - Official Snapshot i386 CD Binary-1 20110328-05:16] wheezy InRelease Ign cdrom://[Debian GNU/Linux testing _Wheezy_ - Official Snapshot i386 CD Binary-1
I have a web server running on my laptop(in fact , it's a netbook). But I found it always hibernate automatically in a certain time .(In fact , I don't know what's the differences between hibernate or suspend. So I call this hibernate instead.) I am sure I have disabled the hibernate function in Power-Management from the System menu. But it still hibernates as usual.So could someone tell me how to disable it ( suspend,hibernate whatever )?
jeff@jeff-lappy:~$ sudo hibernate hibernate:Warning: Tuxonice binary signature file not found. Some modules failed to unload: nvidia hibernate: Aborting suspend due to errors in ModulesUnloadBlacklist (use --force to override).
I even installed this tuxonice thing but to no avail...
I can Suspend or Hibernate my Gateway notebook but I have no idea how to wake it up.The power button is set to suspend or hibernate....I not sure which it does, but I can't wake the computer up.
which ubuntu log file records when a suspend happened?I was ssh'ing into my ubuntu box periodically yesterday, when I discovered that it was no longer reachable. On getting home last night I discovered that it was still switched on, but I think in suspend mode as moving the mouse brought it back to life. The clock however, still showed 12:15pm, which is roughly when I stopped being able to ssh to it. I'd like to see the logs to confirm this.
My Ubuntu 10.10 on my laptop Lenovo T400 is not able to suspend or hibernate. Whenever I click Suspend or Hibernate in Startup options of the OS: * the moon LED on the bottom of the lid flashes a few seconds, the screen quickly shows something like "some devices fail to suspend, error 5", * and then the moon LED goes off and the display still has ambient light illumination. I suppose in suspend or hibernation state, the display should have no illumination, just like when the laptop is turned off, right? * If I press any key, the unlock screen dialogue will pop out. I have installed 'acpi-support' and 'hibernate 1.99-1.1'. But I don't know how to use these methods to suspend or hibernate my OS. Are they by commands in terminate, or can they be called by clicking Suspend or Hibernate in Startup options of the OS? For example, I type the hibernation command and it shows something is missing although I have installed "tuxonice-userui" ( I don't know if it will provide Tuxonice binary signature file):