Hi Reiko, I would guess that it's a permission issue as well. Maybe, by default, when booting the image it logs in as a regular user?
What I would do is not pass the rcS script and log in interactively with the m5term (see util/term). Then, run the commands in the rcS file one at a time manually to see what's going on. Cheers, Jason On Sat, Oct 16, 2021 at 4:34 PM Reiko Matsuda-dunn via gem5-users < gem5-users@gem5.org> wrote: > Hello! > > I am trying to run the SPEC 2017 benchmarks with gem5 and have had luck > with some of them, but many are unable to find their input files. If I > mount the disk image I'm using, I can actually run these benchmarks > directly on the disk image as root (they can open their input files). > However, if I have the exact same command in a .rCs file passed as a script > to $build/ARM/gem5.opt configs/fs.py, I get these file not found errors. > > I'm checking all my paths, but I'm skeptical that that is the issue, as > some benchmarks consistently run and other specific benchmarks do not. > > An example of the full command I'm running is: > > $build/ARM/gem5.opt --outdir=run/exchange2_s configs/fs_ARM.py > --checkpoint-dir=checkpoint/exchange2_s -r 1 > --disk-image=../m5_binaries/disks/gem5.img > --kernel=../m5_binaries/binaries/vmlinux.arm64 > --script=scripts/exchange2_s.rcS --mem-size=4GB --cpu-type=AtomicSimpleCPU > --caches --l2cache --l1d_size=32kB --l1i_size=32kB --l2_size=512kB > --checkpoint-at-end --maxinsts=2000000000 > > The benchmarks with these errors include: cam4_s, exchange2_s, fotonik_s, > nab_s, omnetpp_s, pop2_s, roms_s, wrf_s, and x264_s. > > Could this possibly be a permissions issue? The input files in question > have -rw-rw-r-- as their permissions, which seems to me like it should be > okay. > > Any ideas would be appreciated! > Thanks, > Reiko > _______________________________________________ > 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