Saturday, August 18, 2012

[LINUX_Newbies] Re: Changing Kernel Config

 



Yes you are correct. But the problem i was facing is that .config is an auto gen file and should not be changed manually. Even if you change it and build the kernel, the value again gets set to 'y' irrespective of your change. So i was looking for an option from the menuconfig.

I found out the way.

Under /arch/i386 (checked with 'uname -a' and confirmed my architecture)there is the Kconfig file which sets a default value for all these configuration flags. Changing it to 'n' there for GENERIC_CMOS_UPDATE disables the flag and reflects the change in .config.
It works now and can be closed :)

--- In LINUX_Newbies@yahoogroups.com, "Paul" <pfrederick1@...> wrote:
>
>
>
> --- In LINUX_Newbies@yahoogroups.com, "Kaushik" <kaushik_mailbox@> wrote:
> >
> > I need to change a particular flag (CONFIG_GENERIC_CMOS_UPDATE) in Kernel Config file. I tried using the "make menuconfig" to browse through the editor but did not found the suitable option to change this particular flag from 'y' to 'n'.
> > Any ideas?
> >
>
> Use the search function. Hit the "/" key when you are in menuconfig. How's that for an idea? You can also grep your .config file just to make sure you have the term correct. Things change a lot in kernels.
>
> I just checked my config file and I have it set to "y" here.
>
> pfred1@buck:/boot$ grep -i cmos config-2.6.320
> CONFIG_GENERIC_CMOS_UPDATE=y
>
> So I'll just close by saying, it works here :)
>

__._,_.___
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment