Hi Ayaz, Thanks for getting back, I was able to solve this problem by using another method.
Best regards, Abhishek On Tue, Mar 3, 2020 at 6:37 PM Ayaz Akram <yazak...@ucdavis.edu> wrote: > Hi Abhishek, > > By default, the root/.bashrc on this image has an m5 exit call and will > lead to simulation termination after linux boot up. If you update the > .bashrc file by adding a m5 readfile, you should be able to use an rcS > script with this image. Please, refer to the following script on how to use > m5 readfile: > > https://github.com/darchr/gem5art/blob/master/docs/disks/npb/runscript.sh > > -Ayaz > > > On Tue, Mar 3, 2020 at 7:32 AM Abhishek Singh < > abhishek.singh199...@gmail.com> wrote: > >> Hello Ayaz, >> >> Can this image accept the rcS script provided using the Command line? >> >> For example in this way: >> >> ./build/X86/gem5.opt >> --outdir=/home/abs218/whisper_gem5_setup/gem5_latest/scalibility_chkpt/ >> --stats-file=scalibility_chkpt.simout --dump-config=scalibility_chkpt.ini >> --redirect-stderr --stderr-file=scalibility_chkpt.e configs/example/fs.py >> --checkpoint-dir=/home/abs218/whisper_gem5_setup/gem5_latest/scalibility_chkpt/ >> --disk-image=/home/abs218/whisper_gem5_setup/benchmarks/gem5art/base.img >> --kernel=/home/abs218/new_fs/gem5/linux-4.8.13/vmlinux >> --script=scalibility.rcS >> >> >> Best regards, >> >> Abhishek >> >> >> On Fri, Jan 24, 2020 at 2:05 AM Ayaz Akram <yazak...@ucdavis.edu> wrote: >> >>> Hi Rubel, >>> >>> You can download a disk image with ubuntu 18.04 using the following link: >>> >>> http://dist.gem5.org/images/x86/ubuntu-18-04/base.img >>> >>> We have also uploaded some linux kernel binaries and associated kernel >>> config files, which you can download from the following links: >>> >>> http://dist.gem5.org/kernels/x86/static/vmlinux-4.14.134 >>> http://dist.gem5.org/kernels/x86/static/vmlinux-4.14.134.config >>> >>> In the above links, replace vmlinux-4.14.134 >>> <http://dist.gem5.org/kernels/x86/static/vmlinux-4.14.134> with any >>> kernel from this list: vmlinux-4.19.83 >>> <http://dist.gem5.org/kernels/x86/static/vmlinux-4.19.83>, vmlinux-4.4.1 >>> <http://dist.gem5.org/kernels/x86/static/vmlinux-4.4.189>*86*, >>> vmlinux-5.2.3 <http://dist.gem5.org/kernels/x86/static/vmlinux-5.2.3>, >>> vmlinux-4.9.186 >>> <http://dist.gem5.org/kernels/x86/static/vmlinux-4.9.186> to download >>> that kernel binary or the kernel config file used to build the kernel. >>> >>> In order to find out which kernel versions work on which gem5 configs, >>> you can refer to the status plots shown at the bottom of the following >>> tutorial: >>> >>> https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html >>> >>> Please, note that these status plots are generated using gem5 commit: >>> d40f0bc579fb8b10da7181. >>> >>> We will soon release more details on the methodology (gem5art: libraries >>> for artifacts, reproducibility and testing) used to generate these plots. >>> >>> Regards, >>> Ayaz >>> >>> >>> On Thu, Jan 23, 2020 at 8:11 AM Md Rubel Ahmed < >>> mdrubelah...@mail.usf.edu> wrote: >>> >>>> Hi all, >>>> I want to run ubuntu 18.04 on top of X86 gem5.opt full system. I am >>>> specifically interested in running a multi-threaded program on this OS. I >>>> have followed the below tutorials but could not get my required version >>>> booted. >>>> Tutorials: >>>> 1. http://www.lowepower.com/jason/setting-up-gem5-full-system.html >>>> 2. https://docs.simplessd.org/tips/kernel.html >>>> I also tried with the kernel and disk img provided with the tutorial >>>> [2]. But still getting similar errors: >>>> >>>> ``` >>>> VFS: Cannot open root device "hda1" or unknown-block(3,1) >>>> Please append a correct "root=" boot option; here are the available >>>> partitions: >>>> 0300 16 hda driver: ide-disk >>>> 0340 524160 hdb driver: ide-disk >>>> 0341 524128 hdb1 >>>> ``` >>>> >>>> Now I am asking if anyone has a good kernel and image built with some >>>> latest version of ubuntu/Linux and publicly available, or can someone tell >>>> me the steps needed to overcome the errors and getting my job done. >>>> >>>> Thanks for your time. >>>> Regards, >>>> Rubel >>>> _______________________________________________ >>>> gem5-users mailing list >>>> gem5-users@gem5.org >>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >>> _______________________________________________ >>> gem5-users mailing list >>> gem5-users@gem5.org >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> >>
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users