You are not logged in.

#1 2011-08-02 01:47:09

DrKillPatient
Member
Registered: 2011-07-28
Posts: 85

Computer doesn't turn off completely

My desktop doesn't actually turn itself off when I shut it down in Arch. Actually, every Linux distro that I've tried (mint/ubuntu/fedora/SUSE as far as I can recall) does this. I'll hit the off button in the GUI or do shutdown -h now in the terminal, and it reaches 'power down' and sits there with a blinking cursor. I suspect Arch isn't using my resources to as much of an extent as the other distros I've tried, but with the others I've been able to hear-- fairly clearly-- everything that's been whirring winding down to a halt. At this point I have to hold down the power button to turn the computer off. I suspect it's a problem with my hardware failing to receive the final "shut off the power" command, and that it's simultaneously not fixable but not really more than a petty annoyance, and won't damage anything. Am I wrong in either assumption?-- maybe the first and hopefully not the second.

Here's the output immediately after the entry "> POWER OFF", the result of executing "shutdown -h now":

Synchronizing SCSI cache
Stopping disk
Synchronizing SCSI cache
Stopping disk
PCI INT A disabled
PCI INT C disabled
wake-up capability enabled by ACPI
ACPI: Preparing to enter system sleep state S5
Disabling non-boot CPUs ...
Power down.

And it sticks there.

Last edited by DrKillPatient (2011-08-02 01:47:55)

Offline

#2 2011-08-02 02:31:43

admiralspark
Member
From: Alaska, USA
Registered: 2011-01-07
Posts: 87

Re: Computer doesn't turn off completely

same thing, slightly different readout on my netbook. First, try 'sudo poweroff' and see if that makes a difference, though it probably won't. Is the harddrive still spinning when you get to POWER OFF?


Team Ignition Kernel Developer
linux-ideapad developer/maintainer
Flame Kernel developer for Galaxy Nexus and Galaxy S3
Want a cheap, reliable VPS with AWESOME customer service?

Offline

#3 2011-08-02 18:23:27

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: Computer doesn't turn off completely

Exactly the same thing here


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#4 2011-08-02 18:25:25

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: Computer doesn't turn off completely

Have you tried passing the P flag with shutdown

shutdown -hP now

Rauchen verboten

Offline

#5 2011-08-02 18:37:33

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: Computer doesn't turn off completely

SS4 wrote:

Have you tried passing the P flag with shutdown

shutdown -hP now

Nope, that doesn't work either, just freezes after powering down disks


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#6 2011-08-02 19:59:56

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Computer doesn't turn off completely

I suggest you go into your BIOS and play with the ACPI/APM/sleep settings.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#7 2011-08-03 00:58:14

DrKillPatient
Member
Registered: 2011-07-28
Posts: 85

Re: Computer doesn't turn off completely

admiralspark wrote:

same thing, slightly different readout on my netbook. First, try 'sudo poweroff' and see if that makes a difference, though it probably won't. Is the harddrive still spinning when you get to POWER OFF?

I hear a distinctive 'wind-down' noise as it runs the shutdown process. In addition, it does say "synchronizing SCSI cache / stopping disk" twice, I assume it's shutting down my two HDs. Is that an effective way to determine it?


Iagagnon wrote:

I suggest you go into your BIOS and play with the ACPI/APM/sleep settings.

I see ACPI suspend state is set as S3 State. The other option is S1. Is that what I should be changing?

Last edited by DrKillPatient (2011-08-03 00:58:56)

Offline

#8 2011-08-03 01:10:13

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: Computer doesn't turn off completely

Ok, finally got this working over here; in my /boot/grub/menu.lst, I added pci=noacpi to the kernel line, then in my /etc/rc.local.shutdown (as referenced here: https://bbs.archlinux.org/viewtopic.php?id=122956) I added modprobe -r vboxdrv, shutdown and reboot work now smile


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#9 2011-08-03 01:14:52

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Computer doesn't turn off completely

I had a similar issue after init scripts update, but with reboot. After inspecting rc.shutdown, I simply added full path to poweroff and reboot commands, as they were before:

if [[ $RUNLEVEL = 0 ]]; then
    printhl "${C_H2}POWER OFF"
    /sbin/poweroff -d -f -h -i                                                <-- here...
else
    printhl "${C_H2}REBOOTING"
    # if kexec is installed and a kernel is loaded, use it
    [[ -x $(type -P kexec) ]] && kexec -e &>/dev/null
    /sbin/reboot -d -f -i                                                     <-- ...and here
fi

Now everything's OK. Maybe it works for you, too.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#10 2011-08-03 17:26:43

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: Computer doesn't turn off completely

actually, setting pci=noacpi makes usb devices not work, so thats a bad idea, but the computer does shut down..... *looks for an alternative*

Thanks bohoomil, but nope, that doesn't work here

Last edited by 1LordAnubis (2011-08-03 17:33:52)


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#11 2011-11-09 05:54:14

eqyiel
Member
From: Australia
Registered: 2011-09-29
Posts: 9

Re: Computer doesn't turn off completely

DrKillPatient wrote:
admiralspark wrote:

same thing, slightly different readout on my netbook. First, try 'sudo poweroff' and see if that makes a difference, though it probably won't. Is the harddrive still spinning when you get to POWER OFF?

I hear a distinctive 'wind-down' noise as it runs the shutdown process. In addition, it does say "synchronizing SCSI cache / stopping disk" twice, I assume it's shutting down my two HDs. Is that an effective way to determine it?


Iagagnon wrote:

I suggest you go into your BIOS and play with the ACPI/APM/sleep settings.

I see ACPI suspend state is set as S3 State. The other option is S1. Is that what I should be changing?

Hi, I was having the same problem and this is what needed changing in my BIOS.
BIOS > Power Management Setup > Wake Up Event Setup > Resume by PCI or PCI-E Device: [Enabled]
Toggle that to disabled.  At first I thought it might let xorg go to sleep while watching movies or something but everything appears to be okay.

Are you using a custom kernel?

In case anyone knows more about this issue, I'm running x86_64 2.6.33.9-rt31 and rt-patched nvidia 285.05.09-1.  Other symptoms: can shut down properly after starting X but not directly from tty after login.  I get that this is a thoroughly unsupported combination and the problem only appeared when I switched to this setup from the stock kernel and drivers in extra, but this indicates to me that the problem is with your graphics driver... maybe??

Offline

Board footer

Powered by FluxBB