store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Mon Sep 22, 2014 4:14 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Thu Jun 09, 2011 10:26 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Apr 14, 2008 8:29 am
Posts: 301
Location: Rhode Island
After updating the kernel this morning to 2.6.32.41-4.art i started getting this message below every hour. Any Ideas? I was not getting these from the 2.6.32.41-1.art version only after the update like i mentioned.

Code:
/etc/cron.hourly/mcelog.cron:

mcelog: warning: record length longer than expected. Consider update.


Top
 Profile  
 
 Post subject: Re: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Thu Jun 09, 2011 11:48 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7901
Location: earth
This is a bug in mcelog from Redhat. Redhat has said they will not fix this bug, so we recommend you disable it.

Here are the facts:
1) mcelog only exists on x86_64, i386 users would never run into this
2) Newer OSes, built for newer kernels, like EL6 (Centos 6 when its out, Scientific Linux now) will work just fine.

So long term if you need mcelog from Redhat, upgrade to EL6 and all will be well, or downgrade your kernel.


Top
 Profile  
 
 Post subject: Re: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Thu Jun 09, 2011 2:42 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3631
Location: Chantilly, VA
Basically the mcelog in EL5/Centos 5 is so old it was written for a very old kernel. The newer Linux kernels change things, and the older redhat code doesnt work with the newer kernels. Redhat has also said they will not fix their version of mcelog, and that you should upgrade to EL6 if you want to use a newer kernel.

A newer version of mcelog should work too, so if you really need it, just grab the src rpm from fedora and build it, or grab the one off sourceforge and roll your own.

Or just disable mcelog, its just going to try to find bad RAM, bad CPUs, etc. and to be honest I havent ever seen that stop bad HW from doing bad things. ;-)

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Thu Jun 09, 2011 4:04 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Apr 14, 2008 8:29 am
Posts: 301
Location: Rhode Island
Thanks guys, i just ended up deleting the cron for it out of etc/cron.hourly/*

I did'nt even notice it was installed on the box neither nor noticed that it had a cron or even what the hell it was until i updated this morning and started getting the notice.


Top
 Profile  
 
 Post subject: Re: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Fri Jun 10, 2011 10:03 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3631
Location: Chantilly, VA
BTW, the mcelog on sourceforge seems to work fine on EL5/Centos5. My best guess is that this is an actual bug in redhats code in mcelog (and I can see from their bug tracker that other people have reported it, and they close it as NOTABUG, without a fix). I say this because we cant even find that string in the SF version, so maybe this is something RH added in?

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Mon Jun 20, 2011 9:36 am 
Offline
Forum Regular
Forum Regular

Joined: Sun Mar 29, 2009 6:52 pm
Posts: 350
I had the exact same problem on all boxes.

I just did a yum remove mcelog. Hope I want be having a problem again with it.

_________________
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego


Top
 Profile  
 
 Post subject: Re: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Mon Jun 20, 2011 1:02 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
Maybe you could add a newer version of mcelog to the asl-2.0 channel, since it ships a kernel that apparently isn't compatible with the version of mcelog distributed by the OS?

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Thu Jul 21, 2011 11:06 am 
Offline
Forum Regular
Forum Regular
User avatar

Joined: Wed Jan 13, 2010 9:11 am
Posts: 180
Location: Bali
mikeshinn wrote:
Or just disable mcelog, its just going to try to find bad RAM, bad CPUs, etc. and to be honest I havent ever seen that stop bad HW from doing bad things. ;-)


Indications are that this is not required or particularly useful.
1. remove the cron job (easy)
2. attempt yum remove mcelog (should this command work?)
3. how to "disable?"

I have no problem with option 1 above if this is advised to someone like me who knows nothing about what this function actually is.

_________________
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.


Top
 Profile  
 
 Post subject: Re: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Thu Jul 21, 2011 11:10 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3631
Location: Chantilly, VA
My advice, just remove the cronjob. yum remove should work, but offhand I dont recall if it has any other dependencies and if removing it would break anything else (probably not, but I dont know for sure either).

The error from the cronjob is harmless, so leaving mcelog installed wouldnt hurt anything, it seems the real issue is the annoying emails from the cronjob. So my advice is to just remove the cronjob (thats the safest solution).

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Thu Jul 21, 2011 11:14 am 
Offline
Forum Regular
Forum Regular
User avatar

Joined: Wed Jan 13, 2010 9:11 am
Posts: 180
Location: Bali
Done & Thank you.

_________________
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.


Top
 Profile  
 
 Post subject: Re: Kernel 2.6.32.41-4.art issue after update 06-09-2011
Unread postPosted: Mon Mar 05, 2012 8:58 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
I can confirm that just removing the mcelog package is safe as well. I think it might be good if ASL checked for an incompatible version of mcelog though (and optionally provided a compatible replacement version).

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group