Results 1 to 6 of 6

Thread: Doing Yum update on the kernel of the CentOS 5

  1. #1
    Join Date
    Jan 2011
    Posts
    55

    Doing Yum update on the kernel of the CentOS 5

    Few days before I have installed Yum update in order to update the server of mine. also I am looking to update the Kernel on the computer. After restarting the computer I have used the following command on the terminal.
    Code:
    uname -r
    2.6.18-194.32.1.el5
    it seems to be old kernel. So let me know whether there is any update for the Kernel? Let me know if you are having any useful instruction. Thanks a lot in advance.

  2. #2
    Join Date
    May 2008
    Posts
    991

    Re: Doing Yum update on the kernel of the CentOS 5

    Looking at the situation which you have provided over here I am suggesting the following thing which you can use check on the computer. You should check the into the /etc/grub.conf file? It is possible that you will not be able to launch the kernel until and unless you have not boot the same. Also you might need to exclude the kernel updates on the /etc/yum.conf. So check the above mentioned thing and let me know about the same.

  3. #3
    Join Date
    May 2008
    Posts
    1,020

    Re: Doing Yum update on the kernel of the CentOS 5

    As you stated earlier you have installed CentOS is enterprise Linux distribution. It seems to be stable and it should be used with kernel 2.6.18 series. Well according to me 2.6.18 does not seems to be old. However I am expecting that the there would be kernel 2.6.37 for the CentOS 5.x version. You might need to wait for the same for the very long time. I am hoping that there would be releasing of the l kernel 2.6.37 very soon.

  4. #4
    Join Date
    Nov 2009
    Posts
    824

    Re: Doing Yum update on the kernel of the CentOS 5

    The kernel-ml is providing batter stable mainline for the Linux 5 and further version. The conium of the kernel is totally based the RHEL-5 configuration which have added the functionality. In order to install the kernel-ml you need to have elrepo-release-5-1.el5.elrepo. Also you should execute the below mentioned command on the terminal.
    Code:
    yum --enablerepo=elrepo-kernel install kernel-ml
    I am hoping that it will help you out to get the requirement of yours.

  5. #5
    Join Date
    Apr 2009
    Posts
    970

    Re: Doing Yum update on the kernel of the CentOS 5

    Well I have found that the hardware clock is did not seems to be working at all after installing kernel-ml. It is totally dependent on the hardware which you have installed on the computer. I am suggesting a simple work around which you can use to fix the problem of yours.
    Code:
    ln -sf /dev/rtc0 /dev/rtc
    also you need to use the below mentioned patch on the computer of yours.
    Code:
    if [ "$PROMPT" != "no" ]; then
      echo
     fi
     
    +### ELREPO: See if the RTC driver is built-in, otherwise load it
    +if [ ! -f /proc/driver/rtc ]; then
    +    action $"Loading rtc_cmos driver: " /sbin/modprobe rtc_cmos
    +fi
    +
    +### ELREPO: Make the newer device nodes to accomodate hwclock
    +RTC_MAJOR_NO=`/bin/awk '/rtc/ { print $1 }' /proc/devices`
    +if [ -n "$RTC_MAJOR_NO" ]; then
    +    action $"Creating /dev/rtc0: " /bin/mknod /dev/rtc0 c $RTC_MAJOR_NO 0
    +    action $"Creating /dev/rtc: " /bin/ln -sf /dev/rtc0 /dev/rtc
    +fi
    +
     # Set the system clock.
     update_boot_stage RCclock
     ARC=0

  6. #6
    Join Date
    Nov 2009
    Posts
    1,292

    Re: Doing Yum update on the kernel of the CentOS 5

    I have noticed that iptables modules did not seems to be workibg properly. Well this is being happening due to knock on effect with the iptables-restore is seems to be fail to load any of the rules. If failing of the rules is occurring then respective firewall would be disabled. You should check and verify the iptables rules effectively and see whether there should be no error. after doing the above mentioned thing rules would be correctly loaded.

Similar Threads

  1. Unable to update kernel using CentOS 5.5
    By Eric Banadinovich in forum Operating Systems
    Replies: 6
    Last Post: 12-05-2011, 07:35 PM
  2. How to solve Kernel Error displaying on console in Centos
    By Eric Banadinovich in forum Operating Systems
    Replies: 5
    Last Post: 06-05-2011, 07:32 PM
  3. Replies: 5
    Last Post: 06-05-2011, 10:30 AM
  4. Replies: 5
    Last Post: 04-05-2011, 10:46 AM
  5. Compile kernel 2.6.35.7 for centos 5.5
    By hardyB in forum Operating Systems
    Replies: 5
    Last Post: 12-11-2010, 11:12 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,856,125.48165 seconds with 16 queries