Results 1 to 14 of 14
  1. #1

    is that really? can't upgrade kernel in centos

    Hi I'm newb here, I tryed to upgrade many kernels working on centos 4 but I can't! and many guys told me same problem, is this a public problem?

    errors showing like : Missing file: arch/i386/boot/bzImage and make: *** [.tmp_vmlinux1] Error 1 , showing when I typed make

    and Others I can't rememper it now, my QU is that really there's an bug in centos can't let us to make upgrade?

    and last Q when I use yum upgrade kernel there's no thing happend! what should I do?


  2. #2
    Why not use the CentOS way to upgrade kernel ?

    yum upgrade kernel

    I have recently upgraded kernel from source on CentOS 4.4 for testing. Everything work fine for me. Have you done make bzImage ?

  3. #3
    The poster wrote "when I use yum upgrade kernel there's no thing happend!"

    Slackerman: When you say "nothing happened", what do you mean?

    Does it say anything at all?

    In /etc/yum.conf , is there a line saying to exclude the kernel from upgrades?

  4. #4
    Join Date
    Dec 2004
    I think I know what's going on here...but I could be wrong. A default Centos install has always had a misconfiged grub.conf. The problem you don't correct this before you upgrade...if a kernel comes with the will bypass grub altogether...and boot that one kernel forever...until you remove the upgraded kernel. That was at least my experience...perhaps with what limited info we are going on here...that is what is happening.

    If all means..reply with more info.

    Bryon L Harvey
    Soil Relocation Engineer

  5. #5

    when I enter : yum upgrade kernel
    [email protected] [~]# yum upgrade kernel
    Repository extras is listed more than once in the configuration
    Repository updates is listed more than once in the configuration
    Repository base is listed more than once in the configuration
    Repository addons is listed more than once in the configuration
    Setting up Upgrade Process
    Setting up repositories
    extras                    100% |=========================| 1.1 kB    00:00
    updates                   100% |=========================|  951 B    00:00
    base                      100% |=========================| 1.1 kB    00:00
    addons                    100% |=========================|  951 B    00:00
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Could not find update match for kernel
    No Packages marked for Update/Obsoletion
    and the /etc/yum.conf

    exclude=courier* apache* mod_ssl* httpd* perl mysql* php* spamassassin* exim* 
    There's no exclude for kernel packges!

    bryonhost1 : I didn't make reboot yet! the problem is from "make bzImage
    " or make command . then I can't enter make install before make bzImage as you know..

    Thanks and still waiting..

  6. #6

    The next step I think would be to check yum.conf and everything in /etc/yum and yum.repos.d

    If you can't find out what's up with it, I'd go to the CentOS forums and ask there, I'm sure they'll work it out.

  7. #7
    I Checked /etc/yum.repos.d and /etc/yum.conf again.. I didn't saw any issues!


  8. #8
    You need to ask the people from CentOS then. They have their own forum where you can ask, or are available in the "centos" channel on freenode. For more info you can check out or the forums, here:

  9. #9
    Join Date
    Dec 2004
    No it manually..then:

    You've got 4.X right?

    Ok...first...see what kernel you have currently:

    uname -srv

    Ok...that will give you your current kernel version. This is a server, right? most VPS's can't upgrade kernels...and the system knows this..ok..hopefully you knew that already...

    Checking current version of kernel...manually...
    checking updates first...yup...two kernels available:

    Alright..decide with one you want...log into server via ssh..right click desired link "copy link location" up ssh window..login..type:

    wget <right click mouse>

    hit return

    rpm -ivh kernel*

    If everything goes well...go into grub and change the boot order to the new kernel..and..reboot time.
    Bryon L Harvey
    Soil Relocation Engineer

  10. #10
    Hi again

    stephanhughson : I will take a look there , thanks man

    bryonhost1 :my kernel is : Linux 2.6.9-42.0.2.EL #1 Tue Aug 22 23:56:05 CDT 2006

    and the link you put it same kernel..

    I need latest version please..


  11. #11
    Hey, that's good news. 2.6.9-42.0.2.EL is the latest for CentOS.

    It's secure etc. You can put a higher one manually, but that's the highest "yum" will take you at the moment. I don't think you need to do anything :-)

  12. #12
    Slakerman: congratulations I think you've been invited to the Gentoo club.

    I don't know... you'd have to ask them.
    Gavin Rogers, full time problem solver.

  13. #13
    Ok stephanhughson Thanks , But I hope to working on latest version in

    what about "patched" kernel can I use it by "patch" command?

    gavin8or : wtm?

  14. #14
    There's no point, but you can upgrade to a newer kernel by just installing one as an rpm if you want to. As for patching kernels, I wouldn't recommend you do that. In fact, you don't need to upgrade the kernel at all manually (at the moment). If I were you, I would leave it up to the CentOS team, the current kernel is fine and secure.

    CentOS manages the kernel for you, using yum, you can upgrade when an update becomes available. CentOS do this for free, which takes away the hassle of upgrading manually, you may aswell use it. After all, you trust them to manage the rest of the software on your server.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts