Running yum whatprovides "*/sched.c" shows:

kcbench-data-2.6.25-0.1-5.el6.noarch : Kernel sources from 2.6.25 to be used by 
kcbench
Repo        : eai-epel
Matched from:
Filename    : 
/usr/share/kcbench-data/linux-2.6.25/arch/powerpc/platforms/cell/spufs/sched.c
Filename    : /usr/share/kcbench-data/linux-2.6.25/net/sunrpc/sched.c
Filename    : /usr/share/kcbench-data/linux-2.6.25/kernel/sched.c

Is this what you are seeking?

Hope this helps,
:)

John Donovan
Vanderbilt Information Technology
615-887-4663

From: [email protected] 
[mailto:[email protected]] On Behalf Of Mahmood 
Naderan
Sent: Wednesday, 19 March, 2014 09:56
To: Yogi A. Patel; Prosun Prodhan
Cc: [email protected]
Subject: Re: kernel source

The goal is to find the sched.c (the linux scheduler source code). It seems 
that the kernel sources are installed from repository however there is no such 
kernel-source or similar things.

Can some find sched.c on his system?

# rpm -qa | grep kernel
dracut-kernel-004-336.el6.noarch
kernel-firmware-2.6.32-279.5.1.el6.noarch
kernel-headers-2.6.32-279.22.1.el6.x86_64
kernel-2.6.32-279.5.1.el6.x86_64
kernel-devel-2.6.32-279.5.1.el6.x86_64


Regards,
Mahmood

On Wednesday, March 19, 2014 6:45 PM, Yogi A. Patel 
<[email protected]<mailto:[email protected]>> wrote:
If your goal is to simply install a new kernel, you may want to look at the 
script at the link below.

It is written to download a new kernel from kernel.org<http://kernel.org/>, 
patch it with xenomai, configure, and then install it onto SL6.5.

You can go in and comment out the xenomai part if you don't want it.

Note - it requires you have lsb_release installed. You may have to install it 
prior to running the script.

https://github.com/RTXI/rtxi/blob/qt4/scripts/install_rt_kernel.sh
--
Yogi A. Patel
(c): (828) 291-6715
(url): www.yapatel.org<http://www.yapatel.org/> | @yapatel525

On Mar 19, 2014, at 9:46, Prosun Prodhan 
<[email protected]<mailto:[email protected]>> wrote:
ok, you are looking for sched.c. try kernel-source package....

On Wed, Mar 19, 2014 at 6:57 PM, Mahmood Naderan 
<[email protected]<mailto:[email protected]>> wrote:
OK I have installed these packages

# rpm -qa | grep kernel*
dracut-kernel-004-336.el6.noarch
kernel-firmware-2.6.32-279.5.1.el6.noarch
kernel-headers-2.6.32-279.22.1.el6.x86_64
kernel-2.6.32-279.5.1.el6.x86_64
kernel-devel-2.6.32-279.5.1.el6.x86_64


However someone at kernel mailing list told me that the installation is 
incomplete because I am looking for sched.c and there is no such file.

Regards,
Mahmood

On Wednesday, March 19, 2014 5:52 PM, Prosun Prodhan 
<[email protected]<mailto:[email protected]>> wrote:
you can go for kernel-devel. better follow kernel.org<http://kernel.org/>.

On Wed, Mar 19, 2014 at 6:40 PM, Mahmood Naderan 
<[email protected]<mailto:[email protected]>> wrote:
Hi
How can I test/install the kernel source in SL6.3? Which package should I 
search? Should I run "yum install kernel-headers" only? or there are some other 
related packages?


Regards,
Mahmood



--
Prosun Prodhan
Webel Informatics Ltd.
225F, A.J.C. Bose Rd. Kolkata-700020.
India.
Ph.: 22833568/69, 09339192066(M)
http://webelinformatics.com<http://webelinformatics.com/>
http://www.facebook.com/webelinformatics
Registered Linux User # 318610 (LiCo : 
http://www.linuxcounter.net<http://www.linuxcounter.net/>, formerly 
http://counter.li.org<http://counter.li.org/>)
[When you say, "I wrote a program that crashed Windows," people just stare at 
you blankly and say, "Hey, I got those with the system, for free."  - Linus 
Torvalds]




--
Prosun Prodhan
Webel Informatics Ltd.
225F, A.J.C. Bose Rd. Kolkata-700020.
India.
Ph.: 22833568/69, 09339192066(M)
http://webelinformatics.com<http://webelinformatics.com/>
http://www.facebook.com/webelinformatics
Registered Linux User # 318610 (LiCo : 
http://www.linuxcounter.net<http://www.linuxcounter.net/>, formerly 
http://counter.li.org<http://counter.li.org/>)
[When you say, "I wrote a program that crashed Windows," people just stare at 
you blankly and say, "Hey, I got those with the system, for free."  - Linus 
Torvalds]

Reply via email to