LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-07-2010, 12:26 PM   #1
ericpud
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Rep: Reputation: 0
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
 
Old 02-07-2010, 12:30 PM   #2
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
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.
 
Old 02-07-2010, 03:19 PM   #3
ericpud
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 02-07-2010, 03:34 PM   #4
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Have you recently made any hardware changes, or perhaps kernel updates?
 
Old 02-08-2010, 12:38 AM   #5
ericpud
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 02-08-2010, 08:01 AM   #6
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
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
PHP Code:
uname -
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.
 
Old 02-08-2010, 07:25 PM   #7
spiderbatdad
Member
 
Registered: Nov 2009
Location: mote of dust suspended in a sunbeam
Distribution: Arch Linux / Ubuntu 10.10
Posts: 40

Rep: Reputation: 17
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.
 
Old 02-09-2010, 12:14 AM   #8
ericpud
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Original Poster
Rep: Reputation: 0
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?
 
Old 02-09-2010, 07:57 AM   #9
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
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
 
Old 02-09-2010, 08:07 AM   #10
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shared Windows/Linux fat32 Partition; hibernating led to lost data? Romanus81 Linux - Hardware 3 01-08-2009 11:33 AM
LXer: Hibernating a Linux Laptop…FINALLY! LXer Syndicated Linux News 0 10-05-2008 05:00 PM
Hibernating waelaltaqi Linux - General 1 10-16-2005 12:49 PM
Hibernating Linux akiko_f Linux - Newbie 3 06-19-2005 05:00 PM
Hibernating Linux on Workstation LinuxGeek Linux - General 2 06-26-2002 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration