LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 10-30-2006, 02:07 PM   #1
bioalchemist
Member
 
Registered: Oct 2005
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
kubuntu 6.10 hangs on shutdown


Whenever I go to reboot, my monitor instantly shuts off, and the computer hangs without rebooting. I have Ubuntu 6.10 installed as well and it does not do this. I have to press the restart button to manually restart from Kubuntu. Any ideas why it does this?
 
Old 10-30-2006, 05:54 PM   #2
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
It's a bug with acpi. It'll get fixed eventually (hopefully lol), but for now you can add the cheat code acpi=force to the grub kernel line. I had to do this in order to get an old machine to shutdown properly.
 
Old 11-01-2006, 01:48 AM   #3
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 269

Rep: Reputation: 31
Quote:
Originally Posted by Redeye2
It's a bug with acpi. It'll get fixed eventually (hopefully lol), but for now you can add the cheat code acpi=force to the grub kernel line. I had to do this in order to get an old machine to shutdown properly.
redeye, i'm having the shutdown problem on xubuntu, too.

how do i get to the "grub kernal line" in order to add the cheat code?

tia...
 
Old 11-01-2006, 06:17 PM   #4
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
Run the following to open the file with read/write permissions: gksudo gedit /boot/grub/menu.lst
Look for the kernel you're running. Mine looks something like this (on Dapper):

title Ubuntu, kernel 2.6.15-27-k7
root (hd0,4)
kernel /boot/vmlinuz-2.6.15-27-k7 root=/dev/hda5 ro quiet splash
initrd /boot/initrd.img-2.6.15-27-k7
savedefault
boot

Add acpi=force to the kernel line, so it looks like this:
kernel /boot/vmlinuz-2.6.15-27-k7 root=/dev/hda5 ro quiet splash acpi=force

That's it! Each time you boot that kernel, the flag will be passed to it and hopefully, it'll work as a temporary fix.

Last edited by Redeye2; 11-01-2006 at 06:18 PM.
 
Old 11-04-2006, 04:14 PM   #5
jmanincharlotte
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Thanks very much Redeye2! I had the problem with my Kubuntu 6.10 not shutting down and just hanging in limbo. Yours was the only fix I found that worked! Thanks again.
 
Old 11-04-2006, 09:52 PM   #6
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
Quote:
Originally Posted by jmanincharlotte
Thanks very much Redeye2! I had the problem with my Kubuntu 6.10 not shutting down and just hanging in limbo. Yours was the only fix I found that worked! Thanks again.
Woot satisfied customer haha
 
Old 11-04-2006, 10:01 PM   #7
bioalchemist
Member
 
Registered: Oct 2005
Distribution: mandriva
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Redeye2
Woot satisfied customer haha

Well I didn't say anything before BUT ....


it didn't work for me :-(

I ended up re-installing Kubuntu, and it seems fine now ... never did figure out the problem with mine. Thanks for the reply, though!
 
Old 11-25-2006, 03:11 PM   #8
rturney
Member
 
Registered: Mar 2005
Distribution: SUSE 10.2
Posts: 33

Rep: Reputation: 15
Thanks Redeye2, My wife, a Linux newbie like myself, gave me a "honey-do" this morning to find out why her laptop, with a fresh install of SuSE 10.1, would not shut down. We followed your detailed instructions (thanks for details) and her machine shuts down now. It does ask for root password now before shutting down, but that's okay, no big deal.
 
Old 11-26-2006, 12:54 AM   #9
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
Hmm wonder why it asks for a root password... but good to know this mini guide helped some hehe
 
Old 01-28-2007, 01:47 AM   #10
gmathieu
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
You could use "sudo poweroff" at the prompt to do a shutdown.
 
Old 01-28-2007, 07:22 AM   #11
Matz
Member
 
Registered: Oct 2006
Distribution: Kubuntu 9.04, Debian Etch
Posts: 178

Rep: Reputation: 31
@bioalchemist

have tried to look at this thread?

It sometimes work...

[edit] I now realizes you reinstalled ubuntu and fixed your problem that way, sorry for not having read your post carefully

Last edited by Matz; 01-28-2007 at 07:24 AM.
 
  


Reply

Tags
acpi, grub, ubuntu


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
Kubuntu wont shutdown or reboot? Azalar Ubuntu 9 10-26-2009 08:51 PM
Fresh Kubuntu 6.06.1 install hangs during boot sequence Marbux Ubuntu 2 10-31-2006 09:27 AM
X hangs ONLY after reboot, after SUCCESSFUL nvidia install in Kubuntu budword Linux - Software 2 09-25-2006 11:38 PM
Kubuntu semi hangs on install alex1986 Ubuntu 1 07-27-2006 12:04 PM
Kubuntu 6.06 Dapper hangs often on boot sequence kalahari875 Ubuntu 4 07-08-2006 01:50 PM


All times are GMT -5. The time now is 06:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration