Discussion:
[gem5-users] Full System Simulation complains about a missing "vmlinux.aarch32.ll_20131205.0-gem5"
Amine Marref
2018-10-17 09:21:41 UTC
Permalink
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$
--
marref.org
Vitorio Cargnini (lcargnini)
2018-10-17 17:21:53 UTC
Permalink
Amine,

Two possible things:

One: set M5_PATH environment variable
Two: modify configs/common/SysPath.py and edit the path and remove /m5 and add your own path

Try one of them or both fixes.


Regards,
Luis Vitorio.


From: gem5-users [mailto:gem5-users-***@gem5.org] On Behalf Of Amine Marref
Sent: Wednesday, October 17, 2018 2:22 AM
To: m5-***@m5sim.org
Subject: [EXT] [gem5-users] Full System Simulation complains about a missing "vmlinux.aarch32.ll_20131205.0-gem5"

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 "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 "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$


--
http://marref.org
Mitali Sinha
2018-10-18 04:21:26 UTC
Permalink
You should check in the configs/common/FSConfig.py. The kernel and dtb
names are mentioned there. The default names are set according to the 2014
image files. Since you are using the 2018 image, so gem5 is not able to
load your kernels and images.
You can do this:
1. Modify the names in FSConfig.py according to your downloaded images and
kernels.
2. Download the default one.

As you also mentioned that you have tried out the 2014 files, you should
again go check if all the files mentioned in FSConfig.py are matching
(kernel binaries and dtbs).

Regards,
Mitali Sinha,
Ph.D. Scholar, Advanced Multicore Systems Lab,
Department of Computer Science and Engineering,
Indraprastha Institute of Information Technology Delhi, India


On Wed, Oct 17, 2018 at 10:52 PM Vitorio Cargnini (lcargnini) <
Post by Vitorio Cargnini (lcargnini)
Amine,
One: set M5_PATH environment variable
Two: modify configs/common/SysPath.py and edit the path and remove /m5 and
add your own path
Try one of them or both fixes.
Regards,
Luis Vitorio.
Sent: Wednesday, October 17, 2018 2:22 AM
Subject: [EXT] [gem5-users] Full System Simulation complains about a
missing "vmlinux.aarch32.ll_20131205.0-gem5"
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 "
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 "
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.
/home/amine/Workspace/full-systems/aarch-system-20180409/
[2] The content of the archive that contains the system images.
binaries disks m5out revisions
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
aarch32-ubuntu-natty-headless.img linaro-minimal-aarch64.img
aarch64-ubuntu-trusty-headless.img linux-aarch32-ael.img
stats.txt
gem5 linux linux-arm64-legacy linux-arm-legacy
[4] Running FS simulation fails.
~/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
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.
~/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
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.
--
http://marref.org
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Amine Marref
2018-11-20 11:02:12 UTC
Permalink
Thanks everyone,

Specifying the correct combination of disk, machine, kernel, and dtb
combination worked for me to start FS simulation mode. Hopefully, somebody
at some point writes a little wiki on the allowed combinations of these
files.

In summary, first, the M5_PATH must be set:
echo "export M5_PATH=/path/to/aarch-system-20180409/" >> ~/.bashrc
source ~/.bashrc

Second, the following are passed to the simulation script.
--disk-image=aarch64-ubuntu-trusty-headless.img
--machine-type=VExpress_GEM5_V1 --dtb=armv8_gem5_v1_1cpu.dtb
--kernel=vmlinux.vexpress_gem5_v1_64

There was no need to edit the default values in FSConfig.py.

Amine.
Post by Mitali Sinha
You should check in the configs/common/FSConfig.py. The kernel and dtb
names are mentioned there. The default names are set according to the 2014
image files. Since you are using the 2018 image, so gem5 is not able to
load your kernels and images.
1. Modify the names in FSConfig.py according to your downloaded images and
kernels.
2. Download the default one.
As you also mentioned that you have tried out the 2014 files, you should
again go check if all the files mentioned in FSConfig.py are matching
(kernel binaries and dtbs).
Regards,
Mitali Sinha,
Ph.D. Scholar, Advanced Multicore Systems Lab,
Department of Computer Science and Engineering,
Indraprastha Institute of Information Technology Delhi, India
On Wed, Oct 17, 2018 at 10:52 PM Vitorio Cargnini (lcargnini) <
Post by Vitorio Cargnini (lcargnini)
Amine,
One: set M5_PATH environment variable
Two: modify configs/common/SysPath.py and edit the path and remove /m5
and add your own path
Try one of them or both fixes.
Regards,
Luis Vitorio.
Sent: Wednesday, October 17, 2018 2:22 AM
Subject: [EXT] [gem5-users] Full System Simulation complains about a
missing "vmlinux.aarch32.ll_20131205.0-gem5"
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 "
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 "
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.
/home/amine/Workspace/full-systems/aarch-system-20180409/
[2] The content of the archive that contains the system images.
binaries disks m5out revisions
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
aarch32-ubuntu-natty-headless.img linaro-minimal-aarch64.img
aarch64-ubuntu-trusty-headless.img linux-aarch32-ael.img
stats.txt
gem5 linux linux-arm64-legacy linux-arm-legacy
[4] Running FS simulation fails.
~/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
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.
~/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
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.
--
http://marref.org
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Loading...