UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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".
Last edited by conman124; 06-17-2010 at 09:01 PM.
Reason: Added more information
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?
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.
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.
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
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.
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.
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.
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.
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.