shutting down ubuntu 12.04

Essence_of_War

Platinum Member
Feb 21, 2013
2,650
4
81
On one of my work computers, we have Ubuntu 12.04 installed on a system with a Core2Extreme and EVGA 790i ftw MotherBoard.

When I shutdown Ubuntu by clicking on the power->shutdown from the desktop GUI, it hangs at an "ubuntu" splash screen and all of the case fans/lights etc clearly remain powered on.

If I shutdown from terminal w/ 'sudo shutdown -P now' I hang at the same splash screen, but all of my case fans (which are attached to motherboard 3-pin headers) shut off. The CPU fan, and lights in the case remain on.

Is there a good way to fix this problem? :hmm:
 

Anteaus

Platinum Member
Oct 28, 2010
2,448
4
81
I've never heard of a -p switch. I usually use sudo shutdown -h now. After looking it up -p means poweroff though I've never used it, but maybe try the -h and see if it helps.
 

Essence_of_War

Platinum Member
Feb 21, 2013
2,650
4
81
I checked the help for shutdown, and it claims that -P implies -h also, but I can def try it with that also.
 

Essence_of_War

Platinum Member
Feb 21, 2013
2,650
4
81
I tried 'shutdown -h now' and rather than hanging on the splash screen, it tosses me to some verbose output the last line of which is "Will now halt".

But it hangs at this point and power remains on to my case fans, lights etc.
 

Anteaus

Platinum Member
Oct 28, 2010
2,448
4
81
Interesting. I'm starting to suspect power management. Perhaps it's sending out the power off command to the chipset but it isn't accepting it or maybe the driver isn't working.

Is this a new problem with an older install or is this a new linux install on an older Windows machine?
 

Essence_of_War

Platinum Member
Feb 21, 2013
2,650
4
81
The latter.

This was an exclusively windows XP box, it's being repurposed to have windows 8.1 and ubuntu 12.04.
 

Essence_of_War

Platinum Member
Feb 21, 2013
2,650
4
81
ACPI is def enabled in the BIOS.

I don't think I know how to check for, or enable it, in the kernel.
 

theevilsharpie

Platinum Member
Nov 2, 2009
2,322
14
81
I would consider ACPI shutdown problems to be very unlikely on any computers made this millennium.

Your problem is probably being caused by a program that is hanging the shutdown process. I think you can temporarily disable the splash screen by pressing the escape key, but if that doesn't work, you can modify your grub configuration to disable the splash screen entirely.

`shutdown -p` is the proper command to shutdown the system. `shutdown -h` works similarly to the Windows 95-era shutdown process where it flushes data to disk and halts all processing, but you have to manually turn the machine off.
 

inf1nity

Golden Member
Mar 12, 2013
1,181
3
0
Try to use capital H instead of small h as the switch in the shutdown command. I dont remember clearly now, but i think one of them powers down the computer, whereas the other one simply halts it.
 

Essence_of_War

Platinum Member
Feb 21, 2013
2,650
4
81
Ok, so I edited GRUB to
1) Force ACPI
2) no quiet no splash

If I shutdown by clicking the power->shutdown I hang at this text:

*Asking all remaining processes terminate....OK
*All processes ended within 1 seconds..........OK
nm-dispatcher.action: Caught signa [68.033243] reboot: Power down
modem-manager[1035]: <info> Caught Signal 15, shutting down...

* Deconfiguring Network Interfaces........OK
* Deactivating Swap..............................OK
* Unmounting local filesystems...............OK
* Stopping remaining crypto disks...........OK
* Stopping early crypto disks..................OK
unmount: /run/lock: not mounted
unmount: /run/shm: not mounted
*Will now halt

If I force shutdown from the command line w/ "sudo shutdown -P -v now, I get slightly similar:
[114.345251] reboot: Power down... [fail]
nm.dispatcher.action: Caught Signal 15, shutting down...
* Deconfiguring Network Interfaces........OK
* Deactivating Swap..............................OK
* Stopping remaining crypto disks...........OK
* Stopping early crypto disks..................OK
unmount: /run/lock: not mounted
unmount: /run/shm: not mounted
and still hang.