[gem5-users] Re: Disk image for FS

2021-03-04 Thread Miguel Antonio Avargues Gutiérrez via gem5-users

Hi Hoa,

Thanks for the follow-up.

Fortunately I was able to run a FS simulation using the provided fs.py 
config file with the parsec.img. I found no errors and was even able to 
run some SPLASH-2 benchmarks on it, simply using the --disk-image with 
the provided --kernel was enough. Thanks for all the help you have 
provided me with. Anyway I'll take a look at all the resources you've 
provided me with to see if it can enhance my workflow.


Greetings,
Miguel Antonio Avargues Gutiérrez.

El 04/03/2021 a las 14:02, Hoa Nguyen via gem5-users escribió:

Hi Miguel,

Sorry for the late reply.

I don't know whether parsec.img would work with configs/fs.py;
however, we've been testing and using parsec.img with the gem5 configs
from gem5-resources
(https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/parsec/configs/)
[1].

You can modify the configs from [1] to run command line commands
(which, I guess, would have the same behaviors as --script from
configs/fs.py). Specifically, in the writeBenchScript() function in
run_parsec.py, the content inputted to bench_file.write() will
eventually be appended to .bashrc during gem5 simulation.

Since you mentioned newer Linux kernel versions, it is known that the
current state of the configs from [1] would run into a kernel panic
when running the simulation with newer Linux kernel versions. This
change (https://gem5-review.googlesource.com/c/public/gem5-resources/+/42261)
is supposed to fix the problem.

Regards,
Hoa Nguyen

Regards,
Hoa Nguyen

On 2/28/21, Miguel Antonio Avargues Gutiérrez via gem5-users
 wrote:

Thanks for the help Hoa.

I have downloaded the parsec.img disk image and the right kernel version
from [1]. It seems to boot properly when using the fs.py config script
but i don't get a terminal to interact with the simulated system using
telnet. Is that expected because i need to use the --script parameter or
am I missing something?

Greetings,
Miguel antonio Avargues Gutiérrez.

El 28/02/2021 a las 3:10, Hoa Nguyen via gem5-users escribió:

Hi Miguel,

For X86 full system simulation, specifically for creating custom disk
image that runs with newer Linux kernels, I believe gem5-resources has
the resources for that. More details can be found here,
- General introduction and artifacts:
https://www.gem5.org/documentation/general_docs/gem5_resources/ [1]
- Source code: https://gem5.googlesource.com/public/gem5-resources [2]
- Detailed instructions:
https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html#creating-a-disk-image
[3] and
https://gem5art.readthedocs.io/en/latest/tutorials/npb-tutorial.html#creating-a-disk-image
[4]


- From link [1], you can find built disk images, which could be
manipulated to suite an experiment.
- From link [2], you can find examples of building disk images for
some benchmarks such as npb, parsec, gapbs and spec.
- Link [3] and link [4] offer some explanation of what happens when
the disk images are built. The same website
(https://gem5art.readthedocs.io/en/latest/) also has tutorials for
other benchmarks and there are outdated links to GitHub (which were
moved to [2]). We are working on updating the website.


Regarding compiling util/m5, the new command to compile it is
```
scons build/x86/out/m5
```
where "x86" could be replaced by other ISA.


I hope this helps.


Regards,
Hoa Nguyen

On 2/27/21, Miguel Antonio Avargues Gutiérrez via gem5-users
 wrote:

Hello everyone.

I'm a pretty new user to gem5 and I've been trying to get a FS
simulation going on with a newer kernel version and a custom disk image.
Unfortunately i feel like my disk image isn't properly created since i
can't get the simulation going. Is there any up-to-date tutorias about
making a custom file image? All the tutorias i've found make references
to files that i can't find in the simulator (such as
util/m5/Makefile.x86). I am using version 20.0.0.3 and I can't change
it.

--
Greetings,
Miguel Antonio Avargues Gutiérrez.
___
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 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 mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(

[gem5-users] Re: Disk image for FS

2021-03-04 Thread Hoa Nguyen via gem5-users
Hi Miguel,

Sorry for the late reply.

I don't know whether parsec.img would work with configs/fs.py;
however, we've been testing and using parsec.img with the gem5 configs
from gem5-resources
(https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/parsec/configs/)
[1].

You can modify the configs from [1] to run command line commands
(which, I guess, would have the same behaviors as --script from
configs/fs.py). Specifically, in the writeBenchScript() function in
run_parsec.py, the content inputted to bench_file.write() will
eventually be appended to .bashrc during gem5 simulation.

Since you mentioned newer Linux kernel versions, it is known that the
current state of the configs from [1] would run into a kernel panic
when running the simulation with newer Linux kernel versions. This
change (https://gem5-review.googlesource.com/c/public/gem5-resources/+/42261)
is supposed to fix the problem.

Regards,
Hoa Nguyen

Regards,
Hoa Nguyen

On 2/28/21, Miguel Antonio Avargues Gutiérrez via gem5-users
 wrote:
> Thanks for the help Hoa.
>
> I have downloaded the parsec.img disk image and the right kernel version
> from [1]. It seems to boot properly when using the fs.py config script
> but i don't get a terminal to interact with the simulated system using
> telnet. Is that expected because i need to use the --script parameter or
> am I missing something?
>
> Greetings,
> Miguel antonio Avargues Gutiérrez.
>
> El 28/02/2021 a las 3:10, Hoa Nguyen via gem5-users escribió:
>> Hi Miguel,
>>
>> For X86 full system simulation, specifically for creating custom disk
>> image that runs with newer Linux kernels, I believe gem5-resources has
>> the resources for that. More details can be found here,
>> - General introduction and artifacts:
>> https://www.gem5.org/documentation/general_docs/gem5_resources/ [1]
>> - Source code: https://gem5.googlesource.com/public/gem5-resources [2]
>> - Detailed instructions:
>> https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html#creating-a-disk-image
>> [3] and
>> https://gem5art.readthedocs.io/en/latest/tutorials/npb-tutorial.html#creating-a-disk-image
>> [4]
>>
>>
>> - From link [1], you can find built disk images, which could be
>> manipulated to suite an experiment.
>> - From link [2], you can find examples of building disk images for
>> some benchmarks such as npb, parsec, gapbs and spec.
>> - Link [3] and link [4] offer some explanation of what happens when
>> the disk images are built. The same website
>> (https://gem5art.readthedocs.io/en/latest/) also has tutorials for
>> other benchmarks and there are outdated links to GitHub (which were
>> moved to [2]). We are working on updating the website.
>>
>>
>> Regarding compiling util/m5, the new command to compile it is
>> ```
>> scons build/x86/out/m5
>> ```
>> where "x86" could be replaced by other ISA.
>>
>>
>> I hope this helps.
>>
>>
>> Regards,
>> Hoa Nguyen
>>
>> On 2/27/21, Miguel Antonio Avargues Gutiérrez via gem5-users
>>  wrote:
>>> Hello everyone.
>>>
>>> I'm a pretty new user to gem5 and I've been trying to get a FS
>>> simulation going on with a newer kernel version and a custom disk image.
>>> Unfortunately i feel like my disk image isn't properly created since i
>>> can't get the simulation going. Is there any up-to-date tutorias about
>>> making a custom file image? All the tutorias i've found make references
>>> to files that i can't find in the simulator (such as
>>> util/m5/Makefile.x86). I am using version 20.0.0.3 and I can't change
>>> it.
>>>
>>> --
>>> Greetings,
>>> Miguel Antonio Avargues Gutiérrez.
>>> ___
>>> 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 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] Re: Disk image for FS

2021-03-02 Thread VAIDYA ROHINI VILAS via gem5-users
Hello sir,
Sorry but I am not getting exactly what to do.
Can you please elaborate that how to mount  disk image into my binary file.
If there is any document available explaning steps reagarding this will you 
please share with me.
Thank you.
Rohini vaidya.


From: Miguel Antonio Avargues Gutiérrez via gem5-users 
Sent: 01 March 2021 01:33
To: VAIDYA ROHINI VILAS via gem5-users 
Cc: Miguel Antonio Avargues Gutiérrez 
Subject: [gem5-users] Re: Disk image for FS


Hi Vaidya.

You have to mount the disk image that you are using for FS simulation with the 
compiled binaries that you want to add. After that, you can run your simulation 
and run the binaries either in interactive mode or with the --script argument 
when you launch the simulation (the same way you point to a disk image or a 
kernel). I recommend that you download both the kernel and the disk image from 
this https://www.gem5.org/documentation/general_docs/gem5_resources/ link. Get 
the "parsec" disk image and the corresponding kernel for it.

Un saludo,
Miguel Antonio Avargues Gutiérrez.

El 28/02/2021 a las 18:24, VAIDYA ROHINI VILAS via gem5-users escribió:
Hello,
I want to run my own binary file in FS mode hoe to do that..Please help me i 
stuck at this point from a month..I just want to add binary file to work it in 
FS mode.

Get Outlook for Android<https://aka.ms/ghei36>

From: Hoa Nguyen via gem5-users 
<mailto:gem5-users@gem5.org>
Sent: Sunday, February 28, 2021 7:40:24 AM
To: mia...@inf.upv.es<mailto:mia...@inf.upv.es> 
<mailto:mia...@inf.upv.es>; gem5 users mailing list 
<mailto:gem5-users@gem5.org>
Cc: Hoa Nguyen <mailto:hoangu...@ucdavis.edu>
Subject: [gem5-users] Re: Disk image for FS

Hi Miguel,

For X86 full system simulation, specifically for creating custom disk
image that runs with newer Linux kernels, I believe gem5-resources has
the resources for that. More details can be found here,
- General introduction and artifacts:
https://www.gem5.org/documentation/general_docs/gem5_resources/ [1]
- Source code: https://gem5.googlesource.com/public/gem5-resources [2]
- Detailed instructions:
https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html#creating-a-disk-image
[3] and 
https://gem5art.readthedocs.io/en/latest/tutorials/npb-tutorial.html#creating-a-disk-image
[4]


- From link [1], you can find built disk images, which could be
manipulated to suite an experiment.
- From link [2], you can find examples of building disk images for
some benchmarks such as npb, parsec, gapbs and spec.
- Link [3] and link [4] offer some explanation of what happens when
the disk images are built. The same website
(https://gem5art.readthedocs.io/en/latest/) also has tutorials for
other benchmarks and there are outdated links to GitHub (which were
moved to [2]). We are working on updating the website.


Regarding compiling util/m5, the new command to compile it is
```
scons build/x86/out/m5
```
where "x86" could be replaced by other ISA.


I hope this helps.


Regards,
Hoa Nguyen

On 2/27/21, Miguel Antonio Avargues Gutiérrez via gem5-users
<mailto:gem5-users@gem5.org> wrote:
> Hello everyone.
>
> I'm a pretty new user to gem5 and I've been trying to get a FS
> simulation going on with a newer kernel version and a custom disk image.
> Unfortunately i feel like my disk image isn't properly created since i
> can't get the simulation going. Is there any up-to-date tutorias about
> making a custom file image? All the tutorias i've found make references
> to files that i can't find in the simulator (such as
> util/m5/Makefile.x86). I am using version 20.0.0.3 and I can't change it.
>
> --
> Greetings,
> Miguel Antonio Avargues Gutiérrez.
> ___
> gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org>
> To unsubscribe send an email to 
> gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org>
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org>
To unsubscribe send an email to 
gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org>
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s



___
gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org>
To unsubscribe send an email to 
gem5-users-le...@gem5.org<mailto: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] Re: Disk image for FS

2021-02-28 Thread Miguel Antonio Avargues Gutiérrez via gem5-users

Hi Vaidya.

You have to mount the disk image that you are using for FS simulation 
with the compiled binaries that you want to add. After that, you can run 
your simulation and run the binaries either in interactive mode or with 
the --script argument when you launch the simulation (the same way you 
point to a disk image or a kernel). I recommend that you download both 
the kernel and the disk image from this 
https://www.gem5.org/documentation/general_docs/gem5_resources/ 
<https://www.gem5.org/documentation/general_docs/gem5_resources/> link. 
Get the "parsec" disk image and the corresponding kernel for it.


Un saludo,
Miguel Antonio Avargues Gutiérrez.

El 28/02/2021 a las 18:24, VAIDYA ROHINI VILAS via gem5-users escribió:

Hello,
I want to run my own binary file in FS mode hoe to do that..Please 
help me i stuck at this point from a month..I just want to add binary 
file to work it in FS mode.


Get Outlook for Android <https://aka.ms/ghei36>

*From:* Hoa Nguyen via gem5-users 
*Sent:* Sunday, February 28, 2021 7:40:24 AM
*To:* mia...@inf.upv.es ; gem5 users mailing list 


*Cc:* Hoa Nguyen 
*Subject:* [gem5-users] Re: Disk image for FS
Hi Miguel,

For X86 full system simulation, specifically for creating custom disk
image that runs with newer Linux kernels, I believe gem5-resources has
the resources for that. More details can be found here,
- General introduction and artifacts:
https://www.gem5.org/documentation/general_docs/gem5_resources/ 
<https://www.gem5.org/documentation/general_docs/gem5_resources/> [1]
- Source code: https://gem5.googlesource.com/public/gem5-resources 
<https://gem5.googlesource.com/public/gem5-resources> [2]

- Detailed instructions:
https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html#creating-a-disk-image 
<https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html#creating-a-disk-image>
[3] and 
https://gem5art.readthedocs.io/en/latest/tutorials/npb-tutorial.html#creating-a-disk-image 
<https://gem5art.readthedocs.io/en/latest/tutorials/npb-tutorial.html#creating-a-disk-image>

[4]


- From link [1], you can find built disk images, which could be
manipulated to suite an experiment.
- From link [2], you can find examples of building disk images for
some benchmarks such as npb, parsec, gapbs and spec.
- Link [3] and link [4] offer some explanation of what happens when
the disk images are built. The same website
(https://gem5art.readthedocs.io/en/latest/ 
<https://gem5art.readthedocs.io/en/latest/>) also has tutorials for

other benchmarks and there are outdated links to GitHub (which were
moved to [2]). We are working on updating the website.


Regarding compiling util/m5, the new command to compile it is
```
scons build/x86/out/m5
```
where "x86" could be replaced by other ISA.


I hope this helps.


Regards,
Hoa Nguyen

On 2/27/21, Miguel Antonio Avargues Gutiérrez via gem5-users
 wrote:
> Hello everyone.
>
> I'm a pretty new user to gem5 and I've been trying to get a FS
> simulation going on with a newer kernel version and a custom disk image.
> Unfortunately i feel like my disk image isn't properly created since i
> can't get the simulation going. Is there any up-to-date tutorias about
> making a custom file image? All the tutorias i've found make references
> to files that i can't find in the simulator (such as
> util/m5/Makefile.x86). I am using version 20.0.0.3 and I can't 
change it.

>
> --
> Greetings,
> Miguel Antonio Avargues Gutiérrez.
> ___
> 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 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] Re: Disk image for FS

2021-02-28 Thread VAIDYA ROHINI VILAS via gem5-users
Hello,
I want to run my own binary file in FS mode hoe to do that..Please help me i 
stuck at this point from a month..I just want to add binary file to work it in 
FS mode.

Get Outlook for Android<https://aka.ms/ghei36>

From: Hoa Nguyen via gem5-users 
Sent: Sunday, February 28, 2021 7:40:24 AM
To: mia...@inf.upv.es ; gem5 users mailing list 

Cc: Hoa Nguyen 
Subject: [gem5-users] Re: Disk image for FS

Hi Miguel,

For X86 full system simulation, specifically for creating custom disk
image that runs with newer Linux kernels, I believe gem5-resources has
the resources for that. More details can be found here,
- General introduction and artifacts:
https://www.gem5.org/documentation/general_docs/gem5_resources/ [1]
- Source code: https://gem5.googlesource.com/public/gem5-resources [2]
- Detailed instructions:
https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html#creating-a-disk-image
[3] and 
https://gem5art.readthedocs.io/en/latest/tutorials/npb-tutorial.html#creating-a-disk-image
[4]


- From link [1], you can find built disk images, which could be
manipulated to suite an experiment.
- From link [2], you can find examples of building disk images for
some benchmarks such as npb, parsec, gapbs and spec.
- Link [3] and link [4] offer some explanation of what happens when
the disk images are built. The same website
(https://gem5art.readthedocs.io/en/latest/) also has tutorials for
other benchmarks and there are outdated links to GitHub (which were
moved to [2]). We are working on updating the website.


Regarding compiling util/m5, the new command to compile it is
```
scons build/x86/out/m5
```
where "x86" could be replaced by other ISA.


I hope this helps.


Regards,
Hoa Nguyen

On 2/27/21, Miguel Antonio Avargues Gutiérrez via gem5-users
 wrote:
> Hello everyone.
>
> I'm a pretty new user to gem5 and I've been trying to get a FS
> simulation going on with a newer kernel version and a custom disk image.
> Unfortunately i feel like my disk image isn't properly created since i
> can't get the simulation going. Is there any up-to-date tutorias about
> making a custom file image? All the tutorias i've found make references
> to files that i can't find in the simulator (such as
> util/m5/Makefile.x86). I am using version 20.0.0.3 and I can't change it.
>
> --
> Greetings,
> Miguel Antonio Avargues Gutiérrez.
> ___
> 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 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: Disk image for FS

2021-02-28 Thread Miguel Antonio Avargues Gutiérrez via gem5-users

Thanks for the help Hoa.

I have downloaded the parsec.img disk image and the right kernel version 
from [1]. It seems to boot properly when using the fs.py config script 
but i don't get a terminal to interact with the simulated system using 
telnet. Is that expected because i need to use the --script parameter or 
am I missing something?


Greetings,
Miguel antonio Avargues Gutiérrez.

El 28/02/2021 a las 3:10, Hoa Nguyen via gem5-users escribió:

Hi Miguel,

For X86 full system simulation, specifically for creating custom disk
image that runs with newer Linux kernels, I believe gem5-resources has
the resources for that. More details can be found here,
- General introduction and artifacts:
https://www.gem5.org/documentation/general_docs/gem5_resources/ [1]
- Source code: https://gem5.googlesource.com/public/gem5-resources [2]
- Detailed instructions:
https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html#creating-a-disk-image
[3] and 
https://gem5art.readthedocs.io/en/latest/tutorials/npb-tutorial.html#creating-a-disk-image
[4]


- From link [1], you can find built disk images, which could be
manipulated to suite an experiment.
- From link [2], you can find examples of building disk images for
some benchmarks such as npb, parsec, gapbs and spec.
- Link [3] and link [4] offer some explanation of what happens when
the disk images are built. The same website
(https://gem5art.readthedocs.io/en/latest/) also has tutorials for
other benchmarks and there are outdated links to GitHub (which were
moved to [2]). We are working on updating the website.


Regarding compiling util/m5, the new command to compile it is
```
scons build/x86/out/m5
```
where "x86" could be replaced by other ISA.


I hope this helps.


Regards,
Hoa Nguyen

On 2/27/21, Miguel Antonio Avargues Gutiérrez via gem5-users
 wrote:

Hello everyone.

I'm a pretty new user to gem5 and I've been trying to get a FS
simulation going on with a newer kernel version and a custom disk image.
Unfortunately i feel like my disk image isn't properly created since i
can't get the simulation going. Is there any up-to-date tutorias about
making a custom file image? All the tutorias i've found make references
to files that i can't find in the simulator (such as
util/m5/Makefile.x86). I am using version 20.0.0.3 and I can't change it.

--
Greetings,
Miguel Antonio Avargues Gutiérrez.
___
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 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: Disk image for FS

2021-02-27 Thread Hoa Nguyen via gem5-users
Hi Miguel,

For X86 full system simulation, specifically for creating custom disk
image that runs with newer Linux kernels, I believe gem5-resources has
the resources for that. More details can be found here,
- General introduction and artifacts:
https://www.gem5.org/documentation/general_docs/gem5_resources/ [1]
- Source code: https://gem5.googlesource.com/public/gem5-resources [2]
- Detailed instructions:
https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html#creating-a-disk-image
[3] and 
https://gem5art.readthedocs.io/en/latest/tutorials/npb-tutorial.html#creating-a-disk-image
[4]


- From link [1], you can find built disk images, which could be
manipulated to suite an experiment.
- From link [2], you can find examples of building disk images for
some benchmarks such as npb, parsec, gapbs and spec.
- Link [3] and link [4] offer some explanation of what happens when
the disk images are built. The same website
(https://gem5art.readthedocs.io/en/latest/) also has tutorials for
other benchmarks and there are outdated links to GitHub (which were
moved to [2]). We are working on updating the website.


Regarding compiling util/m5, the new command to compile it is
```
scons build/x86/out/m5
```
where "x86" could be replaced by other ISA.


I hope this helps.


Regards,
Hoa Nguyen

On 2/27/21, Miguel Antonio Avargues Gutiérrez via gem5-users
 wrote:
> Hello everyone.
>
> I'm a pretty new user to gem5 and I've been trying to get a FS
> simulation going on with a newer kernel version and a custom disk image.
> Unfortunately i feel like my disk image isn't properly created since i
> can't get the simulation going. Is there any up-to-date tutorias about
> making a custom file image? All the tutorias i've found make references
> to files that i can't find in the simulator (such as
> util/m5/Makefile.x86). I am using version 20.0.0.3 and I can't change it.
>
> --
> Greetings,
> Miguel Antonio Avargues Gutiérrez.
> ___
> 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