Thanks Jason! I'm trying ./m5term and running the following build command: $build/ARM/gem5.opt --outdir=run/pop2_s configs/fs_ARM.py --checkpoint-dir=checkpoint/pop2_s -r 1 --disk-image=../m5_binaries/disks/gem5.img --kernel=../m5_binaries/binaries/vmlinux.arm64 --mem-size=4GB --cpu-type=AtomicSimpleCPU --caches --l2cache --l1d_size=32kB --l1i_size=32kB --l2_size=512kB --maxinsts=200000000
(same as before without a script and no checkpoint taken at the end). The terminal output is posted at the bottom. The third line, "/sbin/init: 25: /sbin/init: multi-user: not found" seems like a problem, but I'm unfamiliar with it (currently googling). Any ideas as to what that might mean/why it's happening? Thanks again! ==== m5 terminal: Terminal 0 ==== + multi-user mode /sbin/init: 25: /sbin/init: multi-user: not found [ 0.404059] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 [ 0.404059] [ 0.404066] CPU: 0 PID: 1 Comm: init Not tainted 4.18.0+ #1 [ 0.404070] Hardware name: V2P-CA15 (DT) [ 0.404074] Call trace: [ 0.404079] dump_backtrace+0x0/0x1c0 [ 0.404084] show_stack+0x14/0x20 [ 0.404089] dump_stack+0x8c/0xac [ 0.404094] panic+0x130/0x288 [ 0.404098] complete_and_exit+0x0/0x20 [ 0.404103] do_group_exit+0x38/0xa0 [ 0.404108] __wake_up_parent+0x0/0x28 [ 0.404113] el0_svc_naked+0x30/0x34 [ 0.404117] Kernel Offset: disabled [ 0.404121] CPU features: 0x21c06492 [ 0.404125] Memory Limit: 4096 MB [ 0.404132] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 [ 0.404132] ]--- On Mon, Oct 18, 2021 at 11:16 AM Jason Lowe-Power <ja...@lowepower.com> wrote: > 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