Hi, Gabe
The application source are compiled with:
gcc --static hello.c -ohello
I also tried x64, and got the same 'Invalid microop' error when start m5:
gcc -m64 --static hello.c -ohello
The command line for compiling m5:
scons -j2 build/X86_SE/m5.fast
The command line for running m5:
build/X86_SE/m5.fast configs/example/se.py -c hello
m5 source:
changeset: 8325:76095b05f4da
user: Steve Reinhardt
last modified: Mon May 23 14:29:23 2011 -0700
gcc version: 4.4.3 (ubuntu 10.04 x86(32bit) with x86_64 library installed)
Thanks for response.
Yu Licheng
-----原始邮件-----
From: Gabriel Michael Black
Sent: Wednesday, June 01, 2011 9:58 AM
To: [email protected]
Subject: Re: [gem5-users] Aborted at X86 FS SE Mode (Solved)
Lets start with SE mode. How are you compiling your binary? What is
your command line? Also, what version of the gem5 source are you using?
Gabe
Quoting Yu Licheng <[email protected]>:
Hi Gabe,
I compiled the kernel with ARCH=x86_64, and got the error:
panic: Invalid microop!
@ cycle 1000
In SE mode, whenever the binary file is compiled in 32bit or 64bit, I
always get:
panic: Invalid microop!
@ cycle 500
Yu Licheng
-----原始邮件----- From: Gabe Black
Sent: Wednesday, June 01, 2011 1:26 AM
To: [email protected]
Subject: Re: [gem5-users] Aborted at X86 FS SE Mode (Solved)
As the message says, it doesn't support 32 bit kernels. If you want to
use X86 FS you have to use a 64 bit kernel.
Gabe
On 05/31/11 08:38, Yu Licheng wrote:
Hello
I got following error in x86 SE mode, always aborted at cycle 500 with
'Invalid microop!':
**** REAL SIMULATION ****
info: Entering event queue @ 0. Starting simulation...
panic: Invalid microop!
@ cycle 500
[invoke:build/X86_SE/arch/generic/debugfaults.hh, line 93]
Memory Usage: 548060 KBytes
For more information see: http://www.m5sim.org/panic/362dcab5
Program aborted at cycle 500
Did you mean your problems are due to the version of tools?
Mine is as follows:
gcc-4.4.3
python-2.6.5
scons-v1.2.0.d20100117.r4629
swig-1.3.40
m4-1.4.13
On the other hand, in FS mode I got 'fatal: Loading a 32 bit x86
kernel is not supported.', so I'm wondering if m5 already supports the
FS mode of x86.
The changeset of m5 is 8325:76095b05f4da.
Yu Licheng
-----原始邮件----- From: 冠男陳
Sent: Tuesday, May 31, 2011 5:10 PM
To: [email protected]
Subject: [gem5-users] Aborted at X86 FS SE Mode (Solved)
Hi M5,
Few days ago, I got errors when running X86 FS and SE:
1. m5.debug: build/X86_FS/arch/x86/insts/macroop.hh:78: virtual
StaticInstPtr X86ISA::MacroopBase::fetchMicroop(MicroPC): Assertion
`microPC < numMicroops' failed.
2. Segmentation fault
Today, I use another server and again go through the steps mentioned
in the following mails.
http://www.mail-archive.com/[email protected]/msg04960.html
And it seems fine now!
Tool list of two servers:
Server A (got errors),
gcc-4.2.4
python-2.5.4
scons-v1.2.0.r3842
swig-1.3.36
m4-1.4.10
Server B (fine),
gcc-4.4.1
python-2.6.4
scons-v1.2.0.r3842
swig-1.3.36
m4-1.4.13
Thanks for everybody's help.
Mark Chen
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users