gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Error coming while running gem5 in fs mode

VR
VAIDYA ROHINI VILAS
Tue, Feb 23, 2021 9:33 AM

Hello,
I am trying to run gem5 in fs mode by using command .

build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/coep/gem5 2/full_system_images/aarch64-ubuntu-trusty-headless.img

Error coming is as follows :
" Error: script doesn't take any positional arguments"
As i am new to in linux as well as in gem5 i am not getting what is this error .
please help me to solve this error ASAP.
Thank you in advance for your help.

Hello, I am trying to run gem5 in fs mode by using command . build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/coep/gem5 2/full_system_images/aarch64-ubuntu-trusty-headless.img Error coming is as follows : " Error: script doesn't take any positional arguments" As i am new to in linux as well as in gem5 i am not getting what is this error . please help me to solve this error ASAP. Thank you in advance for your help.
HN
Hoa Nguyen
Tue, Feb 23, 2021 11:20 AM

Hi,

There is an whitespace between gem5 and 2 in the path to the disk
image, so the parser thinks that
2/full_system_images/aarch64-ubuntu-trusty-headless.img is argument.

Regards,
Hoa Nguyen

On 2/23/21, VAIDYA ROHINI VILAS via gem5-users <gem5-users(a)gem5.org> wrote:

Hello,
I am trying to run gem5 in fs mode by using command .

build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/coep/gem5
2/full_system_images/aarch64-ubuntu-trusty-headless.img

Error coming is as follows :
" Error: script doesn't take any positional arguments"
As i am new to in linux as well as in gem5 i am not getting what is this
error .
please help me to solve this error ASAP.
Thank you in advance for your help.

Hi, There is an whitespace between `gem5` and `2` in the path to the disk image, so the parser thinks that `2/full_system_images/aarch64-ubuntu-trusty-headless.img` is argument. Regards, Hoa Nguyen On 2/23/21, VAIDYA ROHINI VILAS via gem5-users <gem5-users(a)gem5.org> wrote: > Hello, > I am trying to run gem5 in fs mode by using command . > > build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/coep/gem5 > 2/full_system_images/aarch64-ubuntu-trusty-headless.img > > Error coming is as follows : > " Error: script doesn't take any positional arguments" > As i am new to in linux as well as in gem5 i am not getting what is this > error . > please help me to solve this error ASAP. > Thank you in advance for your help. >