OpenVZ Forum


Home » General » Support » Problem Inserting Microcode (Wrong arch?)
Problem Inserting Microcode (Wrong arch?) [message #24301] Mon, 03 December 2007 19:12 Go to next message
btgeekboy is currently offline  btgeekboy
Messages: 3
Registered: December 2007
Junior Member
Hello all,

My apologies if this is covered elsewhere; I've searched but didn't find anything helpful. I'm a OVZ noob Smile

On our Dell PowerEdge 1950, there's an error at boot which I am unable to resolve, with the microcode update unable to be applied. I see the following:

# modprobe microcode
FATAL: Error inserting microcode (/lib/modules/2.6.18-8.1.15.el5.028stab049.1/kernel/arch/i38 6/kernel/microcode.ko): Invalid module format

I believe the problem is because it's trying to load the i386 version, when I actually need the x86_64 version, which does exist on my system. Output of `uname -a`:

Linux host.domain.net 2.6.18-8.1.15.el5.028stab049.1 #1 SMP Thu Nov 8 16:23:16 MSK 2007 x86_64 x86_64 x86_64 GNU/Linux

Any ideas what could be causing this, and what I have to do to resolve it? I'm running the stock kernel from the yum repository. This is a fresh install of CentOS 5 x86_64; the only added software are the Dell OpenManage RPMs.

Re: Problem Inserting Microcode (Wrong arch?) [message #24313 is a reply to message #24301] Mon, 03 December 2007 22:33 Go to previous messageGo to next message
tomp is currently offline  tomp
Messages: 64
Registered: August 2007
Member
Hi

I am in the identical situation to you. I too have a Dell 1950 server with nothing installed except the ovz kernel and Dell openmanage software all installed via yum.

If i insmod the microcode module from the x64 lib folder then there are no errors when i run modprobe microcode. However running the command by itself generates the same errors as appear on boot.
Re: Problem Inserting Microcode (Wrong arch?) [message #24314 is a reply to message #24313] Mon, 03 December 2007 22:52 Go to previous messageGo to next message
btgeekboy is currently offline  btgeekboy
Messages: 3
Registered: December 2007
Junior Member
I just confirmed I was able to use insmod to fix the problem. Then running `modprobe microcode` works without an issue.

It appears the init.d script simply runs `/sbin/modprobe microcode`, so I guess we could hack the init script to fix the problem, but that's treating the symptom rather than addressing the root cause.

Perhaps this is worthy of a bug report?
Re: Problem Inserting Microcode (Wrong arch?) [message #24337 is a reply to message #24301] Tue, 04 December 2007 08:39 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Could you please provide us with the result of the below two commands?

rpm -qf /lib/modules/2.6.18-8.1.15.el5.028stab049.1/kernel/arch/i386/kernel/microcode.ko
(and the same for x86_64 microcode.ko file)


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Tue, 04 December 2007 08:39]

Report message to a moderator

Re: Problem Inserting Microcode (Wrong arch?) [message #24344 is a reply to message #24337] Tue, 04 December 2007 09:13 Go to previous messageGo to next message
btgeekboy is currently offline  btgeekboy
Messages: 3
Registered: December 2007
Junior Member
Sure thing. Both return the same results:

# rpm -qf /lib/modules/2.6.18-8.1.15.el5.028stab049.1/kernel/arch/i386/kernel/microcode.ko
ovzkernel-2.6.18-8.1.15.el5.028stab049.1

# rpm -qf /lib/modules/2.6.18-8.1.15.el5.028stab049.1/kernel/arch/x86_64/kernel/microcode.ko
ovzkernel-2.6.18-8.1.15.el5.028stab049.1
Re: Problem Inserting Microcode (Wrong arch?) [message #24346 is a reply to message #24344] Tue, 04 December 2007 09:16 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

It looks like you have both x86_64 and i686 kernels installed. My guess is modprobe tools can't deal right with it.

So, a workaround would be to uninstall i686 kernel:
rpm -e ovzkernel-2.6.18-8.1.15.el5.028stab049.1.i686


The solution would be to investigate modprobe's behavior and to file a bug for it.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Problem Inserting Microcode (Wrong arch?) [message #24382 is a reply to message #24301] Tue, 04 December 2007 13:03 Go to previous messageGo to next message
mohaw is currently offline  mohaw
Messages: 7
Registered: April 2006
Junior Member
I have 3 kernels installed and both of them are x86_64, during boot with "kernel 2.6.22 ovz005" a similar problem occurs. It says "2737 segmentation fault /sbin/modprobe microcode"

I disabled the mictocode_ctl on boot and manually modprobe microcode, after that dmesg shows "IA32 ... microcode driver loaded ..." do I need this driver? my cpu is intel core 2 quad q6600 2.4, I think this cpu is not IA32 (it is EM64T) and do not need any IA32 microcode, does it need?

edit: I learned that I need this Smile because of this I must solve the segmentation fault problem.

[Updated on: Tue, 04 December 2007 13:43]

Report message to a moderator

Re: Problem Inserting Microcode (Wrong arch?) [message #24387 is a reply to message #24382] Tue, 04 December 2007 14:21 Go to previous message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Microcode is also applicable to the processors of the x86_64 architecture:
http://urbanmyth.org/microcode/

Looks like support for microcode is broken in 2.6.20 & 2.6.22 OVZ kernels. i've submitted the bug# 745 for the issue.


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Previous Topic: help
Next Topic: unable to install cubepanel in VE
Goto Forum:
  


Current Time: Sat Jul 27 07:09:07 GMT 2024

Total time taken to generate the page: 0.02924 seconds