LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slack13: Problem with machine_restart and acpi_poweroff (https://www.linuxquestions.org/questions/slackware-14/slack13-problem-with-machine_restart-and-acpi_poweroff-752310/)

kemsiro 09-03-2009 02:25 AM

Slack13: Problem with machine_restart and acpi_poweroff
 
My computer cannot automatically restart or power off.
When I call:
#halt
it terminate all processes, the it call acpi_poweroff then display the message "system halt", and my computer stay at there and cannot type or do anything, one thing is needed to do is hold the power button and turn off.
Similarly,
#reboot
it stops at "machine_restart" and stay at them.
Do you know what's wrong with my computer?
My computer is ASUS K40IN, and it can turn off or restart automatically in Windows XP (without the help of the power button:mad:)

gegechris99 09-03-2009 04:45 AM

Quote:

Originally Posted by kemsiro (Post 3667850)
When I call:
#halt
it terminate all processes, the it call acpi_poweroff then display the message "system halt", and my computer stay at there and cannot type or do anything, one thing is needed to do is hold the power button and turn off.

From the CHANGES_AND_HINTS.TXT:

Quote:

If you have an older machine (with a BIOS released prior to 2001) and it will
not power off on shutdown, try adding this to your kernel's lilo stanza:
append = "acpi=force"
Edit your /etc/lilo.conf to add the line:

Code:

# Linux bootable partition config begins
image = /boot/vmlinuz-generic-2.6.29.6
  initrd = /boot/initrd.gz
  append = "acpi=force"
  root = /dev/hda6
  label = Lnx26296
  read-only
# Linux bootable partition config ends

and run lilo to make sure changes are taken into account after the next reboot:

Code:

/sbin/lilo


All times are GMT -5. The time now is 10:41 PM.