Automatic Power-Off of an SMP System

Support knowledgebase (swiegra_SMP_power-off)
Applies to

SuSE Linux: Version 8.0

Situation

You use a multi-processor system and you would like your computer to turn off automatically when you shut it down.

Procedure

Use the kernel parameter 'apm=power-off'. Insert this parameter in the correspondening append line of LILO's configuration file (/etc/lilo.conf).

To do this, proceed as follows:

  1. Open the file /etc/lilo.conf with an editor of your choice, e.g.:
    
    mcedit /etc/lilo.conf
    
    
  2. Search for the following section (at the line "root", your root partition will be displayed):
    
    image  = /boot/vmlinuz
      label  = linux
      root   = /dev/hdxx
      initrd = /boot/initrd
      append = "acpismp=force"
    
    
    

    and insert the above mentioned parameter in the append line. The result should look like this:

    
    image  = /boot/vmlinuz
      label  = linux
      root   = /dev/hdxx
      initrd = /boot/initrd
      append = "acpismp=force apm=power-off"
    
    
  3. Save the file (F2) and quit the editor (F10). Now proceed to reinstall LILO:

    
    lilo
    
    
  4. After rebooting your computer, it should turn off automatically at shutdown.

Keywords: SMP, KERNEL, DUAL, PROCESSOR, SHUTDOWN, POWER-OFF

Categories: Hardware

SDB-swiegra_SMP_power-off, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 27. Sep 2002
SuSE Linux AG - Last generated: 07. Oct 2002 by glazzar (sdb_gen 1.40.0)