Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-07-2010, 12:26 PM
|
#1
|
LQ Newbie
Registered: Feb 2010
Posts: 5
Rep:
|
Linux crashes instead of hibernating
I'm completely new to Linux so please explain in idiot-proof detail...
Recently my netbook (Toshiba NB100, running Ubuntu 8.04) has started crashing every time I shut the lid. The screen goes black, I press the power switch, and it doesn't come on. The screen stays black but I have a cursor flashing. That's it, nothing happens, I have to restart.
How can I fix this?
Thanks
|
|
|
02-07-2010, 12:30 PM
|
#2
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
|
I don't know if this will help or not, but on my Ubuntu 9.04 Toshiba satellite a205, I have to press enter (I press it twice and can't remember anymore if I have to do it twice or if it's just OCD) and then I get my login prompt so that I can resume my session.
|
|
|
02-07-2010, 03:19 PM
|
#3
|
LQ Newbie
Registered: Feb 2010
Posts: 5
Original Poster
Rep:
|
Thanks, but I've tried pressing everything. Nothing has any effect except ctrl, alt, del. That restarts it, but before I just had to tap any key and it would wake up again. It's only just started doing this, I have no idea why. It means any windows I left open get closed which is kind of annoying
|
|
|
02-07-2010, 03:34 PM
|
#4
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
|
Have you recently made any hardware changes, or perhaps kernel updates?
|
|
|
02-08-2010, 12:38 AM
|
#5
|
LQ Newbie
Registered: Feb 2010
Posts: 5
Original Poster
Rep:
|
No hardware changes, and I don't know what a kernel update is so I don't think so. I have had a lot of crashes before where I get a long string of text with a message about a 'kernel panic' at the end.
|
|
|
02-08-2010, 08:01 AM
|
#6
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
|
Ubuntu by default will pop up the "Update Manager" the kernel is the heart of linux.......technically speaking it is the linux in linux and everything else is programs and scripts. The kernel, among other things, is what interfaces with the hardware and handles the suspend and hibernation. If you have updated Ubuntu or allowed it to update, then there is a likelihood of a kernel update. To find out youi ned to find out what kernel version shipped with your release and then compare that to the output of which will give you your running kernel. There are also settings in Ubuntu to control your suspend/hibernation triggers like closing the lid. There could also be some bios setting that you can tweak, although on my toshiba laptop at least, there isn't much the user has access to.
Also don't be shy to use the Ubuntu forums also. Post back with what you find out or questions you might have.
|
|
|
02-08-2010, 07:25 PM
|
#7
|
Member
Registered: Nov 2009
Location: mote of dust suspended in a sunbeam
Distribution: Arch Linux / Ubuntu 10.10
Posts: 40
Rep:
|
Have you looked at the power management settings in System>>Preferences>>Power Management?
For AC and Battery you can set the behavior for lid close. Do Nothing should be an option...if not, you can set that as a value in gconf-editor.
Each time AC and Battery, when you set the value, you must click "make default."
If power management continues to misbehave, you may have to set boot options for the kernel acpi=off. How this is done will change when you upgrade from 8.04. It can be tested by choosing F6 at grub menu.
|
|
|
02-09-2010, 12:14 AM
|
#8
|
LQ Newbie
Registered: Feb 2010
Posts: 5
Original Poster
Rep:
|
the running kernel is: 2.6.24-19-lpia
I'm not sure how to find out what it shipped with. But I always let Ubuntu update so it probably has update the kernel.
Should I try switching to Ubuntu 9.10? Would that make any difference?
|
|
|
02-09-2010, 07:57 AM
|
#9
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
|
That is an older kernel, but there is almost no doubt that it's been updated several times Even on my 9.04 the kernel was updated just this past week to a newer, yet still old kernel. It's possible that you will get better support for acpi by upgrading, but that is a decision only you can make. I've heard some bad things about trying to use the update features to upgrade as opposed to a clean install which has it's own set of risks to your data, depending on your particular setup.
Quote:
Have you looked at the power management settings in System>>Preferences>>Power Management?
For AC and Battery you can set the behavior for lid close. Do Nothing should be an option...if not, you can set that as a value in gconf-editor.
Each time AC and Battery, when you set the value, you must click "make default."
If power management continues to misbehave, you may have to set boot options for the kernel acpi=off. How this is done will change when you upgrade from 8.04. It can be tested by choosing F6 at grub menu.
|
Has several good troubleshooting tips. It's workth looking through the power options, also the bios, if you are happy with your current OS minus the current problem. If you have no real attachment to the OS or decide that either you have no data you care to save on that particular machine, or it's easily/already backed up, then upgrading might be something you want to do.
Also don't rule out the Ubuntu forums. I've never posted there, but I've searched and found a number of Ubunutu specific solutions to Ubuntu specific problems.
It's good to search things like this with your kernel version included:
Quote:
toshiba XXX netbook hibernation kernel 2.6.24.18 Ubuntu
|
or whatever
|
|
|
02-09-2010, 08:07 AM
|
#10
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
|
It just occurred to me that on my machines, Ubuntu always keeps the older kernels even when it upgrades. To see if it is a kernel issue, you could try rebooting and hitting esc when it comes out of POST. On my machines that brings you to a boot options menu, that will allow you to pick a different kernel.
It's possible that someting other than the kernel was updated and is causing your problem.
If it was working once, then it can definitely work again.
|
|
|
All times are GMT -5. The time now is 08:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|