ubuntu does not shut down properly

Asked by Niraj

Hi,
    When I try to shut down ubuntu (10.04) on my desktop, most of the times it does not shut down properly. It shows final ubuntu logo and then the logo is spread over the screen and my PC hangs in there. I have to manually power it off.
    The problem was there when I was using Jauntu/Karmic on 'in windows installation'. Now I have lucid installed on dedicated partition and still the problem persists.
    I am having amd athelon 4800+ and ASUS motherboard with 1 GB RAM. I have tried to see logs but couldnt find anything useful.
    Can somebody help me debug this problem?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu acpi Edit question
Assignee:
No assignee Edit question
Solved by:
Niraj
Solved:
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Hello niraj

This is a well known problem wrt amd with 10.04

Try this

sudo gedit /etc/default/grub

change : GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

by : GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi=force"

and sudo update-grub

Or try entering this:

sudo su

init 0

and see if it works

additionally you can have a look at these bug reports

https://bugs.edge.launchpad.net/ubuntu/+source/openoffice.org/+bug/562027

https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/552316

Regards

Revision history for this message
Niraj (kulkarniniraj) said :
#2

Thanx, but that didn't solve my problem. I want to add that the problem is only with shutdown, not reboot/logout.
Can anybody tell me how can I use dmesg to get actual problem? Also generally how acpi related problems are debugged?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

niraj please try to type this command from terminal:

sudo update-grub2

Reboot your pc to have new boot parameter active and then try to shutdown...

Revision history for this message
Niraj (kulkarniniraj) said :
#4

Hi,
    Actually Bhavani Shankar have also stated the same thing and I have done it before rebooting my PC. I even check in grub.cfg to see if my changes have taken place. But the problem still persists.

Revision history for this message
Niraj (kulkarniniraj) said :
#5

By the way I have added this problem to bug list

Revision history for this message
wojox (wojox) said :
#6

Hey Niraj

Did you run Open Office with the quick starter applet enabled from within the software? If so, this is the issue. To fix the problem, you only need disable the Open Office autostart.

The way I did it was to open up Writer, then goto Tools>Options>OpenOffice.org>Memory. Uncheck the quickstarter box. That’s all there is to it. And now you can turn off the Ubuntu computer without any further problems.

You could also try this work around

Right click on the bar at the top of the screen select "Add to panel" and add the Shut Down button. This seems to shut down the power OK.

Revision history for this message
Niraj (kulkarniniraj) said :
#7

Thanx wojox
         But I have tried open office thing also, and it turned out that I have not enabled Open Office quickstarter. Even startup applications window does not show any entry for Open office.
        Regarding second work-around, I have tried command like init 0 , shutdown -P etc but none have worked. If that solution uses other commands than these two, then please let me know. I will try it out.

Revision history for this message
wojox (wojox) said :
#8

Right click on the bar at the top of the screen select "Add to panel" and add the Shut Down button. This seems to shut down the power OK.

Yes this should work 99% of the time.

Revision history for this message
Niraj (kulkarniniraj) said :
#9

Thanks for the reply.
         Right now I have updated my BIOS and system is shutting down properly. I will test it a few more times, and also try your solution.
      Anyway thanks again.

Revision history for this message
Niraj (kulkarniniraj) said :
#10

OK. Problem solved. I have upgraded my BIOS and both windows and ubuntu shut down properly now.
Thanks for help

Revision history for this message
Audinarayana Reddy (audireddy) said :
#11

Hi Bhavani,
i installed ubuntu 8.0 desktop edition,mu desktop model name:Pentium(R) Dual-Core CPU E5700 @ 3.00GHz
nic drivers is arthos
in that time ether net device is not detected,
hopw to solve this problem
Thanks
Audi