Nilay Vaish <nilay <at> cs.wisc.edu> writes:

> 
> On Thu, 9 Aug 2012, Gihun wrote:
> >
> > $ gcc ./tests/test-progs/hello/src/hello.c -o hello.c.i386 -m32 -static -
static-
> > libgcc
> >
> > $ file hello.c.i386
> > hello.c.i386: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux),
> > statically linked, for GNU/Linux 2.6.24,
> > BuildID[sha1]=0x40574c56a0c7afc068b8936685816c4ba87524d1, not stripped
> >
> 
> Can you try with a 64-bit binary instead?
> 
> --
> Nilay
> 

Hi, thank you for your comment!
I ran with 64bit binary and it is also strange.

$ gcc ./tests/test-progs/hello/src/hello.c -o hello.c.x8664  -static -static-
libgcc

$ file hello.c.x8664
hello.c.x8664: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), 
statically linked, for GNU/Linux 2.6.24, 
BuildID[sha1]=0xbc9d68b785bdc7c597e47e6969694c8b8440f34b, not stripped

$ ./build/X86/gem5.debug ./configs/example/se.py -c ./hello.c.x8664
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Aug  7 2012 19:19:04
gem5 started Aug 10 2012 01:30:59
gem5 executing on hubuntu
command line: ./build/X86/gem5.debug ./configs/example/se.py -c ./hello.c.x8664
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
*FATAL: kernel too old*
panic: Tried to read unmapped address 0xffffffffffffffc0.
 @ cycle 703428
[invoke:build/X86/arch/x86/faults.cc, line 160]
Memory Usage: 703428 KBytes
Program aborted at cycle 812500
Aborted (core dumped)

I saw some post related "kernel too  old' but I can't find the solution matched 
in my case.

This is very simple run, you know, but why it happen :-(


_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to