Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Doing Yum update on the kernel of the CentOS 5

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-05-2011
Member
 
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.

Reply With Quote
  #2  
Old 03-05-2011
Member
 
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.
Reply With Quote
  #3  
Old 03-05-2011
Member
 
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.
Reply With Quote
  #4  
Old 03-05-2011
Member
 
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.
Reply With Quote
  #5  
Old 03-05-2011
Member
 
Join Date: Apr 2009
Posts: 967
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
Reply With Quote
  #6  
Old 04-05-2011
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Doing Yum update on the kernel of the CentOS 5"
Thread Thread Starter Forum Replies Last Post
Unable to update kernel using CentOS 5.5 Eric Banadinovich Operating Systems 6 12-05-2011 07:35 PM
How to solve Kernel Error displaying on console in Centos Eric Banadinovich Operating Systems 5 06-05-2011 07:32 PM
CentOS 5.5 to CentOS 5.6 Updates: Error while updating kernel-PAE fanish-war Operating Systems 5 06-05-2011 10:30 AM
CentOS 5.4: Getting error message ?Kernel panic - not syncing: VFS:? OCTAVE Operating Systems 5 04-05-2011 10:46 AM
Compile kernel 2.6.35.7 for centos 5.5 hardyB Operating Systems 5 12-11-2010 11:12 PM


All times are GMT +5.5. The time now is 12:57 PM.