Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runMobileNetV2.sh does not work on gem5-SALAM v1 #35

Open
chihyu-box opened this issue Jan 11, 2025 · 0 comments
Open

runMobileNetV2.sh does not work on gem5-SALAM v1 #35

chihyu-box opened this issue Jan 11, 2025 · 0 comments

Comments

@chihyu-box
Copy link

Hi,

I tried running runMobileNetV2.sh but encountered the following error:
I’m using the master branch (commit hash: 7eb2f2b).

yu@ubuntu:~/gem5-SALAM$ ./runMobileNetV2.sh 
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jan  8 2025 07:51:16
gem5 started Jan 10 2025 21:21:08
gem5 executing on ubuntu, pid 37165
command line: /home/yu/gem5-SALAM/build/ARM/gem5.opt --debug-flags=HWACC --outdir=BM_ARM_OUT/mobilenetv2 configs/SALAM/fs_mobilenetv2.py --mem-size=4GB --kernel=/home/yu/gem5-SALAM/benchmarks/mobilenetv2/sw/main.elf --disk-image=/home/yu/gem5-SALAM/baremetal/common/fake.iso --machine-type=VExpress_GEM5_V1 --dtb-file=none --bare-metal --cpu-type=DerivO3CPU --accpath=/home/yu/gem5-SALAM/benchmarks --caches --l2cache

Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (4096 Mbytes)
info: kernel located at: /home/yu/gem5-SALAM/benchmarks/mobilenetv2/sw/main.elf
Cycle Counts Loaded!
Cycle Counts Loaded!
Cycle Counts Loaded!
Cycle Counts Loaded!
Cycle Counts Loaded!
system.vncserver: Listening for connections on port 5900
system.terminal: Listening for connections on port 3456
warn: CoherentXBar system.body.coherency_bus has no snooping ports attached!
0: system.remote_gdb: listening for remote gdb on port 7000
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000004 size=1 data=0x8f
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f00000c size=1 data=0x8f
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f00000b size=1 data=0x10
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000001 size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000002 size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000003 size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000005 size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000006 size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000007 size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000008 size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000009 size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f00000a size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f00000d size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f00000e size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f00000f size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000010 size=1 data=0
warn: Device system.membus.badaddr_responder accessed by write to address 0x2f000011 size=1 data=0
gem5.opt: build/ARM/mem/cache/base.cc:435: virtual void BaseCache::recvTimingResp(PacketPtr): Assertion `mshr' failed.
Program aborted at tick 34509000
--- BEGIN LIBC BACKTRACE ---
/home/yu/gem5-SALAM/build/ARM/gem5.opt(_Z15print_backtracev+0x2c)[0x55f59bbea54c]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(_Z12abortHandleri+0x4a)[0x55f59bbfcaaa]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7f87fa733980]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f87f8f3fe87]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f87f8f417f1]
/lib/x86_64-linux-gnu/libc.so.6(+0x303fa)[0x7f87f8f313fa]
/lib/x86_64-linux-gnu/libc.so.6(+0x30472)[0x7f87f8f31472]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(_ZN9BaseCache14recvTimingRespEP6Packet+0xc2a)[0x55f59d361d5a]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(_ZThn72_N9BaseCache11MemSidePort14recvTimingRespEP6Packet+0x14)[0x55f59d353334]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(+0x2407cee)[0x55f59d2dfcee]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(_ZN10EventQueue10serviceOneEv+0xd9)[0x55f59bbf2d19]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(_Z9doSimLoopP10EventQueue+0x87)[0x55f59bc142d7]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(_Z8simulatem+0xcba)[0x55f59bc1532a]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(+0x16caf11)[0x55f59c5a2f11]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(+0xb29fa4)[0x55f59ba01fa4]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x64d7)[0x7f87fa9e0c47]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f87fab1f908]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f87fa9e0366]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f87fab1f908]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f87fa9e0366]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f87fab1f908]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f87fa9e0366]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f87fab1f908]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f87fa9da5d9]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ac0)[0x7f87fa9e1230]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f87fab1f908]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5bf6)[0x7f87fa9e0366]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7d8)[0x7f87fab1f908]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f87fa9da5d9]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x76)[0x7f87faa8a6f6]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(_Z6m5MainiPPc+0x83)[0x55f59bbfb5a3]
/home/yu/gem5-SALAM/build/ARM/gem5.opt(main+0x38)[0x55f59b9147b8]
--- END LIBC BACKTRACE ---
./runMobileNetV2.sh: line 51: 37165 Aborted                 (core dumped) $RUN_SCRIPT

Could you provide some hints on how to fix this issue?
Also, I noticed that gem5-SALAM v2 was introduced recently. Is there a stable version of it that you would recommend for use?
Thanks,
Yu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant