The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FC2 Kernel / Yum / Grub confusion

Discussion in 'General Discussion' started by webignition, Apr 4, 2005.

  1. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    I'm somewhat confused as to which is the most recent FC2 kernel on my server and I was hoping that someone could clarify things so as to eleviate my confusion. Let me explain what I did that ended up with me getting confused.

    Still in the process of learning a fair amount about *nix servers, I decided to check out what kernel version I'm running and whether any newer kernels have been installed by Yum since I last rebooted.

    Code:
    uname -a
    Linux hostname.example.com 2.6.10-1.9_FC2 #1 Thu Jan 13 17:54:57 EST 2005 i686 i686 i386 GNU/Linux
    So it looks like I'm currently running version 2.6.10-1.9 of the FC2 kernel. Fair enough.

    Taking a look at /boot/grub/grub.conf I notice that it has the following kernels listed:

    Code:
    default=0
    timeout=10
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz
    title Fedora Core (2.6.10-1.771_FC2)
    	root (hd0,0)
    	kernel /boot/vmlinuz-2.6.10-1.771_FC2 ro root=LABEL=/
    	initrd /boot/initrd-2.6.10-1.771_FC2.img
    title Fedora Core (2.6.10-1.770_FC2)
    	root (hd0,0)
    	kernel /boot/vmlinuz-2.6.10-1.770_FC2 ro root=LABEL=/
    	initrd /boot/initrd-2.6.10-1.770_FC2.img
    title Fedora Core (2.6.10-1.14_FC2)
    	root (hd0,0)
    	kernel /boot/vmlinuz-2.6.10-1.14_FC2 ro root=LABEL=/
    	initrd /boot/initrd-2.6.10-1.14_FC2.img
    title Fedora Core (2.6.10-1.12_FC2)
    	root (hd0,0)
    	kernel /boot/vmlinuz-2.6.10-1.12_FC2 ro root=LABEL=/
    	initrd /boot/initrd-2.6.10-1.12_FC2.img
    title Fedora Core (2.6.10-1.9_FC2)
    	root (hd0,0)
    	kernel /boot/vmlinuz-2.6.10-1.9_FC2 ro root=LABEL=/
    	initrd /boot/initrd-2.6.10-1.9_FC2.img
    title Fedora Core (2.6.5-1.358)
    	root (hd0,0)
    	kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/
    	initrd /boot/initrd-2.6.5-1.358.img
    As the default is 0, i.e. the first kernel in the list, it looks like if I were to reboot now I'd boot back into version 2.6.10-1.771. As I'm currently on 2.6.10-1.9, booting into 2.6.10-1.771 seems a bit of backwards not forwards step to me.

    This is about the stage when the confusion started creeping in.

    I then took a look to see what kernels show up in /boot and what the file modification time is.
    Code:
    -rw-r--r--  1 root root 1471499 Mar 28 07:03 vmlinuz-2.6.10-1.771_FC2
    -rw-r--r--  1 root root 1471820 Feb 27 02:50 vmlinuz-2.6.10-1.770_FC2
    -rw-r--r--  1 root root 1471877 Feb 10 22:27 vmlinuz-2.6.10-1.14_FC2
    -rw-r--r--  1 root root 1471703 Feb  2 06:36 vmlinuz-2.6.10-1.12_FC2
    -rw-r--r--  1 root root 1447675 Jan 13 23:08 vmlinuz-2.6.10-1.9_FC2
    -rw-r--r--  1 root root 1199031 May  8  2004 vmlinuz-2.6.5-1.358
    The most recent is clearly 2.6.10-1.771, updated on March the 28th 2005. Since I have fiddled not with kernels I assume that this was the doing of Yum.

    My confusion is thus:

    2.6.10-1.9 seems to me to be a newer kernel version than 2.6.10-1.771. Why would Yum (assuming it its Yum) acquire older kernel versions than what I am currently using?

    2.6.10-1.9 is what I started with and, based on the above file listing, Yum has subsequently acquired four further kernels all seemingly older than the one I am currently running.

    Am I misinterpretting the kernel version numbers or is something odd happening that makes Yum acquire older kernel versions, or does this behaviour seem quite normal?

    Thanks very much for any comments!
     
    #1 webignition, Apr 4, 2005
    Last edited: Apr 4, 2005
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Why would you assume the versioning decreases with new versions of the kernel ?

    What you might want to do, at least for now untill fedora core 2 is transfered to the fedora legacy project is subscribe to the fedora announce mailing list so you can be aware of such updates:

    http://www.redhat.com/mailman/listinfo/fedora-announce-list

    From what I can tell, scanning my inbox of the above list, 2.6.10-1.771 is indeed the latest.
     
  3. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    I think you're looking at the kernel build the wrong way. Looking at the build of the kernel from FC dev team: you have 1.9 running and up to 1.771 installed. You're thinking that 1.771 is less than 1.9 probobly. Well if there were another decimal in there, it would be, however 9 is a smaller number than 771 (believe it or not! lol). Therefore, 1.9 is actually 762 build outdated by build 1.771. You should reboot to use the 2.6.10-1.771_FC2 kernel, soon, and remove the others that aren't needed to prevent confusion and free up some space.
     
  4. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Thanks very much for the replies. That certainly clears up my confusion.

    I suppose it was fair of me to assume that 1.771 is less than 1.9 since this seems to make sense to me.

    I understand now that 1.771 is newer than 1.9, although I have to admit that I don't really understand the version numbering method. However I'll cross that bridge when I have to - I'll just trust that Yum knows what its doing more than I do!

    I'm still hoping that FC3 will be fully supported by Cpanel soon so that I can ditch FC2, however as the life of FC2 is swiftly ebbing away I might just have to take the risk of upgrading to FC3 and hoping for the best.
     
  5. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    I used FC3 on two boxes for some time without any problems. That was, ofcourse, with SELinux disabled. It may take a few more minutes to get everything to work properly depending on the RPMs installed, but once it's set, it runs smoothly.
     
  6. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Ok, let me try and explain this as best I can...

    Fedora is a test bed for the Redhat Enterprise Linux OS. Its essentially redhats "Rawhide" renamed. Rawhide is used to test out new technologies, and is the framework for the redhat enterprise linux OS. With each adjustment to the kernel, if the version is not incremented, each change adds a number to the kernel version. Thus, .9 would have been revision 9, 771 would have been revision 771.
     
Loading...

Share This Page