ruby: invalid opcode

Posted by adamo on Server Fault See other posts from Server Fault or by adamo
Published on 2012-07-06T19:53:19Z Indexed on 2012/07/06 21:18 UTC
Read the original article Hit count: 410

Filed under:
|
|
|

There's a fairly complex application than runs on two VMs (on Xen). Both VMs run CentOS 6.2 with the exact same packages and configuration for every application running (minus networking which is different). SELinux is disabled on both.

On machine A the application builds perfectly. On machine B when running some tests we get:

ruby[2010] trap invalid opcode ip:7ff9d2944c30 sp:7fff9797e0f8 error:0 in ld-2.12.so[7ff9d2930000+20000]

Digging a bit more to find out where the machines differ, machine A has:

model name : Six-Core AMD Opteron(tm) Processor 2423 HE

and machine B:

model name : AMD Opteron(TM) Processor 6272

I've tried booting machine B with cpuid_mask_cpu=fam_10_rev_c in grub but it did not help either.

So any advice as to how to deal with this, or how to approach the hosting provider so as to run this VM on another physical machine will be greatly appreciated.

© Server Fault or respective owner

Related posts about centos

Related posts about xen