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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux