I had the kernel to old problem and I solved it editing the file
src/arch/x86/linux/syscalls.cc

and changing the line


  strcpy(name->release, "2.6.16.19");


with


  strcpy(name->release, "3.2.0");


that is my ubuntu kernel version. You can get the kernel version with the
command

uname -r

After edit the file you need to build the simulator again with scons ...

Best Regards
                   Roberto



On Tue, Oct 23, 2012 at 1:07 AM, <z...@uwaterloo.ca> wrote:

> Quoting Marko Zivkovic <mzivk...@hawk.iit.edu>:
>
>  Hello,
>>
>> how to solve this problem:
>>
>> root@debian:/home/marko/
>> Downloads/gem5# ./build/X86/gem5.opt
>> configs/example/se.py -c ffmpeg -o "--file AVIDemo.avi"
>> gem5 Simulator System.  http://gem5.org
>> gem5 is copyrighted software; use the --copyright option for details.
>>
>> gem5 compiled Oct 19 2012 15:48:20
>> gem5 started Oct 22 2012 18:08:29
>> gem5 executing on debian
>> command line: ./build/X86/gem5.opt configs/example/se.py -c ffmpeg -o
>> --file AVIDemo.avi
>> 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 write unmapped address 0xffff_ffff_ffff_ffe8.
>>
>
> It seems like the address space is 64 bits and I am not sure if gem5 in SE
> mode support x86_64, does anyone know?
>
> I believe the problem is that your physical machine is 64 bit. Try
> compiling your ffmpeg with the -m32 flag and re-run the simulation.
>
>
>   @ cycle 715000
>> [invoke:build/X86/arch/x86/**faults.cc, line 160]
>> Memory Usage: 623696 KBytes
>> Program aborted at cycle 715000
>> Aborted
>>
>> thank you
>>
>>
>
>
>
>
> ______________________________**_________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to