LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-19-2002, 09:57 AM   #1
toolkit
LQ Newbie
 
Registered: Apr 2002
Posts: 29

Rep: Reputation: 15
Confused about kernel compilation options


I am now in the midst of compiling a new kernel
that supports apci and also to disable the
apm option

In make menuconfig, it was shown that the
"Advanced Power Management Bios Support" option
with an asterisk and ACPI without an asterisk
which is correct.

BUT in make xconfig, in the "Advanced Power Management Bios Support" option it was shown as a "n" ?! Shouldn't it be
a "y" ? And I could not enable the ACPI support option
here unlike in menuconfig ....

I am pretty sure I am missing something here,
could some one enlighten me ?

I am running Red Hat 8 by the way with kernel version
2.4.18-14.

Thanks in advance !
 
Old 11-19-2002, 05:47 PM   #2
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
I have never used menuconfig, I would guess if there's a * next to something there, it is enabled. make xconfig is much more well defined I think.. is there a particular reason you want to use menuconfig ?

When in doubt, I'd open up the .config file and see if the option I'm concerned about has a 'y'/'n' next to it.
 
Old 11-21-2002, 08:57 PM   #3
toolkit
LQ Newbie
 
Registered: Apr 2002
Posts: 29

Original Poster
Rep: Reputation: 15
From the hint given by nxny, I found that .config file holds the
kernel settings values. I did more research and now can
enable the ACPI in make xconfig by copying the config file
from /usr/src/linux-2.4/configs.

These are the steps I have done:

1) Copy the kernel-2.4.18-athlon.config from /usr/src/linux-2.4/configs
to /usr/src/linux-2.4/.config
2) Edit the Makefile and change the line that has EXTRAVERSION = -14custom to EXTRAVERSIOn = -14acpi
3) make oldconfig
4) make xconfig
5) Enable the ACPI options. Disable the APM options
5) Save and exit
6) make dep clean
7) make bzImage modules

At stage 7 it stops, I am not sure whether it is at bzImage stage
or modules stage. But the last two lines were
make[1]: Leaving directory `/usr/src/linux-2.4.18-14/driver`
make: ***[_mod_drivers} Error 2

I am attempting to compile this kernel with ACPI support for my
Compaq Presario 725 notebook by the way ....

I am not sure if the steps are correct, any one can comment on
the above steps ? Any advice given will be appreciated ! Thanks in advance.
 
Old 11-21-2002, 10:34 PM   #4
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
What I do is use the RH config file as a base .config and then make xconfig to enable some disable some.

We'd need more than just the last 2 lines to see where the error occured. You need to go back to the point where make says.. oh I couldnt execute this step. From that point on, that error usually is carried through until make gets miffed and stops.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 11:53 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 08:33 AM
Possible to view program's configure compilation options tisource Linux - General 0 11-16-2004 08:08 PM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 05:23 AM
Compilation options in config and Kernel panic beejayzed Linux - Newbie 0 01-30-2004 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:31 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