LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-27-2008, 11:51 AM   #1
Ewan the moomintroll
LQ Newbie
 
Registered: Nov 2008
Posts: 16

Rep: Reputation: 0
Ubuntu doesn't shutdown properly.


Hi,

I've had Ubuntu for a few months now, and since I installed it has not shut down properly; I have to switch it off by holding the off button down for a few seconds.This problem happened in 8.08 and still happens in 8.10.
It gets to the end of the bar, so it is all black, there is a click and the keyboard switches off. Then nothing, it just hangs there.
When I start up I get a brief message about acpi force off, bios settings or something. I can't be sure because it's to brief to read.

I started a post on it here:
http://ubuntuforums.org/showthread.php?t=964767

I'll try everything I can and persist to get this fixed, because it really is annoying, and probably bad for my computer so if you can help it would be great.

Thanks,
Ewan
 
Old 11-28-2008, 09:54 AM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Start with the logs

When you reboot, look in your logs (/var/log). Start with messages and syslog and the output of dmesg. This could be due to a number of things.
What kind of hardware is this?
 
Old 11-28-2008, 10:32 AM   #3
rob33n
Member
 
Registered: May 2007
Location: Turkey
Distribution: Ubuntu - Debian
Posts: 134

Rep: Reputation: 16
i have same problem for 1 week. which logs we should look? is it user.log
 
Old 11-28-2008, 11:18 AM   #4
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
Known Bug

This is a known issue - Bug #274995

The solution that works for most people is:

Open the terminal and type:

Quote:
sudo gedit /etc/init.d/alsa-utils
The file opens in Gedit and around line 353 you'll find the instruction "stop)". Below this instruction you should add these two instructions:

ifconfig wlan0 down
ifconfig eth0 down

So, the file should be this way:

Quote:
stop)
ifconfig wlan0 down
ifconfig eth0 down
EXITSTATUS=0
Save the file, close the terminal, and restart Ubuntu.

Hope this helps.
 
Old 11-28-2008, 11:37 AM   #5
Ewan the moomintroll
LQ Newbie
 
Registered: Nov 2008
Posts: 16

Original Poster
Rep: Reputation: 0
And doing that won't mess anything up?
 
Old 11-28-2008, 05:51 PM   #6
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
I can't say personally, as I've never had this issue. But I googled your problem and found quite a lot of conversation about it on several sites, and it is a known bug. As for the solution, which was found on all of them, the worst-case scenario was one person who said that it simply didn't fix the problem. Everyone else who tried it was more than satisfied.

Last edited by DragonSlayer48DX; 11-28-2008 at 06:01 PM.
 
Old 11-28-2008, 09:55 PM   #7
rgreeves
Member
 
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111

Rep: Reputation: 15
solved for me

Dragonslayer*** your solution worked wonderfully for me. Shuts down without the delay now. Amazing how a few lines of code can make a difference.

Now if I could get my sound working.........

Thanks for you efforts.

Last edited by rgreeves; 11-28-2008 at 09:57 PM.
 
Old 11-29-2008, 09:16 AM   #8
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
You're welcome, and thank you for letting us know it worked!

Cheers
 
Old 11-29-2008, 01:00 PM   #9
oxleyk
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 309

Rep: Reputation: 30
Cool, it worked for me also. I didn't have the problem of my computer hanging up, it just took a long time to shutdown.

Kent
 
Old 11-29-2008, 01:36 PM   #10
Ewan the moomintroll
LQ Newbie
 
Registered: Nov 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Sadly, it didn't work for me.
 
Old 11-29-2008, 07:15 PM   #11
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
According to your Ubuntu thread, you're using an epox 8k5a3+ motherboard. It's not exactly cutting edge, as near as I can see, so it may be a problem with the age of the BIOS and ACPI. I have that problem with my IBM T20 laptop. Open a terminal and enter
Code:
sudo lshw | less
.

There should be en try (probably under *-firmware) that lists your BIOS info. Here's what mine looks like:
Code:
john-laptop
    description: Notebook
    product: 264784U
    vendor: IBM
    version: Not Available
    serial: 78PLL39
    width: 32 bits
    capabilities: smbios-2.3 dmi-2.3
    configuration: boot=normal chassis=notebook uuid=A9BF1A80-4341-11CB-AEE8-97125F776C31
  *-core
       description: Motherboard
       product: 264784U
       vendor: IBM
       physical id: 0
       version: Not Available
       serial: J1D8E023757
     *-firmware
          description: BIOS
          vendor: IBM
          physical id: 0
          version: IYET60WW (1.21 ) (12/21/1999)
          size: 128KiB
          capacity: 448KiB
          capabilities: isa pci pcmcia pnp apm upgrade shadowing escd cdboot bootselect pcmciaboot edd int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi agp ls120boot biosbootspecification
Note the date (12/21/1999). When mine wouldn't shut down properly, I found an error message stating that the ACPI would not be loaded due to the age of the BIOS - even though I had loaded the latest update just a couple of years ago. AFter some research, I found a solution that works for me. Modify your /etc/modules file by making an entry in the last line. I've had no further problems
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.

fuse
lp
# This note is carried over from Kubuntu 7.10
# JHG 2-19-08 Tested /etc/init.d/halt and made changes that are
# related to "halt: ... " message on shutdown; incomplete power off.
# This is O.K. Have corrected S90halt and S90reboot to eliminate the "halt: ... "
# notice.  Took out the references to "hddown=", not needed, no RAID.
# Took out reboot -i and halt -i  since kernel takes care of IDE drives.
apm power_off=1
 
Old 11-30-2008, 06:25 AM   #12
Ewan the moomintroll
LQ Newbie
 
Registered: Nov 2008
Posts: 16

Original Poster
Rep: Reputation: 0
thanks very much, but my /etc/modules file already had that entry.
My sudo lshw | less output looked very different to yours, but I think you're right that my motherboards BIOS is out of date.
 
Old 12-11-2008, 10:21 AM   #13
Ewan the moomintroll
LQ Newbie
 
Registered: Nov 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Um, any more help would be appreciated.
 
Old 12-11-2008, 09:34 PM   #14
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
Look in your /boot/grub/menu.lst file and see if you have boot parameters such as "acpi=force" or anything else related to acpi. If that exists, it may be that a forced install of acpi is trying to give messages to your BIOS that the BIOS can't process.

Just a wild guess.
 
Old 12-13-2008, 02:48 PM   #15
Ewan the moomintroll
LQ Newbie
 
Registered: Nov 2008
Posts: 16

Original Poster
Rep: Reputation: 0
I don't have acpi=force in there.
 
  


Reply

Tags
hang, shut


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
Can not shutdown the computer properly michael! Linux - Hardware 2 09-25-2006 01:18 AM
Properly shutdown Haiyadragon Linux - Hardware 1 06-08-2006 11:22 AM
cannot shutdown properly space_beyond Linux - Security 7 07-15-2005 01:17 PM
Can't shutdown properly hus Linux - Newbie 5 01-01-2004 05:24 AM
Cannot Shutdown/Reboot properly skiu4ia Linux - Newbie 3 05-21-2002 07:03 AM


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