markpalinux
asked on
Kernel Configuration – How to Check…
I have read more then a few times, that something is an option you may need to recompile your kernel.
Is there is a way for me on my COL OpenLinux 2.3 system check to see what the options are for my present Kernel?
For example power management? I believe that by default this is disabled in the kernel for my system but how can I find out. I know I can recompile the kernel but I never have done this yet and don’t want to at this time.
Thank you.
Is there is a way for me on my COL OpenLinux 2.3 system check to see what the options are for my present Kernel?
For example power management? I believe that by default this is disabled in the kernel for my system but how can I find out. I know I can recompile the kernel but I never have done this yet and don’t want to at this time.
Thank you.
BTW: if you don't have a /usr/src/linux directory, it could be named something else. To find it, go to /usr/src and issue
find . -maxdepth 2 -type d -name 'kernel'
This should find the root of the kernel source tree. cd into it and do the make menuconfig.
If you still don't find it, then you didn't install the kernel source onto your system. You'll need to go back and install it first.
Rob
find . -maxdepth 2 -type d -name 'kernel'
This should find the root of the kernel source tree. cd into it and do the make menuconfig.
If you still don't find it, then you didn't install the kernel source onto your system. You'll need to go back and install it first.
Rob
Another BTW: You should find the power management stuff under the General Setup menu item.
Rob
Rob
ASKER
What I am looking for is not a way to reconfigure my kernel but a way to look at the kernel to see how it is presently configured.
Thank you
Thank you
That should do it, if you are looking at the kernel source tree that came with the distro.
ASKER
What I am looking for is not a way to reconfigure my kernel but a way to look at the kernel to see how it is presently configured.
Thank you
Thank you
The other option is to look in the file /usr/include/linux/config. h (or could be /usr/include/linux/autocon f.h).
Not as comfortable, but it has the info. Look for APM.
Rob
Not as comfortable, but it has the info. Look for APM.
Rob
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I can run this to look at the present kernel options.
That is the wording I was looking for, Thank you.
BTW: Can I look at the present Kernel configuration with make xconfig?
That is the wording I was looking for, Thank you.
BTW: Can I look at the present Kernel configuration with make xconfig?
Thanks for the A.
I don't know why you couldn't run make xconfig. Unless you have permission trouble. Typically, you don't run X as root, but make needs root privs. I've not done this in years, so I'm just not sure.
Sorry
I don't know why you couldn't run make xconfig. Unless you have permission trouble. Typically, you don't run X as root, but make needs root privs. I've not done this in years, so I'm just not sure.
Sorry
make menuconfig
This gives you access to all of the pertinent kernel options with a nice menu interface.
Rob