[gem5-users] Re: Errors coming while running gem5 in full system mode

2021-01-19 Thread Hoa Nguyen via gem5-users
Hi,

I believe this is an error produced by a Python script. If the
configs/example/fs.py file has been modified, please check the
indentation of the modified part of the script for indentation
inconsistencies (for example, space indentations vs tab indentations).

Regards,
Hoa Nguyen

On 1/19/21, VAIDYA ROHINI VILAS via gem5-users  wrote:
> Hello,
> i am trying to run my own c code in fs mode of gem5.
> i am using command :"build/ARM/gem5.opt configs/example/fs.py
> --disk-image=/home/coep/full_system_images/disks/arm-ubuntu-natty-headless.img
>  --kernel=/home/coep/gem5/full_systems_images/binaries"
>
> error coming is : "IndentationError: unexpected indent"
> what changes should i do to solve this error...the indentation error is in
> command or any other script.
> Plese help me to solve this error.
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


[gem5-users] Re: Installation issue in MAC OS

2021-01-19 Thread 刘宗惠 via gem5-users
Hello,

I pulled the develop branch, and re-built it, but it still had error:

build/x86/sim/syscall_emul.hh:2375:13: error: no matching function for call to
  '__darwin_fd_set'
FD_SET(trans_map[i], writefds);
^~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_fd_set.h:29:25:
 note:
  expanded from macro ‘FD_SET'


What changes should I do to solve it?

By the way, I found my Clang’s version is 11.0.3, does it matter?


$ clang --version
Apple clang version 11.0.3 (clang-1103.0.32.59)
Target: x86_64-apple-darwin20.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Thanks,
Liu Zonghui
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Errors coming while running gem5 in full system mode

2021-01-19 Thread VAIDYA ROHINI VILAS via gem5-users
Hello,
i am trying to run my own c code in fs mode of gem5.
i am using command :"build/ARM/gem5.opt configs/example/fs.py 
--disk-image=/home/coep/full_system_images/disks/arm-ubuntu-natty-headless.img  
--kernel=/home/coep/gem5/full_systems_images/binaries"

error coming is : "IndentationError: unexpected indent"
what changes should i do to solve this error...the indentation error is in 
command or any other script.
Plese help me to solve this error.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Installation issue in MAC OS

2021-01-19 Thread Gabe Black via gem5-users
This is from newer versions of scons changing how initialization works, and
where and when gem5's scons files update the python search path. It's fixed
on the develop branch, if you want to try that.

Gabe

On Tue, Jan 19, 2021 at 2:39 AM 刘宗惠 via gem5-users 
wrote:

> Hello,
>
> I am new to gem5 and trying to install and build it in MacOS. I also get
> the following error when I try to build the binaries for x86 processor:
>
> *** Error loading site_init file ./site_scons/site_init.py:
> *** cannot import site init file ./site_scons/site_init.py:
> ModuleNotFoundError: No module named 'm5.util’:
>
> Did you solve this problem? Could you tell me what to do next or where to
> find the answer to this problem?
>
> Thanks,
> Liu Zonghui
> Wuhan University of Technology
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] can't run usual script in new commit

2021-01-19 Thread Sherif AbdelFadil via gem5-users
Hi,
on commit 96fce476785a834f102ae69a895e661cf08e47cd, I can run the following
command and the simulation runs without errors:
./build/ARM/gem5.opt configs/example/fs.py --checkpoint-dir=m5out/ -r 0
--restore-with-cpu=DerivO3CPU --cpu-type=DerivO3CPU
--disk-image="$IMG_ROOT/disks/linaro-minimal-aarch64.img"
--disk-image="$IMG_ROOT/disks/parsec3.img"
--kernel="$IMG_ROOT/binaries/vmlinux.arm64" --caches

The problem is that the script won't actually use both disk images (I want
to mount the second in image in-simulation). I read in some thread that
this feature became available in the script out of the box at some point,
so I decided to try it out with the last stable commit
(0d703041fcd5d119012b62287695723a2955b408). However, with it I am no longer
able to start simulations with fs.py. I get the following error: "fatal:
Can't unserialize 'system.cpu.xc.0:_debugStep'". A similar problem, if not
exactly the same, occurs when I use the starter_fs.py script. Is this a bug
or do I have to change something in the script options?
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Installation issue in MAC OS

2021-01-19 Thread 刘宗惠 via gem5-users
Hello,

I am new to gem5 and trying to install and build it in MacOS. I also get the 
following error when I try to build the binaries for x86 processor:

*** Error loading site_init file ./site_scons/site_init.py:
*** cannot import site init file ./site_scons/site_init.py:
ModuleNotFoundError: No module named 'm5.util’:

Did you solve this problem? Could you tell me what to do next or where to find 
the answer to this problem?

Thanks,
Liu Zonghui
Wuhan University of Technology
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Errors coming while running gem5 in full system mode

2021-01-19 Thread Giacomo Travaglini via gem5-users



> -Original Message-
> From: VAIDYA ROHINI VILAS via gem5-users 
> Sent: 19 January 2021 06:38
> To: gem5 users mailing list 
> Cc: VAIDYA ROHINI VILAS 
> Subject: [gem5-users] Re: Errors coming while running gem5 in full system
> mode
>
> i think i am doing mistake while  adding kernel images.
>
> 
>
> From: VAIDYA ROHINI VILAS via gem5-users 
> Sent: 19 January 2021 12:06
> To: gem5-users@gem5.org 
> Cc: gem5-users-requ...@gem5.org ; gem5-
> users-boun...@gem5.org ; VAIDYA ROHINI
> VILAS 
> Subject: [gem5-users] Errors coming while running gem5 in full system mode
>
> Hello,
> i am trying to build gem5 in full system mode using the command as follows :
>
> "build/ARM/gem5.opt configs/example/fs.py --disk-
> image=/home/coep/full_system_images/disks/arm-ubuntu-natty-headless.img
> --vmlinux.aarch32.ll_20131205.0-gem5=/home/coep/gem5"

You are passing a kernel as a config option. This should rather be:

--kernel /home/coep/gem5/vmlinux.aarch32.ll_20131205.0-gem5
Note: the "--kernel" is the name of the script option, and 
vmlinux.aarch32.ll_20131205.0-gem5 is the name of the binary

>
>
> this command gives error as :
> "fs.py: error: no such option: --vmlinux.aarch32.ll_20131205.0-gem5"

See above

> i build all kernel images given in the documentation of gem5 but the image
> with name vmlinux.aarch32.ll_20131205.0-gem5 is not there so the error is
> coming .

That's a prebuilt kernel image. While you can still find it somewhere in 
gem5.org, I am wondering if you shouldn't
Use a more recent kernel with aarch64 (the kernel you are pointing at is 
aarch32).
I recommend you to have a look at

http://www.gem5.org/documentation/general_docs/fullsystem/building_arm_kernel

if you want to build the kernel on your own. Otherwise, if you want to download 
a prebuilt one, you can do that as well:

http://www.gem5.org/documentation/general_docs/fullsystem/guest_binaries

> please help me to solve this error.
> Thank you.

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


[gem5-users] How to obtain the appropriate xml file for mcpat?

2021-01-19 Thread -17 via gem5-users
Hi all, 
I am a novice on mcpat and want to model a system using ex5_big and ex5_LITTLE 
cores in mcpat. It seems that mcpat does not provide xml templates for these 
two cores. Should I modify each parameter in the xml template  referencing to 
template-xeon.xml? Or is there anyone who has done work in this area and can 
help me?
Thank you.



/**/NUDT 
 Siqing Fu


___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s