Re: What are .config parameters for my kernel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-10-29 at 12:14 -0700, Rick Stevens wrote:
> Jonathan Ryshpan wrote:
> > I had thought that they would come from the .config file from either the
> > kernel-source.rpm or the kernel-devel.rpm for my current kernel.  But
> > these two files are different.CER=y

> The config parameters for kernels installed by RPM packages are in
> /boot.  Look for "config-(kernelversion)" files.  For example, to
> see if my current kernel was compiled with PREEMPT:
> 
> 	[root@bigdog ~]# grep PREEMPT /boot/config-`uname -r`
> 	# CONFIG_PREEMPT_RCU is not set
> 	# CONFIG_PREEMPT_RCU_TRACE is not set
> 	CONFIG_PREEMPT_NOTIFIERS=y
> 	# CONFIG_PREEMPT_NONE is not set
> 	CONFIG_PREEMPT_VOLUNTARY=y
> 	# CONFIG_PREEMPT is not set
> 
> So, no, my kernel is not compiled with PREEMPT set.

Thanks.  

In fact the controlling config file is the one in kernel-devel.rpm,
which matches the one in /boot.  In past releases, this has matched 
the one in kernel-source.rpm, but apparently not in this release.

$ sum /usr/src/kernels/2.6.30.9-90.fc11.x86_64/.config \
> ~/rpmbuild/BUILD/kernel-2.6.30/linux-2.6.30.x86_64/.config \
> /boot/config-2.6.30.9-90.fc11.x86_64
22614    93 /usr/src/kernels/2.6.30.9-90.fc11.x86_64/.config
16416    94 /home/jonrysh/rpmbuild/BUILD/kernel-2.6.30/linux-2.6.30.x86_64/.config
22614    93 /boot/config-2.6.30.9-90.fc11.x86_64


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux