git SHA: 0ee4a543648a4c183a27b7d953317a99f6f30928

gem5 command line:
build/SPARC/gem5.opt --outdir=temp configs/example/spec06_config.py
--cpu-type TimingSimpleCPU --benchmark=bzip2
--benchmark_stdout=temp/bzip2.out --benchmark_stderr=temp/bzip2.err
I created the spec06_config file by following this tutorial:
https://markgottscho.wordpress.com/2014/09/20/tutorial-easily-running-spec-cpu2006-benchmarks-in-the-gem5-simulator/

I didn't use a disk image. I tried to run this in SE mode.

Initially I had got the following error:
warn: open: cannot decode flags 0x4

fatal: syscall writev (#121) unimplemented.

I tried implementing the syscalls: writev, tgkill and gettid. But I don't
think I did it successfully, leading to the Kernel too old error.

Any ideas on how to implement these syscall functions for SparcLinux32/64?

On July 17, 2018 at 12:59:06 PM, Ciro Santilli ([email protected])
> wrote:
>
> How are you running it? Full gem5 CLI, gem5 git SHA, disk image.
>
> Kernel too old discussed at:
> https://stackoverflow.com/questions/48959349/how-to-solve-fatal-kernel-too-old-when-running-gem5-in-syscall-emulation-se-m
>
> On Tue, Jul 17, 2018 at 3:30 PM, Aporva Amarnath <[email protected]>
> wrote:
>
>> Hi,
>>
>> I'm trying to run spec cpu2006 for sparc.
>> When I try to run the benchmarks I get the following error:
>> *AtomicSimpleCPU:*
>> panic: panic condition !pte occurred: Tried to access unmapped address
>> 0xffffffffffffffd0.
>> *TimingSimpleCPU:*
>>
>> FATAL: kernel too old
>>
>>  gem5.opt: build/SPARC/mem/dram_ctrl.cc:412: void
>> DRAMCtrl::addToReadQueue(PacketPtr, unsigned int): Assertion
>> `!pkt->isWrite()' failed.
>> I have tested out the binary on an actual system and it works. However,
>> when trying to run it on SPARC_SE mode it gives the above error.
>>
>> Any help would be useful.
>>
>> Regards,
>> Aporva
>>
>>
>>
>>
>> _______________________________________________
>> 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

Reply via email to