Re: [gem5-users] Resize linux-x86.img

2017-04-27 Thread shine
Hi, I already succeed. When finish this, you must type "file linux-x86.img", if it ouputs "linux-x86.img: x86 boot sector representing you can boot successful. To do this, when you "dd", it must add ubuntu a new disk as your new image, not in existing disk. Thanks for answers.___

Re: [gem5-users] can't run Ubuntu 14.04 image

2017-04-27 Thread shine
Hi?? I do not find the solution.But I achieve my goal by resizing linux-x86.ing. Thanks for answers.___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Maximum Simulated Instructions

2017-04-27 Thread Jason Lowe-Power
Hi Muzamil, For "any_thread/all_thread', "thread' refers to hardware threads of the core (like SMT). If you want to count the instructions across all cores, you will need to add some logic in your python script. Here's an example of how to do it: https://github.com/powerjg/gem5/blob/features/tardi

Re: [gem5-users] Resize linux-x86.img

2017-04-27 Thread Jason Lowe-Power
Hello, You can use any utility that allows you to resize disk images. Note: you'll also have to resize the partitions on the disk image as well. Here's one example of how to resize a disk image: https://superuser.com/questions/693158/can-i-expand-the-size-of-a-file-based-disk-image . Jason On Th

[gem5-users] "Page Management Policies Definitions"

2017-04-27 Thread Muzamil Rafique
Hello All, I just want to know where are the definitions of page management policies in gem5? i.e. "open, close, open_adaptive and close_adaptive" (in dram_ctrl.hh and dram_ctrl.cc)? Thanks Muzamil ___ gem5-users mailing list gem5-users@gem5.org http://

Re: [gem5-users] How to disable style checker

2017-04-27 Thread Jason Lowe-Power
Hello, I strongly encourage you to fix the style issues. Not only does it result in better code, but it will make it much easier for you to contribute your work back to the gem5 community :). You can get around this by skipping the pre-commit git hooks. See http://stackoverflow.com/questions/7230

Re: [gem5-users] can't run Ubuntu 14.04 image

2017-04-27 Thread Jason Lowe-Power
Hello, I haven't seen this error before. Unfortunately, full system configuration is complicated and a lot of problems can crop up. Let us know if you find a solution to this problem as it will likely help other people! Cheers, Jason On Wed, Apr 26, 2017 at 10:53 PM shine wrote: > Hello,Jason