Computer freezes on shutdown - requires pushing On/Off button
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
Computer freezes on shutdown - requires pushing On/Off button
I have an HP All-in-One 200. I am putting this thread in the laptop section because that basically is what this cp is. It's mounted on a stand and doesn't have a battery but... it is just a big laptop.
I am running Windows 7 Home Premium, Ubuntu 10.04, and Ubuntu 10.10.
When I first installed the Linux O.S. I had no problems at all. But after a couple of updates, the computer freezes up on shut down. When I press the "Shutdown" or the "Restart" buttons, things appear to work normally. But then, while I have the purple background, and absolutely nothing else, the cp freezes. I then must press the On/Off button to get it to shut down.
Windows 7 shuts down normally, of course. I say, "of course" because it is an HP computer.
Oh, one other thing. When I open the terminal and issue the shutdown command, "#shutdown -h now", she closes right down with no fuss.
Also check the config in your default.session to see what the restart command is
Followed this link and found this:
Quote:
GNOME Default session configuration file. The /usr/share/gnome/default.session file contains a list of programs to be launched the first time a user logs into the GNOME environment.
I updated the link for gnome-session-save. It was just a link to it's man page. In the future any command someone recommends to you, you can just type "man command" in the terminal to learn more about it.
Can you show me the contents of /usr/share/gnome/shutdown.
Also can you run the following command as root to see if any error output is shown.
Code:
sudo shutdown -h 0 2> ~/shutdown.log
Post the contents of shutdown.log. I don't expect to see much though since you said your shutdown command from the terminal worked.
Also you may want to look in /var/log/ folder for logs which could possibly contain errors with shutdown in them since dmesg is useless in this case.
First we've got to list all possible log files which may have shutdown errors in them.
Once you know which log files you need to look into then you need to grep each one of them to find out which lines the error occurrence shows up within each file. It is best to inspect the files individually. Lets call the file shutdown.err for this example.
I reinstalled Ubuntu 10.04. I am having no problems there. Whatever is wrong with 10.10 they might straighten out soon. In the meantime, I have work to do, so the 10.04 reinstall was the best solution for me.
Thanks for the replies. When I have more time, I will try you suggestions.
Again, many thanks.
I think it is something with the kernel. I've had similar issues with different versions of recent kernels. I bet if you can compile your own kernel, the latest one, the problem will go away (it did for me).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.