LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-22-2009, 01:17 PM   #1
Gonzo44
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
System halts on shutdown ubuntu 9.04


Just installed Ubuntu 9.04 last night. All seems perfect except on shutddown. It seems to go through all shutdown processes but right about the time you expect the computer to turn off a message says: "system halted [4027.514883]" Have Googled it but no matches. If I just push the on/off button at that point it shuts off immediately and starts up fine next time, so may not be a problem.
 
Old 07-22-2009, 01:35 PM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,901

Rep: Reputation: 261Reputation: 261Reputation: 261
If it's an older computer and has acpi power management put acpi=force in the second line of grub's ubuntu menu sometimes that will work. if you have apm power management I'm not sure but I don't think the newer kernels support apm. have a computer with apm and couldn't get it to work with any kernel above version 2.6.21

Last edited by colorpurple21859; 07-22-2009 at 01:38 PM.
 
Old 07-22-2009, 01:44 PM   #3
louieb
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu 8.04
Posts: 94

Rep: Reputation: 17
Don't have a cure. Have Ubuntu on 3 machines. The oldest of them (P2-400mHz, built in 1997) acts the same way. Gets the system halt message, does not power off. Not a problem except its just a minor thing to turn the power off with the power button.

Has something to do with the power management. Some Linux distributions such as Puppy power off the machine when shutdown is selected.
 
Old 07-22-2009, 02:08 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
If I just push the on/off button at that point it shuts off immediately and starts up fine next time, so may not be a problem.
It's not a "problem" if you can be bothered to reach for the power button. Once it says "system halted" it is safe to power it off, by any method.

Otherwise, I agree, it's an ACPI problem, and this can usually be solved by adding acpi options to your kernel boot line in /boot/grub/menu.lst

Kernel boot options
 
Old 05-29-2010, 04:43 AM   #5
Valvebox
LQ Newbie
 
Registered: May 2010
Location: Benelux
Distribution: Xubuntu, Puppy, Mint (with Xfce)
Posts: 9

Rep: Reputation: 1
Shutting down automatically

There seems to be no solution posted so I'll post what I did to make Puppy 5 power off without having to manually hold the button.

Basically the acpi=force addition to the mem.lst doesn't work on some older computers because some older APM based machines won't power off if they don't have the apm=power-off kernel option.

/etc/rc.d/rc.sysinit has a modprobe apm line (could be line 247 or 249 or a near neighbour) and this can be edited from:

[ ! -d /proc/acpi ] && modprobe apm #v406

to

[ ! -d /proc/acpi ] && modprobe apm power_off=1 #v406

Which makes it shut off properly. I don't knw if this can be used to inform a shutdown in Ubuntu or not.

Thanks to a user at Puppylinux discussion forum called 'Noabody' for that workaround.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
System halts at boot Alfiow Linux - Newbie 5 10-24-2008 06:50 AM
System Halts during boot up cricballa Linux - Distributions 1 06-11-2007 10:56 PM
File system halts Wolf_Assassin Linux - Software 8 08-17-2004 05:15 AM
kernel halts, system halts, computer commits suicide stupid_guy Linux - Newbie 10 06-07-2003 06:44 PM
Rh9 Halts System During Use atlantis Linux - Hardware 3 05-11-2003 10:36 AM


All times are GMT -5. The time now is 02:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration