[erlang-questions] beam_load.c error message

8 views
Skip to first unread message

philippe vanderstraeten

unread,
Nov 24, 2008, 10:51:28 AM11/24/08
to erlang-q...@erlang.org
Hi,
I am running tsung 1.3.0 rev 884, and I get an error message from erlang:

[admin@total-inj scenarios]$ tsung -f test.xml start
Starting Tsung

=ERROR REPORT==== 24-Nov-2008::15:54:09 ===
Loading of /usr/local/lib/erlang/lib/tsung_controller-1.3.0/ebin/tsung_controller.beam failed: badfile

=ERROR REPORT==== 24-Nov-2008::15:54:09 ===
beam/beam_load.c(1730): Error loading function tsung_controller:status/1: op int_div p x x r:
please re-compile this module with an R12B compiler

This error message told me to recompile Tsung with the R12B compiler. But it has been compiled with this compiler, since the only one compiler installed is R12B.

What could be wrong ?
Thanks

===============================================
See computer information bellow:
=============================
[admin@total-inj otp_src_R12B-2]$ erl
Erlang (BEAM) emulator version 5.6.2 [source] [smp:4] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.6.2  (abort with ^G)
1>
=============================

The hardware platform is SMP:

[root@total-inj proc]# more cpuinfo
processor : 0
cpu : POWER5 (gr)
clock : 1902.096000MHz
revision : 2.2

processor : 1
cpu : POWER5 (gr)
clock : 1902.096000MHz
revision : 2.2

processor : 2
cpu : POWER5 (gr)
clock : 1902.096000MHz
revision : 2.2

processor : 3
cpu : POWER5 (gr)
clock : 1902.096000MHz
revision : 2.2

timebase : 238063000
machine : CHRP IBM,9119-595

[root@total-inj proc]# dmesg | grep -i smp
Linux version 2.6.9-34.EL (bhco...@js20-bc1-8.build.redhat.com) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Fri Feb 24 16:46:57 EST 2006

[root@total-inj proc]# grep smp.init *
kallsyms:c00000000000b574 t .pseries_secondary_smp_init
kallsyms:c00000000000c4a0 t .do_pre_smp_initcalls
kallsyms:c0000000003674d0 t .smp_init
kallsyms:c000000000374298 t .smp_init_pSeries 

Bjorn Gustavsson

unread,
Nov 24, 2008, 11:19:19 AM11/24/08
to philippe vanderstraeten, erlang-q...@erlang.org
2008/11/24 philippe vanderstraeten <phva...@gmail.com>:

> [admin@total-inj scenarios]$ tsung -f test.xml start
> Starting Tsung
>
> =ERROR REPORT==== 24-Nov-2008::15:54:09 ===
> Loading of
> /usr/local/lib/erlang/lib/tsung_controller-1.3.0/ebin/tsung_controller.beam
> failed: badfile
>
> =ERROR REPORT==== 24-Nov-2008::15:54:09 ===
> beam/beam_load.c(1730): Error loading function tsung_controller:status/1: op
> int_div p x x r:
> please re-compile this module with an R12B compiler
>
> This error message told me to recompile Tsung with the R12B compiler. But it
> has been compiled with this compiler, since the only one compiler installed
> is R12B.

Please double-check that. Are you sure that all files were compiled
with the R12B compiler?

The int_div instruction can only be generated by the compiler in R10B
or earlier.

/Bjorn
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions

Reply all
Reply to author
Forward
0 new messages