LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Xubuntu hibernation restarts after saving state (https://www.linuxquestions.org/questions/ubuntu-63/xubuntu-hibernation-restarts-after-saving-state-814835/)

conman124 06-17-2010 08:59 PM

Xubuntu hibernation restarts after saving state
 
Hi,

I have been running Xubuntu Lucid for a couple of days and so far the only problem I have been having is with hibernation. When I hibernate, it saves the state, shuts off the computer, but then the computer starts again.

I have looked around a bit in the hibernation scripts (/etc/acpi/hibernate.sh) and changed some of the pm configuration files (added "HIBERNATE_MODE = shutdown" to the end of /etc/pm/config.d/00sleep_module) to no avail.

My computer is an IBM ThinkCentre. I am not exactly sure on the specific model, but I believe it is m51.

Thank you in advance,
--Connor

EDIT: If it makes any difference, this was an Ubuntu install that I changed to a Xubuntu install by doing "apt-get remove liborbit2" (I found this instruction on a website) and then "apt-get install xubuntu-desktop".

john test 06-18-2010 10:38 AM

Can you discover the event that is bringing it back out of Hibernation?
Bios settings used to have a WOL Wake On Lan setting to allow Local Area Network r'equests to wake the PC.
Does your script specify the allowable wake up events?

conman124 06-18-2010 12:46 PM

How would I go about doing that? I believe there might be some sort of bug in the script that is telling the system to restart, not power off. I am not sure how to verify this however.

--Connor

john test 06-18-2010 06:39 PM

Used to be able to go into the bios using F2 in the power up sequence and go into the Setup screens and enable/disable Wake on Lan WOL bu I just went into my Dell BIOS and all I see is Wake on USB.
What you might try is disconnecting USb and ethernet cable and downing your wireless connections, if any, and then try the Hibernation function to see if it is an external event that is waking you up.

conman124 06-18-2010 11:19 PM

Ah. The only problem is that the OS is running off of a external hard drive. (Sorry, I forgot to mention that in my first post). However, I doubt that it is that, because it restarts immediately afterwards and my Windows install hibernates fine as well as other Linux distributions I have tried.

I will check, but probably not till tomorrow morning.
--Connor

bubuntu 06-19-2010 06:55 AM

I'm having the opposite problem only my system goes into hibernation just fine but when it restarts it sometimes is only up for a minute or so then goes back to hibernation. I was about to start a thread when I found this so I'll wait till this is resolved.

john test 06-19-2010 05:04 PM

Quote:

Originally Posted by conman124 (Post 4008199)
Ah. The only problem is that the OS is running off of a external hard drive. (Sorry, I forgot to mention that in my first post). However, I doubt that it is that, because it restarts immediately afterwards and my Windows install hibernates fine as well as other Linux distributions I have tried.

I will check, but probably not till tomorrow morning.
--Connor

Thats ok, the BIOS is in a ROM in the Computer you are trying to put in to hibernation. So if you shut down the computer and then turn it back on and hit F2 to get into setup (Look at the screen to discover what key your computer uses to go into setup). Then once you get into setup use the arrow keys to go back and forth until you see something like WOL or Wake on USB and turn that off. Then see if you are still coming back out of hibernation. If you are then you may have failing hardware.
If you boot up into Windows does Hibernate work properly? (I think the MSDOS CLi command is shutdown -h to go into hibernate mode.

john test 06-19-2010 05:10 PM

Another thought You may have Wake On usb turned on and your external hard drive may be using Wake on USB to wake your machie back up. I am assuming that your external hard drive uses a USB connection.

conman124 06-20-2010 04:12 PM

I meant, it's an external hard drive, so I don't know how to check the wake on USB. However, I don't think my BIOS has that. After poking around a bit in the settings, I don't see anything like that. Yes, Windows hibernation works fine. The Windows drive is internal.

--Connor

john test 06-22-2010 10:13 PM

Yea looks like th external drive on your usb port is waking you back up. Sort of anyway
Does the Drive have its own power source or does it draw power from the usb port?

conman124 06-23-2010 10:21 AM

It has it's own power source, but like I said, I looked around in the BIOS and I saw a wake on LAN, but no wake on USB.

If it is the USB drive, wouldn't it also restart on a shutdown? Because I just tested and it shuts down fine.

--Connor

john test 06-24-2010 01:56 PM

Did you turn off WOL while you were in the bios?

If the usb hard drive is truly shutting down then you wouldn't think it would be responsible for restarting the system.
That Leaves an Ethernet Connection or a Wireless connection to do the Wake up.

Could be a bad bleeder resistor on a Network Adapter keeping a voltage high enogh to wake you back up. I would disable WOL to see if it is a LAN function and then I would uninstall network adapters to see if a faulty one is causing the issuel


All times are GMT -5. The time now is 04:32 PM.