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 <gem5-users@gem5.org> 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 >> <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 >>> 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