Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

3.8.4 Large memory and auto power-off

Edit /etc/lilo.conf as follows to set boot-prompt parameters for large memory (for 2.2 kernels) and auto power-off (for APM):

     append="mem=128M apm=on apm=power-off noapic"

Run lilo to install these settings. apm=power-off is needed for a SMP kernel and noapic is needed to avoid problems for my buggy SMP hardware. The same can be done directly by entering options at the boot prompt. See Other boot tricks with the boot prompt, Section 8.1.5.

If APM is compiled as a module, as in Debian default 2.4 kernels, run insmod apm power_off=1 after boot or set /etc/modules by:

     # echo "apm power_off=1" >>/etc/modules

Alternatively, compiling ACPI support achieves the same goal with newer kernels and seems to be more SMP-friendly (this requires a newer motherboard). The 2.4 kernel on newer motherboards should detect large memory correctly.

     CONFIG_PM=y
     CONFIG_ACPI=y
     ...
     CONFIG_ACPI_BUSMGR=m
     CONFIG_ACPI_SYS=m

and add the following lines in /etc/modules in this order:

     ospm_busmgr
     ospm_system

Or recompile the kernel with all of the kernel options above set to "y". In any case, none of the boot-prompt parameters are needed with ACPI.


Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire