Re: [CentOS] applying kernel patch

2009-06-18 Thread Phil Schaffner
Carlos Santana wrote:
...
> However, the kernel is 2.6.18-92.el5. The mismatch in kernel and
> kernel-headers is confusing me. Any insights?

You are not the first to be confused by that - it is almost a FAQ on the 
forum; however it is the expected behavior - yum will install the latest 
version of a package available and kernel-headers does not depend on the 
kernel version.  You should be able to use "rpm -i --oldpackage ..." to 
install the version matching your kernel.

Phil
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Steven Vishoot





- Original Message 
> From: Filipe Brandenburger 
> To: CentOS mailing list 
> Sent: Wednesday, June 17, 2009 3:29:41 PM
> Subject: Re: [CentOS] applying kernel patch
> 
> Hi,
> 
> On Wed, Jun 17, 2009 at 16:22, Steven Vishootwrote:
> > just wondering, why would you not want the latest kernel?
> 
> Because it will potentially not run "as smooth" as the kernel version
> shipped by CentOS. While newer kernels typically improve hardware
> support, they also introduce changes that are incompatible with the
> userland utilities provided in CentOS, so these changes may actually
> *break* something that works with an older version...
> 
> It's all part of what is called an "Enterprise Linux Distribution".
> When you choose such a distribution, you basically accept that some of
> your packages will be somewhat outdated (with backports for security
> issues) but on the other hand you know the components have been more
> tested together than with other "bleeding edge" distros... If you want
> to run a more updated kernel, you should probably look into Fedora or
> Ubuntu. If you want to run *the* latest kernel, you should probably
> look into Gentoo. However those are admittedly not as stable as
> CentOS/RHEL is.
> 
> HTH,
> Filipe
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


sorry i meant the latest Centos kernel, not kernel.org one.. Is the kernel that 
OP was talking about the latest? i haven't look at my system yet.

sorry for the confusion

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Carlos Santana
I am a newbie and do not know as much in detail abt packages. However,
I noticed something strange while installing gcc. I started with bare
minimum 'no-base' install with a kickstart file, so I didn't have gcc
in it. Later, when I installed gcc the 'kernel-headers' packages was
marked to be updated to 2.6.18-128.1.10.el5 for dependency issues.

Here is a summary:
=
 Package Arch   Version  RepositorySize
=
Installing:
 gcc i386   4.1.2-44.el5 base  5.2 M
Updating:
 glibc   i686   2.5-34   base  5.2 M
 glibc-commoni386   2.5-34   base   16 M
 libgcc  i386   4.1.2-44.el5 base   94 k

Installing for dependencies:
 binutilsi386   2.17.50.0.6-9.el5  base  2.9 M
 cpp i386   4.1.2-44.el5 base  2.7 M
 glibc-devel i386   2.5-34   base  2.0 M
 glibc-headers   i386   2.5-34   base  598 k
 kernel-headers  i386   2.6.18-128.1.10.el5  updates   917 k
 libgomp i386   4.3.2-7.el5  base   67 k


However, the kernel is 2.6.18-92.el5. The mismatch in kernel and
kernel-headers is confusing me. Any insights?

Thanks,
CS.


On Wed, Jun 17, 2009 at 5:55 PM, John R Pierce wrote:
> Carlos Santana wrote:
>> I am trying to build a Lustre file system over CentOS. The file system
>> server's kernel needs to be lustrized, however client can be installed
>> without altering kernel. I was struggling with client installation and
>> thought specific kernel requirement might be an issue. I am stil not
>> sure why is it failing though...
>> Anyway, to cut it short, needed for some dependency issues..
>>
>
> looks like Lustre has very specific kernel requirements, see
> http://wiki.lustre.org/index.php/Lustre_Support_Matrix
>
> eg, Lustre 1.8.0 -must- be run with kernel 2.6.18-92.1.17.el5 and not,
> for example, 2.6.18-92.1.18.el5
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread John R Pierce
Carlos Santana wrote:
> I am trying to build a Lustre file system over CentOS. The file system
> server's kernel needs to be lustrized, however client can be installed
> without altering kernel. I was struggling with client installation and
> thought specific kernel requirement might be an issue. I am stil not
> sure why is it failing though...
> Anyway, to cut it short, needed for some dependency issues..
>   

looks like Lustre has very specific kernel requirements, see
http://wiki.lustre.org/index.php/Lustre_Support_Matrix

eg, Lustre 1.8.0 -must- be run with kernel 2.6.18-92.1.17.el5 and not, 
for example, 2.6.18-92.1.18.el5




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Carlos Santana
On Wed, Jun 17, 2009 at 3:22 PM, Steven Vishoot wrote:
>
>
> 
> From: Carlos Santana 
> To: CentOS mailing list 
> Sent: Wednesday, June 17, 2009 2:17:06 PM
> Subject: Re: [CentOS] applying kernel patch
>
> Thanks..
> wish I knew what to google for..! :)
>
> -
> CS.
>
> On Wed, Jun 17, 2009 at 1:17 PM, Filipe Brandenburger 
> wrote:
>>
>> Hi,
>>
>> On Wed, Jun 17, 2009 at 12:23, Carlos Santana wrote:
>> > I have a CentOS 5.2 box with 2.6.18-92 kernel. I would like to upgrade
>> > the
>> > kernel, but not to the latest available version. How can I pull out a
>> > specific patch and apply it? Any help?
>>
>> This information should be helpful in rebuilding the kernel "the CentOS
>> way":
>> http://wiki.centos.org/HowTos/Custom_Kernel
>>
>> HTH,
>> Filipe
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> Call me stupid.
> just wondering, why would you not want the latest kernel?

I am trying to build a Lustre file system over CentOS. The file system
server's kernel needs to be lustrized, however client can be installed
without altering kernel. I was struggling with client installation and
thought specific kernel requirement might be an issue. I am stil not
sure why is it failing though...
Anyway, to cut it short, needed for some dependency issues..

-
CS
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread John R Pierce
Steven Vishoot wrote:
> just wondering, why would you not want the latest kernel?

running CentOS?I'd want the latest CentOS kernel within whatever 
major version I'm running.

If you mean the latest kernel.org version, then I might suggest CentOS 
is the wrong distribution for you.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Filipe Brandenburger
Hi,

On Wed, Jun 17, 2009 at 16:22, Steven Vishoot wrote:
> just wondering, why would you not want the latest kernel?

Because it will potentially not run "as smooth" as the kernel version
shipped by CentOS. While newer kernels typically improve hardware
support, they also introduce changes that are incompatible with the
userland utilities provided in CentOS, so these changes may actually
*break* something that works with an older version...

It's all part of what is called an "Enterprise Linux Distribution".
When you choose such a distribution, you basically accept that some of
your packages will be somewhat outdated (with backports for security
issues) but on the other hand you know the components have been more
tested together than with other "bleeding edge" distros... If you want
to run a more updated kernel, you should probably look into Fedora or
Ubuntu. If you want to run *the* latest kernel, you should probably
look into Gentoo. However those are admittedly not as stable as
CentOS/RHEL is.

HTH,
Filipe
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Steven Vishoot






From: Carlos Santana 
To: CentOS mailing list 
Sent: Wednesday, June 17, 2009 2:17:06 PM
Subject: Re: [CentOS] applying kernel patch

On Wed, Jun 17, 2009 at 1:17 PM, Filipe Brandenburger  
wrote:

Hi,


On Wed, Jun 17, 2009 at 12:23, Carlos Santana wrote:
> I have a CentOS 5.2 box with 2.6.18-92 kernel. I would like to upgrade the
> kernel, but not to the latest available version. How can I pull out a
> specific patch and apply it? Any help?

This information should be helpful in rebuilding the kernel "the CentOS way":
http://wiki.centos.org/HowTos/Custom_Kernel

HTH,
Filipe
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Thanks.. 
wish I knew what to google for..! :)

-
CS.


Call me stupid. 

just wondering, why would you not want the latest kernel?___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Akemi Yagi
On Wed, Jun 17, 2009 at 11:39 AM, Filipe Brandenburger
 wrote:
>
> Hi,
>
> First of all, please do not top post and trim your replies.
>
> On Wed, Jun 17, 2009 at 14:31, Mfawa Alfred Onen 
> wrote:
> > On Wed, Jun 17, 2009 at 7:17 PM, Filipe Brandenburger 
> >  wrote:
> >> This information should be helpful in rebuilding the kernel "the CentOS 
> >> way":
> >> http://wiki.centos.org/HowTos/Custom_Kernel
> >
> > you could head to http://www.howtoforge.com and find the "Compiling the
> > Kernel the CentOS way"
>
> Second: for CentOS related subjects, how can one expect something in
> howtoforge (or anywhere else) to be better than content in the CentOS
> Wiki?
>
> Especially in the case of that specific page, which I know is
> regularly kept up to date and will reflect newer versions of the
> kernel shipped with CentOS...
>
> Filipe

I can only agree with Filipe ... :-D

Akemi
(Co-maintainer of the kernel wiki articles)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Carlos Santana
Thanks..
wish I knew what to google for..! :)

-
CS.

On Wed, Jun 17, 2009 at 1:17 PM, Filipe Brandenburger
wrote:

> Hi,
>
> On Wed, Jun 17, 2009 at 12:23, Carlos Santana wrote:
> > I have a CentOS 5.2 box with 2.6.18-92 kernel. I would like to upgrade
> the
> > kernel, but not to the latest available version. How can I pull out a
> > specific patch and apply it? Any help?
>
> This information should be helpful in rebuilding the kernel "the CentOS
> way":
> http://wiki.centos.org/HowTos/Custom_Kernel
>
> HTH,
> Filipe
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Mfawa Alfred Onen
I am sorry for the miss understanding, I really agree to that too, but it is
just that i thought you could have an alternative like the one I read in the
http://www.howtoforge.com which actually just talked about downloading a
vanilla kernel and applying your patch and them making an rpm version so you
could run on other systems.

On Wed, Jun 17, 2009 at 7:52 PM, Akemi Yagi  wrote:

> On Wed, Jun 17, 2009 at 11:39 AM, Filipe Brandenburger
>  wrote:
> >
> > Hi,
> >
> > First of all, please do not top post and trim your replies.
> >
> > On Wed, Jun 17, 2009 at 14:31, Mfawa Alfred Onen
> wrote:
> > > On Wed, Jun 17, 2009 at 7:17 PM, Filipe Brandenburger <
> filbran...@gmail.com> wrote:
> > >> This information should be helpful in rebuilding the kernel "the
> CentOS way":
> > >> http://wiki.centos.org/HowTos/Custom_Kernel
> > >
> > > you could head to http://www.howtoforge.com and find the "Compiling
> the
> > > Kernel the CentOS way"
> >
> > Second: for CentOS related subjects, how can one expect something in
> > howtoforge (or anywhere else) to be better than content in the CentOS
> > Wiki?
> >
> > Especially in the case of that specific page, which I know is
> > regularly kept up to date and will reflect newer versions of the
> > kernel shipped with CentOS...
> >
> > Filipe
>
> I can only agree with Filipe ... :-D
>
> Akemi
> (Co-maintainer of the kernel wiki articles)
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Filipe Brandenburger
Hi,

First of all, please do not top post and trim your replies.

On Wed, Jun 17, 2009 at 14:31, Mfawa Alfred Onen wrote:
> On Wed, Jun 17, 2009 at 7:17 PM, Filipe Brandenburger  
> wrote:
>> This information should be helpful in rebuilding the kernel "the CentOS way":
>> http://wiki.centos.org/HowTos/Custom_Kernel
>
> you could head to http://www.howtoforge.com and find the "Compiling the
> Kernel the CentOS way"

Second: for CentOS related subjects, how can one expect something in
howtoforge (or anywhere else) to be better than content in the CentOS
Wiki?

Especially in the case of that specific page, which I know is
regularly kept up to date and will reflect newer versions of the
kernel shipped with CentOS...

Filipe
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Mfawa Alfred Onen
you could head to http://www.howtoforge.com and find the *"Compiling the
Kernel the CentOS way"*

On Wed, Jun 17, 2009 at 7:17 PM, Filipe Brandenburger
wrote:

> Hi,
>
> On Wed, Jun 17, 2009 at 12:23, Carlos Santana wrote:
> > I have a CentOS 5.2 box with 2.6.18-92 kernel. I would like to upgrade
> the
> > kernel, but not to the latest available version. How can I pull out a
> > specific patch and apply it? Any help?
>
> This information should be helpful in rebuilding the kernel "the CentOS
> way":
> http://wiki.centos.org/HowTos/Custom_Kernel
>
> HTH,
> Filipe
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] applying kernel patch

2009-06-17 Thread Filipe Brandenburger
Hi,

On Wed, Jun 17, 2009 at 12:23, Carlos Santana wrote:
> I have a CentOS 5.2 box with 2.6.18-92 kernel. I would like to upgrade the
> kernel, but not to the latest available version. How can I pull out a
> specific patch and apply it? Any help?

This information should be helpful in rebuilding the kernel "the CentOS way":
http://wiki.centos.org/HowTos/Custom_Kernel

HTH,
Filipe
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] applying kernel patch

2009-06-17 Thread Carlos Santana
I have a CentOS 5.2 box with 2.6.18-92 kernel. I would like to upgrade the
kernel, but not to the latest available version. How can I pull out a
specific patch and apply it? Any help?

Thanks,
CS.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos