LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-05-2008, 05:34 AM   #1
Delacroix
LQ Newbie
 
Registered: Feb 2008
Location: China
Distribution: Fedora
Posts: 5

Rep: Reputation: 0
Why do I have to disable acpi and apm before installation then enable them afterwards


With the help of Google, I spent nearly a week to finally install Fedora 8 on my Compaq Presario V3414TX laptop. One thing in installation arouse my interest.

I install Fedora 8 from the ISO file in my hard disk (hd0,4). So when I rebooted to the grub console I typed the following commands:

grub> root (hd0,4)
grub> kernel /vmlinuz
grub> initrd /initrd.img
grub> boot

Then the machine started to run until it shows

running install...
running /sbin/loader

and stop working. I searched Google to solve the problem by adding acpi and apm configuring argument:

grub> root (hd0,4)
grub> kernel /vmlinuz acpi=off apm=off
grub> initrd /initrd.img
grub> boot

Then it worked and led me to the installation.

However, having installed the system, my wireless adapter (Intel PRO/3945ABG Wireless) no longer worked! No matter what driver I installed, when I modprobe the driver, it always shows

Radio Frequency Kill Switch is On
Kill Switch must be turned off for wireless networking to work

in dmesg. Moreover, I have to turn off the power manually after shutting down the system, which never happened when I used Fedora Core 5 on the same laptop.

One week after installation, I solved this problem accidentally by modifying /etc/grub.conf. In /etc/grub.conf I have

title Fedora 8 (2.6.23.1-42.fc8)
root (hd0,1)
kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb acpi=off apm=off quiet
initrd /initrd-2.6.23.1-42.fc8.img

I modified the "kernel" line by removing acpi and apm argument:

kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

then reboot. Now all things are running well (except the wireless LED doesn't light ).

By searching about Google again, I come to know that acpi and apm are two things dealing with power and battery management. But can anyone tell me more about why I should disable them to install from hard disk and enable them to use wireless adapter and automatic shutdown?

Many thanks!
 
Old 02-06-2008, 09:30 PM   #2
roy_lt_69
Member
 
Registered: Aug 2006
Location: Vancouver, BC, Canada
Distribution: Slackware, Mint, Debian
Posts: 238

Rep: Reputation: 29
The install probably used a different kernel (or differently configured kernel) than the one installed to the hard disk.
Consider that the install kernel needs to be generic enough to run on as much systems as needed, before it finally copies a kernel specific to your system, eg SMP/i586/686/amd/..., support for specific h/w compiled into the kernel, etc.
 
Old 02-07-2008, 09:17 PM   #3
Delacroix
LQ Newbie
 
Registered: Feb 2008
Location: China
Distribution: Fedora
Posts: 5

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by roy_lt_69 View Post
The install probably used a different kernel (or differently configured kernel) than the one installed to the hard disk.
Consider that the install kernel needs to be generic enough to run on as much systems as needed, before it finally copies a kernel specific to your system, eg SMP/i586/686/amd/..., support for specific h/w compiled into the kernel, etc.
So that's why I have to turn acpi and apm off before installation because some systems don't have these two things, and we must turn off anything that's specific?
 
Old 02-10-2008, 11:19 PM   #4
roy_lt_69
Member
 
Registered: Aug 2006
Location: Vancouver, BC, Canada
Distribution: Slackware, Mint, Debian
Posts: 238

Rep: Reputation: 29
Well, acpi and apm are specifications for power management (in addition for other thngs).
Unfortunately, not every hardware/Bios manufacturer implement them consistently (correctly??).
Some try to extend the standards with added features.
Seeing that you have a Compaq, I would not be surprised that they added their own features.
This is true not only for acpi/apm but for alot of other standards.

Thus some systems require different boot options.
 
Old 02-13-2008, 04:55 AM   #5
Delacroix
LQ Newbie
 
Registered: Feb 2008
Location: China
Distribution: Fedora
Posts: 5

Original Poster
Rep: Reputation: 0
Maybe it's more exactly to say that different installers have different boot options. Thank you, roy_lt_69, I now have the general idea.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ACPI vs APM ptawe Debian 1 02-21-2006 01:58 PM
ACPI and APM dvrboy Linux - Laptop and Netbook 1 03-08-2005 06:19 AM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM
ACPI or APM? thom Mandriva 7 04-21-2004 02:54 PM
apm and acpi boicraig Linux - Software 1 01-08-2003 10:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration