Ubuntu totally hangs when I try to hibernate

Asked by Geoff Tamplin

Using UBUNTU version 8.04, when I try to hibernate, the process begins, takes a long time, then finally hangs. Eventually, the screen goes totally blank, but the laptop is totally unresponsive and does not turn off. Manually forcing power off works, but then it will be a fresh boot, not restoring the programs and windows that had been open.

Hibernate worked really well with version 7.04, and used to work with 8.04. Is it possible that the three USB devices (a memory card reader, a memory card adapter, and an external hard drive) are causing this to occur?

The laptop has 2 GB of RAM, and the internal disk is less than 20% full.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tom (tom6) said :
#1

Hi :)

With 2Gb of Ram you really need to make sure you have 3 or 4Gb of swap-space
https://help.ubuntu.com/community/SwapFaq

Good luck and regards from
Tom :)

Revision history for this message
Geoff Tamplin (gtamplin) said :
#2

Thanks Tom, but I just checked, and besides having over 100 GB unused on
the internal hard drive, Partition Editor tells me I have 5.79 GB
extended (whatever that is), and 5.79 GB linux-swap space.

Is it possible that the external USB devices are the problem source?
I will try unmounting them prior to trying again to hibernate, and post
the information and what occurred. It might help someone much more
knowledgeable than I to identify what is the cause of this hibernate
lockup.

One item I forgot to include in the initial question, is that when
UBUNTU tries to hibernate, before the screen finally does go blank,
there is some sort of CPU issue.
The display REPEATS the following message again and again and again:
"BUG: soft lockup - CPU#0 stuck for 11s"

On Wed, 2009-08-12 at 23:44 +0000, Tom wrote:
> Your question #79869 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/79869
>
> Status: Open => Answered
>
> Tom proposed the following answer:
> Hi :)
>
> With 2Gb of Ram you really need to make sure you have 3 or 4Gb of swap-space
> https://help.ubuntu.com/community/SwapFaq
>
> Good luck and regards from
> Tom :)
>

Revision history for this message
Anatoly (camelclub) said :
#3

Hi. Could you view kernel.log and find some suspisious, espesially at the latest lines before total hung up? You can then disable some drivers by "sudo rmmod" and try again.

Revision history for this message
Sam_ (and-sam) said :
#4

Assume also it's an unloaded module.
Tool is pm-utils
/var/log/pm-suspend.log
List of known issues (uncompleted):
lsmod | grep -iE 'usb|1394|hci|ndiswr|forced|8139|hid|802'

However, I'd unplug
> external hard drive

I'd also take a look at BIOS power management, gnome-power-manager

https://wiki.ubuntu.com/KernelTeam/Specs/JauntySuspendResumeHibernate

Can you help with this problem?

Provide an answer of your own, or ask Geoff Tamplin for more information if necessary.

To post a message you must log in.