Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old February 11th, 2007   #1
L14UX_1NS1D3
A Carafe of Ubuntu
 
L14UX_1NS1D3's Avatar
 
Join Date: Dec 2006
Beans: 99
Exclamation Incomplete shutdown issue

Hi.
when I shutdown my desktop computer it does not shutdown fully, the system halt and I have to press the power button.
when I was using dapper I did not have this problem.
Is there a workaround for this problem?
__________________
Linux; life without walls, gates and windows!
L14UX_1NS1D3 is offline  
Old February 19th, 2007   #2
ridgeland
Ubuntu Extra Shot
 
ridgeland's Avatar
 
Join Date: Jan 2007
Location: Ridgeland WI US
Beans: 352
Ubuntu 9.04 Jaunty Jackalope
Re: Incomplete shutdown issue

I'm searching for an answer to the same question.
I'm setting up a very old PC with Xubuntu to use as a loaner. When I choose 'Shut Down' the logo shows then hangs. I have to push the Power Button in for 7 seconds and it halts.
Somewhere I once saw a post that said they had fixed this with a simple flag in GRUB. Anyone know what that was? I can't find that post again. I'll post back if I can fix it.
__________________
Dell-Ubuntu E520N Core 2 E6320, 4 GB RAM.
Open the door for Windows users by helping them use Firefox, OpenOffice, the GIMP and other Open Source.
ridgeland is offline  
Old February 19th, 2007   #3
ridgeland
Ubuntu Extra Shot
 
ridgeland's Avatar
 
Join Date: Jan 2007
Location: Ridgeland WI US
Beans: 352
Ubuntu 9.04 Jaunty Jackalope
Re: Incomplete shutdown issue

I'll post again although I could not get it to work.
I found several older threads and bug-reports that suggest adding to the kernel line in
/boot/grub/menu.lst
The suggestions were to add one of the following:
acpi=off
acpi=power_off
acpi=force lapic
acpi=off apm=power_off
None worked on my PC, a 1997 Gateway2000 GP5-200 with 192MB of RAM, 200 MHz Pentium.
I also tried acpi=off apm=off still no luck.
apci=off did eliminate a boot error message of "ACPI: unable to locate RSDP"
Since this is a problem/bug that seems to only be with old equipment I agree that it's a very low priority. My new (2002) PC doesn't have this problem.
Oh well.
__________________
Dell-Ubuntu E520N Core 2 E6320, 4 GB RAM.
Open the door for Windows users by helping them use Firefox, OpenOffice, the GIMP and other Open Source.
ridgeland is offline  
Old February 21st, 2007   #4
L14UX_1NS1D3
A Carafe of Ubuntu
 
L14UX_1NS1D3's Avatar
 
Join Date: Dec 2006
Beans: 99
Re: Incomplete shutdown issue

thank you for researching this problem.
I don't know where I would put the extra line is the menu.lst
__________________
Linux; life without walls, gates and windows!
L14UX_1NS1D3 is offline  
Old February 22nd, 2007   #5
ridgeland
Ubuntu Extra Shot
 
ridgeland's Avatar
 
Join Date: Jan 2007
Location: Ridgeland WI US
Beans: 352
Ubuntu 9.04 Jaunty Jackalope
Re: Incomplete shutdown issue

It is not an extra line. It is an addition to the kernel line.
When you boot your PC GRUB displays a few options such as:
Ubuntu, kernel 2.6.17-11-generic
Ubuntu, kernel 2.6.17-11-generic (recovery mode)
If you look in /boot/grub/menu.lst you will find a lot of comment lines ## then several sections for the different boot options. Each section will have lines like
title Ubuntu, kernel 2.6.17-11-generic
root (hd0,10)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda11 ro quiet splash
initrd /boot/initrd.img-2.6.17-11-generic
Notice the title line is what GRUB displayed when you booted. Test the acpi options by adding them to the kernel line. In the above just type the acpi=off etc after the word splash on the same line and save the file. Boot again and see if that fixed it.
In the terminal do these
$ sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.original
This copies the original menu.lst in case of problems. Always back up a system file before playing with it.
$ sudo gedit /boot/grub/menu.lst
Then be sure the section you edit is the same one you chose or default to in GRUB. In my case this is the "Ubuntu, kernel 2.6.17-11-generic. Add one of the apci= lines after splash save and reboot the system. Repeat the process until you win or run out of options.
Have fun.
__________________
Dell-Ubuntu E520N Core 2 E6320, 4 GB RAM.
Open the door for Windows users by helping them use Firefox, OpenOffice, the GIMP and other Open Source.
ridgeland is offline  
Old February 22nd, 2007   #6
L14UX_1NS1D3
A Carafe of Ubuntu
 
L14UX_1NS1D3's Avatar
 
Join Date: Dec 2006
Beans: 99
Re: Incomplete shutdown issue

Thanks very much for you research, I will try to see if t will work and report back.
__________________
Linux; life without walls, gates and windows!
L14UX_1NS1D3 is offline  
Old February 22nd, 2007   #7
xmastree
Iced Blended Vanilla Crème Ubuntu
 
xmastree's Avatar
 
Join Date: May 2005
Location: Burnley, Lancs.
Beans: 2,945
Ubuntu 6.10 Edgy
Send a message via ICQ to xmastree Send a message via Yahoo to xmastree
Re: Incomplete shutdown issue

One thing about this (or any boot option), if you install a new kernel (as happens from time to time) your grub config will be overwritten, so I suggest you make a backup from which to copy your changes to the new one.
Otherwise, you'll forget what you did, and wonder why it's suddenly stopped shutting down again. I did...
__________________
Some people say I'm a man of few words, but the fact is that most people talk too much without actually saying anything.
xmastree is offline  
Old February 23rd, 2007   #8
Redeyes_Gambit
Gee! These Aren't Roasted!
 
Redeyes_Gambit's Avatar
 
Join Date: Dec 2005
Location: USA, AR
Beans: 181
Kubuntu 8.10 Intrepid Ibex
Send a message via MSN to Redeyes_Gambit Send a message via Yahoo to Redeyes_Gambit
Re: Incomplete shutdown issue

I too have this issue with two machines.

If you are using an old Dell (gx1/gxa etc) chances are it is an option in the BIOS that is preventing your shutdown. You need to activate ACPI. Turn that on in your BIOS and VIOLA! working shutdown.

If, however, you have a different machine without an ACPI option, chances are it's a genuine glitch that is preventing proper shutdown. I have a machine like that and I'm still looking for a solution.
__________________

Last edited by Redeyes_Gambit; November 18th, 2007 at 10:35 AM..
Redeyes_Gambit is offline  
Old March 1st, 2007   #9
L14UX_1NS1D3
A Carafe of Ubuntu
 
L14UX_1NS1D3's Avatar
 
Join Date: Dec 2006
Beans: 99
Re: Incomplete shutdown issue

yay, I've upgraded. I have a beautiful dell optiplex GX400 nothing to fancy but it's a step up from using my old PIII. no more shutdown issues, it was probably something to do with the bios as you guys said. but now I have to press F1 if I want to boot up because it can 't see the default ide hard drives I removed and replaced with an old scusi hd. It sees the scusi drive and boots up after I press F1 but I would like to just have it boot up without any interaction. so I'll see if I can fix it and report back later of I run into some problems.
__________________
Linux; life without walls, gates and windows!
L14UX_1NS1D3 is offline  
Old March 7th, 2007   #10
Redeyes_Gambit
Gee! These Aren't Roasted!
 
Redeyes_Gambit's Avatar
 
Join Date: Dec 2005
Location: USA, AR
Beans: 181
Kubuntu 8.10 Intrepid Ibex
Send a message via MSN to Redeyes_Gambit Send a message via Yahoo to Redeyes_Gambit
Re: Incomplete shutdown issue

For anyone else having these issues:

I've fixed it! No more annoying shutdown problems. The answer is kinda spaced out over a couple of posts:

http://www.ubuntuforums.org/showthre...highlight=hang

http://ubuntuforums.org/showthread.p...light=shutdown

Basically I combined steps from both posts into this:

Step 1: Add

Code:
apm power_off=1
to your /etc/modules

Mine already had an entry so I just added the code directly below it and then hit enter to add 1 blank space at the end of the file. Basically it should look like this:

Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
apm power_off=1
You may have other modules like fuse or p4_clockmod or whatnot. That's ok. So long as you put in "apm power_off=1" and keep a blank entry at the end of the file you should be ok. The blank entry might not be needed, but it was there when I started so I kept it.

Step 2: Add

Code:
acpi=off apm=power_off
to your /boot/menu.lst so it looks like this:

Code:
## ## End Default Options ##

title Debian GNU/Linux, kernel 2.6.18-3-k7
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-3-k7 root=/dev/hda2 ro acpi=off apm=power_off
initrd /boot/initrd.img-2.6.18-3-k7
You probably have other entries in your boot stanza like quiet splash and the like, but that's ok. So long as the acpi=off apm=power_off is there it should work.

Please note that just about all the code and what not are shameless rips from Kross's excellent posts. PM him a pat on the back if this worked for you, since it looks like he really took initiative and tracked this problem down well.
__________________

Last edited by Redeyes_Gambit; March 7th, 2007 at 04:39 PM..
Redeyes_Gambit is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:22 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry