LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Turn off or reboot machine by command failed (https://www.linuxquestions.org/questions/slackware-14/turn-off-or-reboot-machine-by-command-failed-842377/)

kemsiro 11-04-2010 02:01 PM

Turn off or reboot machine by command failed
 
I am using Slackware 13.1 on my Asus K40IN, I also use dual boot by LILO with Windows XP.

In Windows XP I can reboot or shutdown by select Start -> Turn off Computer, or just physically push the power button, then the machine will shutdown.

In my Slackware 13.1, I can physically push the power button, the machine show that it is switching to run level 0, and then it will power off.

However, I can not turn it off or restart my machine by the command (run "halt" or "reboot" as root), it show identical things like when I physically push button, but when it turn to status "Restarting machine" or "Turning off machine", my computer hang there, it does not power off machine or restart it.

Is there any one experienced this situation? What should I do to fix it?

Thank you for your help.

sys64738 11-04-2010 05:50 PM

Hi,

I don't know a solution for your problem but I would recommend to read: http://tldp.org/HOWTO/ACPI-HOWTO/.
I don't know Slackware but I think you have problem with ACPI functions.
Or do you use APM (if your PC is older)?

Skaperen 11-05-2010 08:44 AM

Boot the Slackware install ISO and proceed until you get the shell prompt after logging in as root (where you would normally do "setup" to install). Then do "halt -fp" to see if that successfully powers off your computer. If so, something has been mangled in your system. If not, something is amiss between hardware and software (probably ACPI). If not, try this with another distro's live CD to see if they have the right magic incantations.

thirteen_engines 11-07-2010 09:43 AM

I've always used 'shutdown -r' for rebooting and 'shutdown -h' for stopping the computer since the early days of Slackware.

Having said this, I have not used either of these commands in some time since I'm now mostly using KDE and shutting down or rebooting from there. About the only time I use it now is to reboot a remote machine.

Hope this helps.

Keith


All times are GMT -5. The time now is 06:06 AM.