LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-29-2004, 01:32 AM   #1
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Rep: Reputation: 30
Whether something is avilable in kernel


Hello everybody,

Can any one satisfy my queries ?
1. How can I know, whether something (say ACPI) is available in my kernel.
2. If it is not available compiled in my kernel, how can I insert this in my kernel with minimum work (existing kernel + ACPI) by re-compiling. Normally recompilation requires lot of work. What I need is simply addition of some additional thing in compilation.
3. If I want to insert a module for this "something" (ACPI), in my kernel, What will I have to do ?


Thanks in advance for the same.


Prabhat Soni

Last edited by prabhatsoni; 11-29-2004 at 01:34 AM.
 
Old 11-29-2004, 04:48 AM   #2
jp_srirengan
LQ Newbie
 
Registered: Oct 2004
Location: bangalore
Posts: 3

Rep: Reputation: 0
Simplest way is enable the option in the kernel in the kernel using make xconfig/menuconfig.

follow the kernel compilation procedureand reboot with new kernel.

good luck
 
Old 11-29-2004, 05:33 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
To see if you have ACPI support in your kernel, just run:
Code:
cat /usr/src/linux/.config|grep ACPI
 
Old 11-29-2004, 05:46 AM   #4
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Original Poster
Rep: Reputation: 30
Hi,
The recompilation proceedure is very long and cumersome (to me !!). There should be some other way around it.

And , the .config file exists only if you have a compiled at least one kernel - which is not so in my case.

My problems will be solved if the .config file corresponding to your running kernel is available even if you have installed your linux out of box. Becasuse in this case it would be easy to fire "make xconfig", and load the current .config file and make the required changes (taking a few seconds) and save the modified .config file. But it is seen that if you have installed your linux from a CD (Fedora in my case), you don't have a .config.
Is there any way by which we could do this - like reverse engineering :- given the running kernel, you generate a corresponding .config file ?


Beats me.
Any help ?

Prabhat Soni

Last edited by prabhatsoni; 11-29-2004 at 05:47 AM.
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
suggest me an applet in kde to control the volume avilable in FC2 amolgupta Linux - Software 2 07-25-2005 05:28 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
is there any tool avilable to convert java/sql code into asp.net/sql2000 rddreamz Programming 1 11-08-2004 02:16 PM
how to make my computer avilable on internet as webserver peevee Linux - Networking 2 10-24-2004 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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