LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Linux Answers > Hardware
User Name
Password

Notices


By PCLinux at 2003-09-01 05:32
FEATURE: Recompiling the kernel for Compaq Presario 7xx Notebooks ACPI solution
Posted on Monday, September 1st @ 12:04 by PCLinux (Netherlands)


Recompiling the kernel


The proper steps for recompiling the kernel on Mandrake cooker are the following:


1) Install the package "kernel-source"

2) Make yourself root and go to /usr/src/linux


3) type: "make mrproper"


4) type: "make xconfig" (if you are in an X environment)
A window will pop up, which has all the configuration options of the kernel.


Here is what I changed from the defaults:


Processor type and features

Processor family: from 'i586' to 'athlon/duron/k7'

AMD mobile Athlon/Duron Powernow!: from 'm' to 'y'

Local APIC support on uniprocessors: from 'y' to 'n'

General setup

PCI hotplug support

Support for PCI hotplug (EXPERIMENTAL): from 'm' to 'n'

Advanced power management BIOS support: from 'm' to 'n'

ACPI support

AC adapter: from 'm' to 'y'

Battery: from 'm' to 'y'

Button: from 'm' to 'y'

Fan: from 'm' to 'y'

Processor: from 'm' to 'y'

Thermal Zone: from 'm' to 'y'

Toshiba laptop extras: from 'm' to 'n'


5) type: "make dep && make clean && make bzImage && make modules"
This took aproximately 2 hours to compile.


6) type: "make modules_install"


7) type: "make install"
This will install the correct references into the boot-loader (at least it did in grub)

Works perfect. (Was from an article where I can not find the source from!)

PCLinux"

by kolchuga on Fri, 2004-06-25 04:32
I Ran Mandrake 9.2 almost 6 Months on old Presario 1250 notebook worked fine, but slow.
Only Problems was getting sound to work correct because of JBL Chipset.

by dominedi on Wed, 2005-05-18 11:58
solution faster than recompile the kernel

just install ACPI-x.x.x and ACPID-x.x.x from install rpm
add NOLAPIC in the boot option (lilo.conf) of the kernel image and
remove any ACPI=off, ACPI=ht or ACPI=on.
check that acpi service is loaded
in
/etc/rc.d/rc.local
add those lines at the end :
modprobe ac
modprobe battery
modprobe fan
modprobe thermal
modprobe processor


  



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

Main Menu
Advertisement
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