The kernel libc you're compiling against is expecting a newer version of the 
kernel to be reported by M5 than it is seeing. Try changing the version 
reported by the unameFunc() in src/arch/x86/linux/syscalls.cc from 2.6.16.19 to 
something newer, try 2.6.35.

Ali

On Dec 12, 2010, at 1:09 PM, Sudhanshu(Duke) wrote:

> I was attempting to run a program compiled in x86_64 in SE mode and
> got this error
> 
> [wiz...@dungeon m5]$ build/X86_SE/m5.debug configs/example/helloworld.py
> ..
> **** REAL SIMULATION ****
> info: Entering event queue @ 0.  Starting simulation...
> FATAL: kernel too old
>            <<<<<<Why am I getting this
> panic: Tried to write unmapped address 0xffffffffffffffc0.
> @ cycle 702000
> [invoke:build/X86_SE/arch/x86/faults.cc, line 290]
> Memory Usage: 731336 KBytes
> For more information see: http://www.m5sim.org/panic/d71dd0bc
> Program aborted at cycle 702000
> Aborted (core dumped)
> 
> Before I ran configs/example/se.py and it worked fine.
> i am using gcc 4.5.1 on Fedora 14 x86_64
> 
> [wiz...@dungeon m5]$ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.5.1/lto-wrapper
> Target: x86_64-redhat-linux
> 
> Please suggest some remedy. Do I need an older compiler?? if so which 
> version??
> -- 
> Sudhanshu([email protected], [email protected] &
> [email protected])
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
> 

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

Reply via email to