[gem5-users] Extract data accessed by DRAM
Hi all, I want to extract data from DRAM. I tried to do that by using PacketDataPtr and PacketPtr but I didn't get any desired result. I implemented my code in accessAndRespond function after it calls access() of AbstractMemory class. But when I try to directly access the data at the address using a pointer, it gives me segmentation fault. If anyone has any suggestions then it would be really helpful. Thanks in advance. Regards, Wridhi ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] execution problem parsec3.0
Hi Ciro i need to run parsec 3.0 on armv8 big.LITTLE, i added parsec 3.0 in the image but i found this problem, do you have any idea about this problem please? Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory [3.858394] init: hwclock main process (665) terminated with status 1 [4.223726] Buffer I/O error on dev vda1, logical block 524278, async page read [4.223917] Buffer I/O error on dev vda1, logical block 524278, async page read /tmp/script: line 4: cd: /home/parsec-3.0: No such file or directory / /tmp/script: line 7: ./env.sh: No such file or directory /tmp/script: line 8: parsecmgmt: command not found Connection closed by foreign host. thanks; ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] execution problem parsec3.0
Hi commerce, I don't know what is your setup, all I can say is that I have a few parsec benchmarks working at on my setup: https://github.com/cirosantilli/linux-kernel-module-cheat/tree/fe01ade54d0563b5dc8d8a7826d46b153d9a850a#parsec-benchmark You will also notice that parsecmgmt scripts are too slow to run in gem5, you need to find the raw executable commands, which I have documented in my repo as well. On Sat, May 26, 2018 at 6:22 PM, commerce _com wrote: > Hi Ciro > > i need to run parsec 3.0 on armv8 big.LITTLE, i added parsec 3.0 in the > image but i found this problem, do you have any idea about this problem > please? > > Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory > [3.858394] init: hwclock main process (665) terminated with status 1 > [4.223726] Buffer I/O error on dev vda1, logical block 524278, async > page read > [4.223917] Buffer I/O error on dev vda1, logical block 524278, async > page read > /tmp/script: line 4: cd: /home/parsec-3.0: No such file or directory > / > /tmp/script: line 7: ./env.sh: No such file or directory > /tmp/script: line 8: parsecmgmt: command not found > Connection closed by foreign host. > > > thanks; ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] How to run a dynamically linked executable syscall emulation mode se.py in gem5?
https://stackoverflow.com/questions/5054/how-to-run-a-dynamically-linked-executable-syscall-emulation-mode-se-py-in-gem5 After https://stackoverflow.com/questions/48959349/how-to-solve-fatal-kernel-too-old-when-running-gem5-in-syscall-emulation-se-m I managed to run a statically linked hello world under certain conditions. But if I try to run an ARM dynamically linked one against the stdlib with: ./out/common/gem5/build/ARM/gem5.opt ./gem5/gem5/configs/example/se.py -c ./a.out it fails with: fatal: Unable to open dynamic executable's interpreter. How to make it find the interpreter? Hopefully without copying my cross' toolchain's interpreter on my host's root. For x86_64 it works if I use my native compiler, and as expected `strace` says that it is using the native interpreter, but it does not work if I use a cross compiler. The current FAQ says it is not possible to use dynamic executables: http://gem5.org/Frequently_Asked_Questions but I don't trust it, and then these presentations mention it: * http://www.gem5.org/wiki/images/0/0c/2015_ws_08_dynamic-linker.pdf * http://research.cs.wisc.edu/multifacet/papers/learning_gem5_tutorial.pdf but not how to actually use it. QEMU user moe has the `-L` option for that. Tested in gem5 49f96e7b77925837aa5bc84d4c3453ab5f07408e ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users