LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-07-2008, 08:00 PM   #1
monohouse
Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 206

Rep: Reputation: 30
.config options


I've been building a few kernels over the last few days, couldn't help it to notice that my .config appears to contain options that 1) I never found in the menuconfig/xconfig 2) never selected to be included

I have also noticed the file that is used for the configuration: /arch/x86/Kconfig which also appears to have some lines that look like "if embedded", I have yet to know what that represents or how to use or why it is for

purpose and reasons: I am building a system and I am starting with the kernel configuration file and want it to be complete for future reference of the various linux systems I will be building, I have to strip down every possible option from the kernel and to know what it is.

I have been trying to find documentation for the following non-existent options that appear in the .config file only:

CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_FAST_CMPXCHG_LOCAL=y

which as you can see are enabled by default.
I have tried to use "make allnoconfig" but that had no effect on those options.

I need help to find documentation of the non-existent kernel .config options
 
Old 09-07-2008, 10:13 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Google (and a lot of hard work) is your friend. I downloaded a number of kernels just now and rooted around for CONFIG_GENERIC_TIME. What I found was that somewhere back before 2.6.18.1 it came into existence. After that, more and more archs started checking it in their timekeeping code. From the S390 snippet below in a linux-kernel mailing list post, it looks like they had unique code throughout each of the architectures but used this to control the movement to some generic code. You'd have to look through each arch to see what it does.

From: http://lists.openwall.net/linux-kernel/2006/10/06/192
Quote:
From: Martin Schwidefsky <schwidefsky@...ibm.com>

[S390] Use CONFIG_GENERIC_TIME and define TOD clock source.

Fix too slow clock by using CONFIG_GENERIC_TIME and adding a
clock source for the s390 time-of-day clock. As added benefit
we get rid of the s390 specific definition of do_gettimeofday
and do_settimeofday.
 
Old 09-08-2008, 08:45 PM   #3
verndog
Member
 
Registered: Oct 2007
Posts: 278

Rep: Reputation: 67
Quote:
Originally Posted by monohouse View Post
I've been building a few kernels over the last few days, couldn't help it to notice that my .config appears to contain options that 1) I never found in the menuconfig/xconfig 2) never selected to be included
You will find these options in xconfig, if you go to "Option" at the top and select both "Show All Options" and "Show Debug Info"
 
Old 09-14-2008, 05:16 AM   #4
monohouse
Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 206

Original Poster
Rep: Reputation: 30
thanks, it's good to see them, but it doesn't allow to unset them
 
Old 09-15-2008, 01:27 PM   #5
OutCold
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
does anyone know how i can use these items (options...) that are not normally visible? i'm asking this because my intel wireless 3945 drivers are there and i cannot access them.

edit: solved. turns out that with menuconfig i'm able to access them.

Last edited by OutCold; 09-15-2008 at 05:55 PM.
 
  


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 config options elmu Linux - General 2 11-02-2005 11:15 AM
read options from config file biiiep Programming 4 05-05-2005 03:30 AM
kernel config options for soundblaster acidjuice Slackware 6 02-24-2005 03:57 PM
difference in .config options utanja Debian 3 08-31-2004 10:40 PM
Mandrake 9.2: Disappearing Config Options dlocalized Linux - Newbie 2 12-05-2003 03:42 PM

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

All times are GMT -5. The time now is 09:33 AM.

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