LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-19-2013, 08:51 AM   #1
acidrop
LQ Newbie
 
Registered: May 2005
Location: athens greece
Distribution: ubuntu,debian,centos
Posts: 23

Rep: Reputation: 0
Problem booting ubuntu 12.04 after hibernate/suspend


Hi,

Quote:
Linux 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Quote:
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
Before doing apt-get update , apt-get upgrade I was able to successfully suspend the machine by using /etc/acpi/sleep.sh
After that now when the machine boots It hangs and the only way to boot is by choosing recovery mode -> resume boot.
I am attaching the output of dmesg at the moment of crash:

dmesg
cat /proc/acpi/wakeup > wakeup
 
Old 03-25-2013, 05:11 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Don't know which mechanism Ubuntu is using for to "hibernate", but perhaps it's using the swap-filesystem? So, every time it reboots if finds the "invalid" data contained in the swap partition, tries to load it and hangs forever.

If it's potentially like that, and you know which is the partition that is used as swap, you could try overwriting everything in that partition ("dd if=/dev/zero of=/dev/<your_swap_hdd_and_partition>") and then re-create the swap-filesystem.

Example (USE YOUR REAL SWAP-PARTITION! Find it with "fdisk -l" - it's called "Linux swap / Solaris"):
If your swap partition is "sda2" then...
- dd if=/dev/zero of=/dev/sda2
- mkswap /dev/sda2
- reboot

Cheers
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suspend & Hibernate in Ubuntu 11.04 johnkelly.110 Linux - Software 5 04-14-2012 03:10 PM
Ubuntu - Can't Hibernate or Suspend orangesky Linux - Laptop and Netbook 12 01-28-2011 06:25 PM
Suspend / Hibernate errors upon boot up in Ubuntu 9.04...? CT_0000 Linux - Newbie 3 10-14-2009 06:57 PM
Problem with ubuntu hibernate/suspend Jykke Linux - Hardware 3 08-25-2008 01:59 PM
Problem suspend/hibernate ubuntu feisty oddvar Linux - Software 4 08-02-2008 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration