[erlang-questions] beam_load.c error message

philippe vanderstraeten <>
Mon Nov 24 16:51:28 CET 2008


Hi,
I am running tsung 1.3.0 rev 884, and I get an error message from erlang:

[ 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:
=============================
[ 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:

[ 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

[ proc]# dmesg | grep -i smp
Linux version 2.6.9-34.EL () (gcc
version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Fri Feb 24 16:46:57 EST
2006

[ 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081124/55457f28/attachment.html>


More information about the erlang-questions mailing list