[gem5-users] Debug for c++

2019-03-06 Thread Yunxia Zhu
Hello everyone, My OS is Linux Mint 18 Cinnamon 64-bit and Gem5 is in SE mode of x86. main.cpp #include #include #include using namespace std; void task1(string msg) { cout << "task1 says: " << msg<___ gem5-users mailing list gem5-user

[gem5-users] Create new class in Gem5

2019-01-23 Thread Yunxia Zhu
". where should I declare the new class? How can I add a new class in Gem5? with best regards Yunxia Zhu ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Question of se.py file

2019-01-11 Thread Yunxia Zhu
options.cmd.split(';')" Does anyone have ideas of in which file and how the *options* is provided. Thanks a lot. with best regards Yunxia Zhu ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Passing parameters from python to c

2018-12-18 Thread Yunxia Zhu
Hello everyone, I have one question about how to passing parameters from python to c. For example, I got a string in se.py, then I want to use this string in exetrace.cc. What is the interface between them? Thanks for your help. with best regards Yunxia Zhu

Re: [gem5-users] Parameter Passing from script

2018-12-18 Thread Yunxia Zhu
changed "parser.add_option("-c", "--cmd", default="/home/borg39/test/test", help="The binary to run in syscall emulation mode.")". I am not sure if my understanding is right or not. And if it is right, then how can I get the default="/home/b

[gem5-users] Parameter Passing from script

2018-12-17 Thread Yunxia Zhu
t and gem5. How does gem5 know where to get these parameters? Does anyone have the same problem? with best regards Yunxia Zhu ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Parameter Passing from script

2018-12-06 Thread Yunxia Zhu
Hello everyone, Here it is my script: build/X86/gem5.opt \ configs/example/se.py \ -c /home/borg39/test/test \ When we run it, which file in Gem5 do we use to catch the parameter "c /home/borg39/test/test"? Thank you. with best regards

Re: [gem5-users] Issue with the simulator and image booting

2018-10-16 Thread Yunxia Zhu
t when I use "sudo qemu-system-x86_64 -kernel vmlinux -hda ubuntu-16.04.1-64.img -append "root=/dev/sda" --enable-kvm " it hangs. I also use 'mount', but it has same problems as before. Could you give me any suggestions? How could you make some changes not within gem5? Than

[gem5-users] Issue with the simulator and image booting

2018-10-15 Thread Yunxia Zhu
16.04.1 ttyS0'. why does it happen? with best regards Yunxia Zhu zhu@zhu-Vostro-3560 ~ $ telnet localhost 3456 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. m5 slave terminal: Terminal 0 Linux version 4.8.13 (zhu@zhu-Vostro-3560) (gcc version 5.4.0 2016

[gem5-users] Question of Autologin

2018-10-09 Thread Yunxia Zhu
matically login, which shows in 'tty.png'. It shows the ubuntu logins in different tty. Why does it happen? with best regards Yunxia ZHu ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Create Checkpoint

2018-08-29 Thread Yunxia Zhu
] Started Stop ureadahead data collection 45s after completed startup. [ OK ] Started Update UTMP about System Runlevel Changes. Ubuntu 16.04.1 LTS zhu ttyS0 with best regards yunxia zhu On Wed, 29 Aug 2018 at 16:27, Serhat Gesoglu < serhat.geso...@manchester.ac.uk> wrote: > Hello

[gem5-users] Questions about checkpoint

2018-08-29 Thread Yunxia Zhu
ms like it ignores the script. I didn't see any key words such as "writing checkpoint", "checkpoint simulation" or others. The simulation even can't end. It will stay like that. Could anyone give me some ideas about how to create checkpoint? Or is there something wrong with

Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Yunxia Zhu
Hi Serhat Gesoglu I run the gem5 for one night and the simulation still didn't end. It has the same result which I showed before. It seems like it hung. Did you have the same situation? Thank you. with best regards Yunxia Zhu On Tue, 28 Aug 2018 at 13:53, Serhat Gesoglu < ser

[gem5-users] Autostart programms on Gem5 linux 16.04.1 OS

2018-08-28 Thread Yunxia Zhu
anyone give me an idea? Thank you with best regards Yunxia Zhu ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Yunxia Zhu
Hi Serhat Gesoglu, Ok. Thanks a lot. I will try again and wait it for long time until ends. I thought the command which was inputted was wrong. with best regards Yunxia Zhu On Tue, 28 Aug 2018 at 13:53, Serhat Gesoglu < serhat.geso...@manchester.ac.uk> wrote: > Hello,, > You sho

Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Yunxia Zhu
it needs a lot of time to create checkpoint? It has already run for one hour. Could you give me some advice? Thank you with best regards Yunxia Zhu On Tue, 28 Aug 2018 at 11:53, Serhat Gesoglu < serhat.geso...@manchester.ac.uk> wrote: > Hello, > Do you get an error after running th

Re: [gem5-users] Create Checkpoint

2018-08-28 Thread Yunxia Zhu
shows "checkpoint 1 not found" And I am also confused where to add "m5 checkpoint". Could you show me the command? Thank you very much. with best regards Yunxia Zhu On Tue, 21 Aug 2018 at 17:05, Serhat Gesoglu < serhat.geso...@manchester.ac.uk> wrote: > Hello, >

Re: [gem5-users] Create Checkpoint

2018-08-23 Thread Yunxia Zhu
dule-cheat/tree/72e135d2b290d8bc5cd584b8acac828ae5e71eea#gem5-checkpoint > > On Tue, Aug 21, 2018 at 3:46 PM Yunxia Zhu wrote: > >> Hello everyone, >> >> I want to create a checkpoint to speed up startup of the gem5 OS, but I >> have some doubts. >> 1. When I searc

[gem5-users] Create Checkpoint

2018-08-21 Thread Yunxia Zhu
document I still have no idea about the checkpoint. I don't know how to start to create it. Could anyone give me any idea to do it? Thanks for your time and reply. with best regards Yunxia Zhu ___ gem5-users mailing list gem5-users@gem5.org

[gem5-users] How to build a linux image for full system simulation

2018-08-01 Thread Yunxia Zhu
le.x86 it has error and the reason is that the Linux System OS type is 32-bit. could guys give any new idea? With best regards Yunxia Zhu ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] How to associate a kernel offset to a linux image for full system simulation?

2018-08-01 Thread Yunxia Zhu
Hello Kleovoulos Kalaitzidis, I have the same problem. I want to setup Gem5 for FS mode on x86 with new linux version. I also tried to associate 4.18.13 kernel to 18.04.1 image and I had the same problem. Could you tell how you solve it? Thank you very much. with best regards Yunxia Zhu

[gem5-users] Fatal: gem5.opt: build/x86/arch/x86/tlb.cc:357: fault x86isa::tlb::translate(requestptr, threadcontext*, basetlb::translation*, basetlb::mode, bool&, bool): assertion `entry' failed.

2018-07-18 Thread Yunxia Zhu
HID core driver NET: Registered protocol family 17 mce: Unable to init device /dev/mcelog (rc: -5) microcode: no support for this CPU vendor EXT4-fs (hda1): couldn't mount as ext3 due to feature incompatibilities EXT4-fs (hda1): 13 orphan inodes deleted EXT4-fs (hda1): recovery complete EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 3:1. devtmpfs: mounted Freeing unused kernel memory: 996K (81892000 - 8198b000) Write protecting the kernel read-only data: 8192k Freeing unused kernel memory: 1852K (880001431000 - 88000160) Freeing unused kernel memory: 440K (880001792000 - 88000180) Connection closed by foreign host. zhu@lap318-HP-Compaq-6730b-KE717AV ~ $ with best regards Yunxia Zhu ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users