我需要为Gem5架构运行FS模式的X86。按照所有现有指示:
M5_PATH="/home/vikas/full_system_images/" >> ./.bashrc./build/X86/gem5.opt configs/example/fs.py --disk-image=/home/mysys/full-system-images/disks/linux-x86.img我知道错误:
warn: CheckedInt already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
warn: Enum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
warn: ScopedEnum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 version 20.0.0.2
gem5 compiled Jun 22 2020 16:34:19
gem5 started Jun 23 2020 16:08:24
gem5 executing on pc80-99-linux, pid 3941
command line: ./build/X86/gem5.opt configs/example/fs.py --disk-image=/home/mysys/full-system-images/disks/linux-x86.img
Global frequency set at 1000000000000 ticks per second
warn: No dot file generated. Please install pydot to generate the dot file and pdf.
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes)
info: No kernel set for full system simulation. Assuming you know what you're doing.
system.pc.com_1.device: Listening for connections on port 3456
0: system.pc.south_bridge.cmos.rtc: Real-time clock set to Sun Jan 1 00:00:00 2012
0: system.remote_gdb: listening for remote gdb on port 7000
warn: Reading current count from inactive timer.
***fatal: fatal condition !kernelObj occurred: No kernel to load.***
Memory Usage: 674344 KBytes我真的需要帮助才能找到解决这个问题的办法。
发布于 2020-06-23 16:42:39
不再需要M5_PATH了,如:Gem 5 IOError:找不到系统文件的路径。全系统X86仿真装置只是使用--kernel显式地指向内核映像,这样就不太可能出错了。
如果它仍然不能工作,尝试调试一个但更远,或与这种完全自动化的设置只起作用不同。
邮件列表线程:https://www.mail-archive.com/gem5-users@gem5.org/msg17940.html
https://stackoverflow.com/questions/62537059
复制相似问题