Amine Marref
2018-10-17 09:21:41 UTC
Dear All,
I am trying to use gem5 in FS mode. When I pass the disk image's name to
the simulation command, I get the error message " IOError: Can't find file
'vmlinux.aarch32.ll_20131205.0-gem5' on path".
The disk image I am running is the one from the archive "
aarch-system-20180409.tar.xz
<http://www.gem5.org/dist/current/arm/aarch-system-20180409.tar.xz>" which
does not contain the file mentioned in the error message.
Furthermore, I have used the flags --disk-image, --kernel, and --dtb to
specify exactly the images/binaries that need to be used; however, with no
luck.
My M5_PATH is set correctly.
In [1-5] below, I show relevant information to the issue.
I also downloaded the system images contained in the archive "
aarch-system-2014-10.tar.xz
<http://www.gem5.org/dist/current/arm/aarch-system-2014-10.tar.xz>" (which
contains the file mentioned in the error message), set the M5_PATH to point
to the new location, and ran FS simulation. This time it did not produce
the previous error message, but simulation got stuck after producing the
message "Kernel panic in simulated kernel".
I too am stuck. Any ideas?
I am running gem version 2.0 inside a virtual machine of Ubuntu 16.04.
Thanks,
Amine.
[1] The variable M5_PATH is set correctly.
***@ubuntu:~/Workspace/full-systems/aarch-system-20180409$ echo $M5_PATH
/home/amine/Workspace/full-systems/aarch-system-20180409/
[2] The content of the archive that contains the system images.
***@ubuntu:~/Workspace/full-systems/aarch-system-20180409$ ls -R
.:
binaries disks m5out revisions
./binaries:
aarch64_gem5_server.dtb
armv7_gem5_v1_16cpu.dtb
armv7_gem5_v1_1cpu.dtb
armv7_gem5_v1_2cpu.dtb
armv7_gem5_v1_4cpu.dtb
armv7_gem5_v1_8cpu.dtb
armv8_gem5_v1_16cpu.dtb
armv8_gem5_v1_1cpu.dtb
armv8_gem5_v1_2cpu.dtb
armv8_gem5_v1_4cpu.dtb
armv8_gem5_v1_8cpu.dtb
armv8_gem5_v1_big_little_2_2.dtb
armv8_gem5_v1_big_little_2_4.dtb
binaries
boot.arm
boot_emm.arm
boot_emm.arm64
m5.aarch32
m5.aarch64
vexpress-v2p-ca15-tc1-gem5_1cpus.dtb
vexpress-v2p-ca15-tc1-gem5_2cpus.dtb
vexpress-v2p-ca15-tc1-gem5_4cpus.dtb
vexpress-v2p-ca15-tc1-gem5_dvfs_1cpus.dtb
vexpress-v2p-ca15-tc1-gem5_dvfs_2cpus.dtb
vexpress-v2p-ca15-tc1-gem5_dvfs_4cpus.dtb
vexpress-v2p-ca15-tc1-gem5_dvfs_per_core_2cpus.dtb
vexpress-v2p-ca15-tc1-gem5_dvfs_per_core_4cpus.dtb
vmlinux.vexpress_emm
vmlinux.vexpress_emm64
vmlinux.vexpress_gem5_v1
vmlinux.vexpress_gem5_v1_64
./disks:
aarch32-ubuntu-natty-headless.img linaro-minimal-aarch64.img
aarch64-ubuntu-trusty-headless.img linux-aarch32-ael.img
./m5out:
stats.txt
./revisions:
gem5 linux linux-arm64-legacy linux-arm-legacy
[4] Running FS simulation fails.
***@ubuntu:~/Workspace/full-systems/aarch-system-20180409$
~/Workspace/gem5/build/ARM/gem5.opt ~/Workspace/gem5/configs/example/fs.py
--disk-image=/home/amine/Workspace/full-systems/aarch-system-20180409/disks/aarch64-ubuntu-trusty-headless.img
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Oct 16 2018 21:43:32
gem5 started Oct 17 2018 09:12:25
gem5 executing on ubuntu, pid 5730
command line: /home/amine/Workspace/gem5/build/ARM/gem5.opt
/home/amine/Workspace/gem5/configs/example/fs.py
--disk-image=/home/amine/Workspace/full-systems/aarch-system-20180409/disks/aarch64-ubuntu-trusty-headless.img
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/amine/Workspace/gem5/src/python/m5/main.py", line 435, in main
exec filecode in scope
File "/home/amine/Workspace/gem5/configs/example/fs.py", line 344, in
<module>
test_sys = build_test_system(np)
File "/home/amine/Workspace/gem5/configs/example/fs.py", line 109, in
build_test_system
security=options.enable_security_extensions)
File "/home/amine/Workspace/gem5/configs/common/FSConfig.py", line 310,
in makeArmSystem
self.kernel = binary(default_kernels[machine_type])
File "/home/amine/Workspace/gem5/configs/common/SysPaths.py", line 67, in
__call__
raise IOError, "Can't find file '%s' on path." % filename
IOError: Can't find file 'vmlinux.aarch32.ll_20131205.0-gem5' on path.
[5] Running FS simulation with more flags also fails.
***@ubuntu:~/Workspace/full-systems/aarch-system-20180409$
~/Workspace/gem5/build/ARM/gem5.opt ~/Workspace/gem5/configs/example/fs.py
--disk-image=/home/amine/Workspace/full-systems/aarch-system-20180409/disks/aarch64-ubuntu-trusty-headless.img
--dtb=/home/amine/Workspace/full-systems/aarch-system-20180409/binaries/armv8_gem5_v1_8cpu.dtb
--kernel=/home/amine/Workspace/full-systems/aarch-system-20180409/binaries/vmlinux.vexpress_gem5_v1_64
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Oct 16 2018 21:43:32
gem5 started Oct 17 2018 09:12:37
gem5 executing on ubuntu, pid 5731
command line: /home/amine/Workspace/gem5/build/ARM/gem5.opt
/home/amine/Workspace/gem5/configs/example/fs.py
--disk-image=/home/amine/Workspace/full-systems/aarch-system-20180409/disks/aarch64-ubuntu-trusty-headless.img
--dtb=/home/amine/Workspace/full-systems/aarch-system-20180409/binaries/armv8_gem5_v1_8cpu.dtb
--kernel=/home/amine/Workspace/full-systems/aarch-system-20180409/binaries/vmlinux.vexpress_gem5_v1_64
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/amine/Workspace/gem5/src/python/m5/main.py", line 435, in main
exec filecode in scope
File "/home/amine/Workspace/gem5/configs/example/fs.py", line 344, in
<module>
test_sys = build_test_system(np)
File "/home/amine/Workspace/gem5/configs/example/fs.py", line 109, in
build_test_system
security=options.enable_security_extensions)
File "/home/amine/Workspace/gem5/configs/common/FSConfig.py", line 310,
in makeArmSystem
self.kernel = binary(default_kernels[machine_type])
File "/home/amine/Workspace/gem5/configs/common/SysPaths.py", line 67, in
__call__
raise IOError, "Can't find file '%s' on path." % filename
IOError: Can't find file 'vmlinux.aarch32.ll_20131205.0-gem5' on path.
***@ubuntu:~/Workspace/full-systems/aarch-system-20180409$
I am trying to use gem5 in FS mode. When I pass the disk image's name to
the simulation command, I get the error message " IOError: Can't find file
'vmlinux.aarch32.ll_20131205.0-gem5' on path".
The disk image I am running is the one from the archive "
aarch-system-20180409.tar.xz
<http://www.gem5.org/dist/current/arm/aarch-system-20180409.tar.xz>" which
does not contain the file mentioned in the error message.
Furthermore, I have used the flags --disk-image, --kernel, and --dtb to
specify exactly the images/binaries that need to be used; however, with no
luck.
My M5_PATH is set correctly.
In [1-5] below, I show relevant information to the issue.
I also downloaded the system images contained in the archive "
aarch-system-2014-10.tar.xz
<http://www.gem5.org/dist/current/arm/aarch-system-2014-10.tar.xz>" (which
contains the file mentioned in the error message), set the M5_PATH to point
to the new location, and ran FS simulation. This time it did not produce
the previous error message, but simulation got stuck after producing the
message "Kernel panic in simulated kernel".
I too am stuck. Any ideas?
I am running gem version 2.0 inside a virtual machine of Ubuntu 16.04.
Thanks,
Amine.
[1] The variable M5_PATH is set correctly.
***@ubuntu:~/Workspace/full-systems/aarch-system-20180409$ echo $M5_PATH
/home/amine/Workspace/full-systems/aarch-system-20180409/
[2] The content of the archive that contains the system images.
***@ubuntu:~/Workspace/full-systems/aarch-system-20180409$ ls -R
.:
binaries disks m5out revisions
./binaries:
aarch64_gem5_server.dtb
armv7_gem5_v1_16cpu.dtb
armv7_gem5_v1_1cpu.dtb
armv7_gem5_v1_2cpu.dtb
armv7_gem5_v1_4cpu.dtb
armv7_gem5_v1_8cpu.dtb
armv8_gem5_v1_16cpu.dtb
armv8_gem5_v1_1cpu.dtb
armv8_gem5_v1_2cpu.dtb
armv8_gem5_v1_4cpu.dtb
armv8_gem5_v1_8cpu.dtb
armv8_gem5_v1_big_little_2_2.dtb
armv8_gem5_v1_big_little_2_4.dtb
binaries
boot.arm
boot_emm.arm
boot_emm.arm64
m5.aarch32
m5.aarch64
vexpress-v2p-ca15-tc1-gem5_1cpus.dtb
vexpress-v2p-ca15-tc1-gem5_2cpus.dtb
vexpress-v2p-ca15-tc1-gem5_4cpus.dtb
vexpress-v2p-ca15-tc1-gem5_dvfs_1cpus.dtb
vexpress-v2p-ca15-tc1-gem5_dvfs_2cpus.dtb
vexpress-v2p-ca15-tc1-gem5_dvfs_4cpus.dtb
vexpress-v2p-ca15-tc1-gem5_dvfs_per_core_2cpus.dtb
vexpress-v2p-ca15-tc1-gem5_dvfs_per_core_4cpus.dtb
vmlinux.vexpress_emm
vmlinux.vexpress_emm64
vmlinux.vexpress_gem5_v1
vmlinux.vexpress_gem5_v1_64
./disks:
aarch32-ubuntu-natty-headless.img linaro-minimal-aarch64.img
aarch64-ubuntu-trusty-headless.img linux-aarch32-ael.img
./m5out:
stats.txt
./revisions:
gem5 linux linux-arm64-legacy linux-arm-legacy
[4] Running FS simulation fails.
***@ubuntu:~/Workspace/full-systems/aarch-system-20180409$
~/Workspace/gem5/build/ARM/gem5.opt ~/Workspace/gem5/configs/example/fs.py
--disk-image=/home/amine/Workspace/full-systems/aarch-system-20180409/disks/aarch64-ubuntu-trusty-headless.img
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Oct 16 2018 21:43:32
gem5 started Oct 17 2018 09:12:25
gem5 executing on ubuntu, pid 5730
command line: /home/amine/Workspace/gem5/build/ARM/gem5.opt
/home/amine/Workspace/gem5/configs/example/fs.py
--disk-image=/home/amine/Workspace/full-systems/aarch-system-20180409/disks/aarch64-ubuntu-trusty-headless.img
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/amine/Workspace/gem5/src/python/m5/main.py", line 435, in main
exec filecode in scope
File "/home/amine/Workspace/gem5/configs/example/fs.py", line 344, in
<module>
test_sys = build_test_system(np)
File "/home/amine/Workspace/gem5/configs/example/fs.py", line 109, in
build_test_system
security=options.enable_security_extensions)
File "/home/amine/Workspace/gem5/configs/common/FSConfig.py", line 310,
in makeArmSystem
self.kernel = binary(default_kernels[machine_type])
File "/home/amine/Workspace/gem5/configs/common/SysPaths.py", line 67, in
__call__
raise IOError, "Can't find file '%s' on path." % filename
IOError: Can't find file 'vmlinux.aarch32.ll_20131205.0-gem5' on path.
[5] Running FS simulation with more flags also fails.
***@ubuntu:~/Workspace/full-systems/aarch-system-20180409$
~/Workspace/gem5/build/ARM/gem5.opt ~/Workspace/gem5/configs/example/fs.py
--disk-image=/home/amine/Workspace/full-systems/aarch-system-20180409/disks/aarch64-ubuntu-trusty-headless.img
--dtb=/home/amine/Workspace/full-systems/aarch-system-20180409/binaries/armv8_gem5_v1_8cpu.dtb
--kernel=/home/amine/Workspace/full-systems/aarch-system-20180409/binaries/vmlinux.vexpress_gem5_v1_64
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Oct 16 2018 21:43:32
gem5 started Oct 17 2018 09:12:37
gem5 executing on ubuntu, pid 5731
command line: /home/amine/Workspace/gem5/build/ARM/gem5.opt
/home/amine/Workspace/gem5/configs/example/fs.py
--disk-image=/home/amine/Workspace/full-systems/aarch-system-20180409/disks/aarch64-ubuntu-trusty-headless.img
--dtb=/home/amine/Workspace/full-systems/aarch-system-20180409/binaries/armv8_gem5_v1_8cpu.dtb
--kernel=/home/amine/Workspace/full-systems/aarch-system-20180409/binaries/vmlinux.vexpress_gem5_v1_64
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/amine/Workspace/gem5/src/python/m5/main.py", line 435, in main
exec filecode in scope
File "/home/amine/Workspace/gem5/configs/example/fs.py", line 344, in
<module>
test_sys = build_test_system(np)
File "/home/amine/Workspace/gem5/configs/example/fs.py", line 109, in
build_test_system
security=options.enable_security_extensions)
File "/home/amine/Workspace/gem5/configs/common/FSConfig.py", line 310,
in makeArmSystem
self.kernel = binary(default_kernels[machine_type])
File "/home/amine/Workspace/gem5/configs/common/SysPaths.py", line 67, in
__call__
raise IOError, "Can't find file '%s' on path." % filename
IOError: Can't find file 'vmlinux.aarch32.ll_20131205.0-gem5' on path.
***@ubuntu:~/Workspace/full-systems/aarch-system-20180409$
--
marref.org
marref.org