2

On 2 partitions of my HD I have installed Debian 7.7 and Debian 7.8 (upgraded from 7.7). The first OS has "suspend" to ram or disk working, the latter not anymore.
I made some tests, changing home and etc directories, without success. It seems that after restore, the HD is working, but the OS not (it's freezed?). The screen is black and the keyboard doesn't respond. CTRL ALT F1, CapsLock, NumLock don't work.
s2ram and s2disk don't work too.
I did think that it was related to some file in /etc/X11 directory or in /home, that's why I copied those from the working OS to the other.
Can someone tell me what file suspend depends on? I could copy the right one from Debian 7.7 to 7.8. I cannot believe that a so small problem forces a user to reinstall Debian. What the difference from Windows?
Thanks to all who will spend some time to resolve this very common issue.

EDIT: I have KDE, GNOME, LXDE. The problem persists if I change Desktop Environment.

EDIT After upgrading the kernel to 3.2.65-1+deb7u1 suspend works but not hibernate. I installed uswsusp package and now hibernate works.
Thanks to all helping me to solve this annoying bug.

  • Any chance your init system got changed from SysV to systemd? – peterph Jan 14 '15 at 11:16
  • @peterph How can I check this? – user2431763 Jan 14 '15 at 11:18
  • ps fu -p 1 will give you description of process with PID = 1, which is the init system. For SysV init it should be init or someting similar, for systemd systemd. – peterph Jan 14 '15 at 11:48
  • @peterph Thank you. The output shows "init [2]": root 1 0.5 0.0 10652 808 ? Ss 15:15 0:00 init [2] – user2431763 Jan 14 '15 at 14:20
  • Next time please do add any additional info into the question (use the edit link below the post) - comments are not well suited for this. – peterph Jan 14 '15 at 20:20
1

This is probably a known regression with suspend in the current kernel of Debian 7.8. See this blog entry for more information and links.

  • I'm going to update the kernel as described in the link you posted. I'll tell you. Thanks. – user2431763 Jan 14 '15 at 14:28
  • OK suspend to ram now works, but not hibernate. But there is a new problem: I cannot update with "apt-get update": ftp.it.debian.org is unreachable. My LXDE panel shows an icon saying: "a package manager is beeng executed" (probably because ftp.it.debian.org is unreachable). Internet works. – user2431763 Jan 14 '15 at 15:17
  • @user2431763 Replace ftp.it.debian.org with http.debian.net See its homepage for details. – jofel Jan 14 '15 at 15:22
  • @user2431763 It would helpful if you write a short mail to 774436@bugs.debian.org describing that suspend works for you with the test kernel, but not hibernation. Include some details about your PC. – jofel Jan 14 '15 at 15:25
  • Thank you for your help, I will now do what you suggest. – user2431763 Jan 14 '15 at 15:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.