You are not logged in.

#1 2008-11-25 12:15:12

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

hibernate restarts the pc rather than powering down

I've just setup suspend to disk using ususpend and following the instructions in the wiki.

When I ran hibernate all went well, the hibernate scripts kicked in, I got a message about writing out the swap file and the power to the pc dropped (not completely off) for a second but then came straight back up to normal and the PC restarted.

I'm running a new desktop, the normal halt command works fine and completely powers off the machine so software can cause a shutdown.

What would cause this/what can I do to fix it?

Offline

#2 2008-11-25 15:05:43

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: hibernate restarts the pc rather than powering down

I had a similar problem caused by an incorrectly set /sys/power/image_size. Try running:

echo 0 > /sys/power/image_size

...as root and see if you're able to hibernate.

Otherwise, you'll want to post/search an appropriate log file for clues. (/var/log/pm-suspend.log if you're using pm-hibernate.)


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#3 2008-11-25 17:00:13

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: hibernate restarts the pc rather than powering down

I tried that and it didn't help, I got the same almost shutdown then straight back up again.

I'm using the hibernate script along with the latest uswsusp from abs which uses suspend 0.8.

Here is my hibernate.log file:

Starting suspend at Tue Nov 25 16:51:58 GMT 2008
hibernate: [01] Executing CheckLastResume ... 
hibernate: [01] Executing CheckRunlevel ... 
hibernate: [01] Executing LockFileGet ... 
hibernate: [01] Executing NewKernelFileCheck ... 
hibernate: [10] Executing EnsureUSuspendCapable ... 
hibernate: [11] Executing XHacksSuspendHook1 ... 
hibernate: [45] Executing FSTypesUnmount ... 
Unmounting /<stuff>...
hibernate: [59] Executing RemountXFSBootRO ... 
hibernate: [89] Executing SaveKernelModprobe ... 
hibernate: [91] Executing ModulesUnloadBlacklist ... 
hibernate: [95] Executing XHacksSuspendHook2 ... 
hibernate: [98] Executing CheckRunlevel ... 
hibernate: [99] Executing DoUSuspend ... 
hibernate: Running /usr/sbin/s2disk ...
hibernate: [90] Executing ModulesLoad ... 
hibernate: [89] Executing RestoreKernelModprobe ... 
hibernate: [85] Executing XHacksResumeHook2 ... 
hibernate: [70] Executing ClockRestore ... 
hibernate: [59] Executing RemountXFSBootRW ... 
hibernate: [20] Executing MiscLaunchAuxFunc1 ... 
Executing /usr/local/bin/network_after_hibernate...
hibernate: [11] Executing XHacksResumeHook1 ... 
hibernate: [01] Executing NoteLastResume ... 
hibernate: [01] Executing LockFilePut ... 
Resumed at Tue Nov 25 16:53:06 GMT 2008

Looking in everything.log I've noticed that it only mentions taking CPU 1 down but I'm on a dual core machine:

Nov 25 16:53:03 rastlin ACPI: Preparing to enter system sleep state S4
Nov 25 16:53:03 rastlin Disabling non-boot CPUs ...
Nov 25 16:53:03 rastlin CPU 1 is now offline
Nov 25 16:53:03 rastlin SMP alternatives: switching to UP code
Nov 25 16:53:03 rastlin CPU1 is down
Nov 25 16:53:03 rastlin Extended CMOS year: 2000

Could that have something to do with it?

Offline

#4 2008-11-25 17:38:28

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: hibernate restarts the pc rather than powering down

I got the very same issue, not with hibernating, but with suspending also. I've been reading a lot, and I guess this issue is related to conflicting acpi regions, as shown on this piece of dmesg.

ACPI: I/O resource 0000:00:1f.3 [0x400-0x41f] conflicts with ACPI region SMRG [0x400-0x40f]

Have a look on your dmesg if you have a similar line.

p.s. I'm not a kernel guru. I'm just trying to figure out where the problem is. big_smile

Last edited by kjon (2008-11-25 17:39:44)


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#5 2008-11-25 17:53:49

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: hibernate restarts the pc rather than powering down

I have these two lines:

ACPI: I/O resource nForce2_smbus [0x4c00-0x4c3f] conflicts with ACPI region SM00 [0x4c00-0x4c05]
ACPI: Device needs an ACPI driver

Does your machine shutdown from a normal halt command?

Offline

#6 2008-11-25 19:59:41

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: hibernate restarts the pc rather than powering down

yes, everything works fine. Except for suspending and hibernating.
With xfce, the poweroff through xfce-helper also works.


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

Board footer

Powered by FluxBB